alias of hidden function

Dave Korn
Mon May 10 16:00:00 GMT 2010

On 10/05/2010 17:16, Dave Korn wrote:
> On 10/05/2010 16:19, Jack Howarth wrote:
>> Compiler executable checksum: c54eb6db87684e4d5a5bb9ad02c2b2c4
>> 20081222_1.c:16: error: 'EXT_x' aliased to undefined symbol 'INT_x'

>   The error comes from finish_aliases_1 in varasm.c, where it is suppressed in
> the case of a weakref.  I don't know why.

  Well, I can infer that it would be because it's legitimate not to define a
weak symbol.  I guess the problem might be that find_decl_and_mark_needed when
called on EXT_x gets confused by the combination of an asm decl as well as an
alias maybe?


More information about the Gcc mailing list