Bug#106716: gcc-3.0.1 refuses to compile Linux kernel
Package: gcc-3.0
Version: 3.0.1-0pre010723
Hi,
gcc-3.0.1 contains some really unreasonable default for -flimit-inline -
probably something around 100, but I did not look at sources. Default is
documented to be 10000 - 100 times larger than current default is.
Is there some really good reason for this change? Alan Cox refused
to change code to not inline, and I agree with him - 100 is completely
stupid, backward incompatible limit. Even rebuilding kernel with
-flimit-inline=200 fixed problem for my particular kernel, but going
back to 10000 is definitely preferred variant.
This causes that kernel does not link due to missing non-inline instances
of 'extern inline...' calls - which are 'extern inline' just to catch this
not inlining.
I hope for quick reverting back.
Thanks,
Petr Vandrovec
vandrove@vc.cvut.cz
Reply to: