This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Aliases ...
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Glibc hackers <libc-hacker at sources dot redhat dot com>,Richard Henderson <rth at redhat dot com>, binutils at sources dot redhat dot com
- Date: Mon, 10 Jan 2005 09:27:05 -0800
- Subject: Re: Aliases ...
- References: <m3d5wee2s6.fsf@gromit.moeb> <20050110171407.GA1943@lucon.org>
On Mon, Jan 10, 2005 at 09:14:07AM -0800, H. J. Lu wrote:
> 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
I checked in my gas patch. The new assembler won't allow it anymore.
H.J.