This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: gcc/binutils or glibc ? RELOC problem while build glibc for alpha. [more]
On Thursday 26 February 2004 21:56, Jakub Jelinek wrote:
> On Thu, Feb 26, 2004 at 10:36:56AM -0800, Richard Henderson wrote:
> > On Thu, Feb 26, 2004 at 08:04:22PM +0200, Balint Cristian wrote:
> > > # rpm -qa | grep glibc
> > > glibc-2.3.2-101
> >
> > ...
> >
> > > : relocation truncated to fit: GPREL16 _dl_skip_args
I used: binutils-2.14.90.0.8-8.alpha.rpm, so i fall back to older one:
# ld -v
GNU ld version 2.14.90.0.6 20030820
RELOC error gone, now is compiling fine !
Try to figure out a more apropiate binutils version, but where to report
this bug ? Eventualy can tell few advise how to track down and find what changes to binutils
has due to this ?
> > >
> > > collect2: ld returned 1 exit status
> > > make[2]: *** [/usr/src/redhat/BUILD/glibc-2.3.3-200402201559/...
> >
> > What version of glibc are you building, exactly? I did a
> > successful build of glibc cvs from Feb 20 myself...
>
> That's weird, because Uli made _dl_skip_args attribute_relro
> on Feb, 14th, and there were clearly no further changes in alpha
> dl-machine.h.
>
> /* Nonzero if we were run directly. */
> unsigned int _dl_skip_args attribute_relro attribute_hidden;
>
> /* See if we were run as a command with the executable \n\
> file name as an extra leading argument. */ \n\
> ldl $1, _dl_skip_args($gp) !gprel \n\
>
> Jakub