public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Fwd: Re: FW: gcc4.4.1 related doubt
@ 2010-03-26 23:32 David Daney
  2010-03-26 23:35 ` Brian Budge
  0 siblings, 1 reply; 10+ messages in thread
From: David Daney @ 2010-03-26 23:32 UTC (permalink / raw)
  To: gcc-help

Bah!  here is the non bouncing version (I hope).

-------- Original Message --------
Subject: Re: FW: gcc4.4.1 related doubt
Date: Fri, 26 Mar 2010 11:38:20 -0700
From: David Daney <ddaney@caviumnetworks.com>
To: Ian Lance Taylor <iant@google.com>
CC: trisha yad <trisha1march@gmail.com>, Jie Zhang 
<jie@codesourcery.com>,  gcc-help@gnu.org, arm-gnu@codesourcery.com

On 03/26/2010 10:27 AM, Ian Lance Taylor wrote:
> trisha yad<trisha1march@gmail.com>  writes:
>
>> arm-linux-gnueabi-gcc -fno-optimize-sibling-calls -O2 test.c
>> I can see Function name  Convert to
>> 0000842c t T.12
>
> You still haven't explained what is wrong with that symbol.  Why does
> it matter?

I thought I already said this, but here it is again:

Some broken Linux kernel build scripts flag the presence of these
symbols a something very bad.  If you try building a kernel containing
these scripts, you might be lead to think that the end of the world is near.

Obviously the way to fix the problem is to change GCC so it doesn't
trigger the emission of these messages in the defective kernels. :-)


David Daney

^ permalink raw reply	[flat|nested] 10+ messages in thread
* gcc4.4.1 related doubt
@ 2010-03-24 12:41 trisha yad
  2010-03-24 20:01 ` Ian Lance Taylor
  0 siblings, 1 reply; 10+ messages in thread
From: trisha yad @ 2010-03-24 12:41 UTC (permalink / raw)
  To: gcc-help, gcc-help

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@edmi.com.au> wrote:
>> -----Original Message-----
>> From: 42Bastian [mailto:list-bastian.schick@sciopta.com]
>> Sent: Wednesday, 24 March 2010 5:30 PM
>> To: trisha yad
>> Cc: arm-gnu@codesourcery.com
>> 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
>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-04-16 14:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 23:32 Fwd: Re: FW: gcc4.4.1 related doubt David Daney
2010-03-26 23:35 ` Brian Budge
2010-03-26 23:37   ` David Daney
  -- strict thread matches above, loose matches on Subject: below --
2010-03-24 12:41 trisha yad
2010-03-24 20:01 ` Ian Lance Taylor
     [not found]   ` <cbcdf5441003242247o42bf8854oc3ad02a77ea66589@mail.gmail.com>
     [not found]     ` <mcrzl1wtspc.fsf@dhcp-172-17-9-151.mtv.corp.google.com>
2010-03-25 18:55       ` trisha yad
2010-03-25 21:18         ` Ian Lance Taylor
2010-03-26 14:01           ` Jie Zhang
     [not found]             ` <cbcdf5441003260359h70af952p62e532e98bab1cf0@mail.gmail.com>
     [not found]               ` <cbcdf5441003260451x184cef62q73d7be3bcaaa6136@mail.gmail.com>
2010-03-26 20:05                 ` FW: " Ian Lance Taylor
     [not found]                   ` <4BACFF1C.8010703@caviumnetworks.com>
2010-03-27 11:01                     ` trisha yad
2010-03-27  9:15                       ` Jie Zhang
2010-03-27 17:31                         ` trisha yad
2010-03-27 19:22                           ` Jie Zhang
     [not found]                       ` <4BB0E5D0.8050803@caviumnetworks.com>
2010-04-16 13:53                         ` trisha yad
2010-04-16 20:40                           ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).