Subject: Re: CVS commit: src/lib/csu/i386_elf
To: Jason Thorpe <thorpej@shagadelic.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 05/17/2006 16:12:25
On May 17, 12:58pm, thorpej@shagadelic.org (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