# 02:24:32 |
blueness |
quits : Ping timeout: 250 seconds |
# 02:38:39 |
blueness |
joins #crosstool-ng |
# 03:11:46 |
kkaefer |
quits : *.net *.split |
# 03:21:14 |
kkaefer |
joins #crosstool-ng |
# 03:26:00 |
ovf |
quits : Ping timeout: 260 seconds |
# 03:29:54 |
ovf |
joins #crosstool-ng |
# 03:44:14 |
blueness |
quits : Ping timeout: 255 seconds |
# 07:03:53 |
blueness |
joins #crosstool-ng |
# 07:33:37 |
bhundven |
well, that took a while to debug and solve. So I noticed stack protector bleed from my build system to my cross-compiler for the first time. |
# 07:34:12 |
bhundven |
Now it's how to resolve it with 2-pass. |
# 07:35:36 |
bhundven |
there are now 3 possible (core, host, build) compiler passes now, instead of 4 (core1, core2, host, build). |
# 07:35:48 |
bhundven |
for a normal cross-compiler, only core and build are used. |
# 07:39:12 |
bhundven |
in the previous situation, we created a core1 [the minimal gcc needed to compile an empty libc.so and sometimes libm.so, with no libgcc], make headers , crt, and lib{c,m}.so, core2, libc, and then build. core1 would not have stack smash protection (even if it was enabled in the config), but core 2 could if it is enabled, which would also trigger libc to be built with it (if possible, for instance musl-libc and newlib don't support it |
# 07:39:13 |
bhundven |
yet), and final gcc with ssp. |
# 07:40:16 |
bhundven |
now we create core (with libgcc, but still minimal for building libc), headers and libc, then final gcc. |
# 07:40:54 |
bhundven |
I guess I will have to test with enabling or disabling ssp in core |
# 07:42:16 |
bhundven |
as well as appending -fno-stack-protector to C{XX,}FLAGS if ssp is disabled to stop debian/ubuntu/gentoo distributions supplied compilers from building core gcc with ssp even though it is disabled. |
# 07:43:14 |
bhundven |
more reason to merge do_gcc_core_backend and do_gcc_backend. |
# 07:43:44 |
bhundven |
I'll sleep on it. ttyl. |
# 08:00:16 |
blueness |
quits : Changing host |
# 08:00:16 |
blueness |
joins #crosstool-ng |
# 09:34:23 |
diorcety |
joins #crosstool-ng |
# 10:19:12 |
y_morin |
joins #crosstool-ng |
# 13:02:09 |
mingwandroid |
joins #crosstool-ng |
# 13:21:47 |
mingwandroid |
quits : Ping timeout: 264 seconds |
# 13:32:56 |
mingwandroid |
joins #crosstool-ng |
# 14:22:05 |
diorcety |
quits : Quit: Leaving. |
# 14:45:01 |
bhundven |
quits : Quit: Leaving |
# 16:03:21 |
diorcety |
joins #crosstool-ng |
# 19:23:58 |
blueness |
quits : Quit: Leaving |
# 19:57:58 |
blino |
quits : Ping timeout: 250 seconds |
# 20:04:54 |
blino |
joins #crosstool-ng |
# 20:46:26 |
blueness |
joins #crosstool-ng |
# 21:42:26 |
mingwandroid |
quits : Ping timeout: 255 seconds |
# 22:52:50 |
diorcety |
quits : Quit: Leaving. |
# 23:26:12 |
blueness |
quits : Quit: Leaving |
# 23:44:13 |
y_morin |
quits : Quit: Nighty Night |