H all, I am using gcc4.4.1. When iam compiling test program if i don't use "-fno-optimize-sibling-calls" it won't generate T.<num> symbols ,but in case of Kernel build even though i won't use "-fno-optimize-sibling-calls" it is generating T.<num>. Is there any way to prevent gcc(gcc4.4.1) from generating T.<num> in case kernel build ? On Wed, Mar 24, 2010 at 1:07 PM, James Kehl <jamesk@xxxxxxxxxxx> wrote: >> -----Original Message----- >> From: 42Bastian [mailto:list-bastian.schick@xxxxxxxxxxx] >> Sent: Wednesday, 24 March 2010 5:30 PM >> To: trisha yad >> Cc: arm-gnu@xxxxxxxxxxxxxxxx >> Subject: Re: [arm-gnu] bug in >> >> Am 24.03.2010 08:07, schrieb trisha yad: >> >> > Actually iam compiling kernel code for arm processor, so i need to > use >> > -O2 flag, so can't use -O0 flag, >> >> Why ? >> > > Off the top of my head, the Linux kernel relies heavily on inlining of > functions from header files. > > I think there are quite a few functions that are never given as > out-of-line versions. If you compile with -O0, the link fails due to > these 'missing' functions. > > Of course, I could be wrong - it's been a while since I tried compiling > a kernel with -O0 :) > > J > >