again GPREL16 problem on alpha - this time in resolv
Andrija Pantovic
andrija.pantovic@ubs.com
Wed Aug 11 15:44:00 GMT 2004
Hello,
I am trying to build the latest glibc cvs on my alpha running Fedora Core 2
and I get the following error:
make[2]: Entering directory
`/usr/src/redhat/BUILD/glibc-2.3.3-200408100002/linuxthreads'
ar:
creating /usr/src/redhat/BUILD/glibc-2.3.3-200408100002/build-alpha-linux/linuxthreads/libpthread_nonshared.a
/usr/bin/ld: /usr/src/redhat/BUILD/glibc-2.3.3-200408100002/build-alpha-linux/linuxthreads/libc_pic_lite.os:
gp-relative relocation against dynamic symbol __res_initstamp
/usr/src/redhat/BUILD/glibc-2.3.3-200408100002/build-alpha-linux/linuxthreads/libc_pic_lite.os(.text+0xdbd70):/usr/src/redhat/BUILD/glibc-2.3.3-200408100002/resolv/res_init.c:166:
relocation truncated to fit: GPREL16 __res_initstamp
collect2: ld returned 1 exit status
make[2]: ***
[/usr/src/redhat/BUILD/glibc-2.3.3-200408100002/build-alpha-linux/linuxthreads/libc.so]
Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/glibc-2.3.3-200408100002/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.3-200408100002'
make: *** [all] Error 2
The problem seems to be related to the latest patch applied on resolv
introducing quite few new things. I already needed to apply patch (attached)
for excluding usage of atomic_increment on alpha (could be it need to be
excluded on some other 64 bit platforms as well - as far as I can see
atomic_increment seems to be implemented on x86_64 only)
Attached output of readelf -Wa elf/ld.so.
GNU ld version 2.15.90.0.3 20040415
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
Any idea ?
--
-----
Andrija Pantovic
System Analyst
Perot Systems Corporation
Compute and Processing Services
UBS
Europastrasse 2, Zurich
Phone: +41 1 23 96372
Fax: +41 1 23 96313
Mobile: +41 76 4504134
Email: andrija.pantovic@ubs.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld.so.readelf.bz2
Type: application/x-bzip2
Size: 11254 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040811/1f242fd5/attachment.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-resolv-alpha.patch
Type: text/x-diff
Size: 510 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040811/1f242fd5/attachment.bin>
-------------- next part --------------
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
More information about the Libc-alpha
mailing list