Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/csu/i386_elf



On May 17, 12:58pm, thorpej%shagadelic.org@localhost (Jason Thorpe) wrote:
-- Subject: Re: CVS commit: src/lib/csu/i386_elf

| 
| On May 17, 2006, at 9:53 AM, Christos Zoulas wrote:
| 
| > Matt says that it appears that gcc-4 does not believe that &var can  
| > be NULL...
| 
| Eek.  We use that construct in more than one place, IIRC.  Actually,  
| I think GCC's own crtstuff uses it (or, at least, did use it at one  
| time).
| 
| Seems like a major problem with the new compiler.

You need to __attribute__((__weakref__)) all such symbols, and then it
works again :-)

christos



Home | Main Index | Thread Index | Old Index