Aliases ...
H. J. Lu
hjl@lucon.org
Mon Jan 10 17:14:00 GMT 2005
On Sun, Jan 09, 2005 at 10:00:25PM +0100, Andreas Jaeger wrote:
>
> From: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19346
>
>
> Description: [reply]
> Last confirmed: 2005-01-09 15:50
> Opened: 2005-01-09 10:11
>
> With current GCC CVS I get lots of warnings when compiling glibc
> about aliases to undefined symbols:
>
> aj@gromit:~/tmp> /opt/gcc/4.0-devel/bin/gcc -O2 -c test.i
> test.i:2: warning: ?__libc_errno? aliased to undefined symbol ?errno?
> aj@gromit:~/tmp> nm test.o
> 0000000000000004 C errno
>
See
http://sources.redhat.com/ml/libc-alpha/2004-01/msg00232.html
Should I apply
http://sources.redhat.com/ml/binutils/2004-02/msg00066.html
I got
[hjl@gnu-10 tmp]$ /usr/gcc-4.0/bin/gcc -O2 x.c
x.c:2: warning: \uffff\uffff\uffff__libc_errno\uffff\uffff\uffff
aliased to undefined symbol \uffff\uffff\ufffferrno\uffff\uffff\uffff
/tmp/cczKnuV0.s: Assembler messages:
/tmp/cczKnuV0.s:6: Error: `__libc_errno' can't be equated to common
symbol
H.J.
More information about the Binutils
mailing list