This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: current glibc build problems on alpha


On Monday 07 June 2004 16:28, Jakub Bogusz wrote:

Hi Jakub !

Same error here reported in Feb, and no change in CVS for this:
http://sources.redhat.com/ml/libc-alpha/2004-02/msg00187.html
	
	There are some advice on the thread, but i was unable to fix it,
anyway i thanks for the patch and personaly I will test, and report the succes 
on it.

PS:
	Just curios for myself can tell me please exact version of gcc/binutils ?
It is interesting as curiosity that older 2.14 pass the problem,
so it was unclear if glibc or binutils was stupid.


cristian

> On Sat, Jun 05, 2004 at 12:19:11PM +0200, Jakub Bogusz wrote:
> [...]
> > But then build failed on:
> > 
> > make[3]: Leaving directory `/home/users/qboosh/PLD/BUILD/libc/elf'
> > alpha-pld-linux-gcc    -nostdlib -nostartfiles -r -o /home/users/qboosh/PLD/BUILD/libc/builddir/elf/librtld.os '-Wl,-(' /home/users/qboosh/PLD/BUILD/libc/builddir/elf/dl-allobjs.os /home/users/qboosh/PLD/BUILD/libc/builddir/elf/rtld-libc.a -lgcc '-Wl,-)' \
> >           -Wl,-Map,/home/users/qboosh/PLD/BUILD/libc/builddir/elf/librtld.os.map
> > alpha-pld-linux-gcc    -nostdlib -nostartfiles -shared  \
> >   -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs -Wl,--verbose 2>&1 |        \
> >           LC_ALL=C \
> >           sed -e '/^=========/,/^=========/!d;/^=========/d'    \
> >               -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
> >           > /home/users/qboosh/PLD/BUILD/libc/builddir/elf/ld.so.lds
> > alpha-pld-linux-gcc    -nostdlib -nostartfiles -shared -o /home/users/qboosh/PLD/BUILD/libc/builddir/elf/ld.so                  \
> >           -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs     \
> >           /home/users/qboosh/PLD/BUILD/libc/builddir/elf/librtld.os -Wl,--version-script=/home/users/qboosh/PLD/BUILD/libc/builddir/ld.map              \
> >           -Wl,-soname=ld-linux.so.2 -T /home/users/qboosh/PLD/BUILD/libc/builddir/elf/ld.so.lds
> > /home/users/qboosh/PLD/BUILD/libc/builddir/elf/librtld.os(.text+0x18): In function `_dl_start_user':: relocation truncated to fit: GPREL16 _dl_skip_args
> > collect2: ld returned 1 exit status
> > make[2]: *** [/home/users/qboosh/PLD/BUILD/libc/builddir/elf/ld.so] Error 1
> > make[2]: Leaving directory `/home/users/qboosh/PLD/BUILD/libc/elf'
> > make[1]: *** [elf/subdir_lib] Error 2
> > make[1]: Leaving directory `/home/users/qboosh/PLD/BUILD/libc'
> > make: *** [all] BÅÄd 2
> > 
> > How to fix this one?
> 
> Well, attached patch seems to fix this. Is this the correct solution?
> 
> (it seems that moving _dl_skip_args to relro section caused that it
> requires relocation larger than 16-bit)
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]