[arch-general] [arch-dev-public] [toolchain] gcc 4.5 breakage

Thomas Bächler thomas at archlinux.org
Thu May 6 16:54:57 CEST 2010


Am 06.05.2010 15:25, schrieb Rogutės Sparnuotos:
> I wasted a lot of time yesterday:
> 
> 1. Compiled the kernel from git (for radeon stuff), rebooted.
> 2. 'ninit' segfaulted, 'ls' from busybox segfaulted.
> 3. Read your mail about busybox breakage, upgraded busybox with
>    -fno-tree-pta, but... the same segfaults with kernels compiled by
>    gcc-4.5.

The busybox in the repositories is still built with gcc 4.4 - otherwise
nobody would be able to boot. I'll be building a new version soon
though, which is why I discovered this problem in the first place.

> 4. Played with the kernel config for hours until finding out that
>    CONFIG_CC_OPTIMIZE_FOR_SIZE=y causes the segfaults (and only on
>    x86_64).
> 
> I wonder whether this is something more specific to my setup, or nobody
> is compiling kernels with CONFIG_CC_OPTIMIZE_FOR_SIZE=y on x86_64 with
> gcc-4.5 (building with gcc-4.4 works)...

At least in Arch, we don't use that option for our kernels. It is pretty
bad that this breaks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20100506/a67be525/attachment.bin>


More information about the arch-general mailing list