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]

PATCH: Fix linuxthreads build for ia64 and x86_64


With --enable-add-ons=linuxthreads --with-tls --without-__thread on
ia64, I got

/usr/local/bin/ld:
/export/build/gnu/glibc-3.4/build-ia64-linux/linuxthreads/libc_pic_lite.os:
@gprel relocation against dynamic symbol __res_initstamp
/usr/local/bin/ld: final link failed: Nonrepresentable section on
output
collect2: ld returned 1 exit status
make[4]: ***
[/export/build/gnu/glibc-3.4/build-ia64-linux/linuxthreads/libc.so]

and with --enable-add-ons=linuxthreads on x86_64, I got

/usr/local/bin/ld:
/export/build/gnu/glibc-3.4/build-x86_64-linux/linuxthreads/libc_pic_lite.os:
relocation R_X86_64_PC32 against `__GI___res_maybe_init' can not be
used when making a shared object; recompile with -fPIC
/usr/local/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: ***
[/export/build/gnu/glibc-3.4/build-x86_64-linux/linuxthreads/libc.so]
Error 1

This patch fixes them.


H.J.

Attachment: libc-res_init-2.patch
Description: Text document


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