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.