This is the mail archive of the libc-help@sourceware.org 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: build error


On 09/20/2010 12:17 AM, Denis Onischenko wrote:
I have following error while building glibc (git commit
c044aa75354b48d4b7aaffe465706282192e54c2):

...
: /x/glibc/build/obj/libc_nonshared.a
gcc   -nostdlib -nostartfiles -r -o /x/glibc/build/obj/libc_pic.os \
  -Wl,-d -Wl,--whole-archive /x/glibc/build/obj/libc_pic.a
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../x86_64-unknown-linux-gnu/bin/ld:
__libc_errno: TLS definition in
/x/glibc/build/obj/libc_pic.a(errno.os) section .tbss mismatches
non-TLS reference in /x/glibc/build/obj/libc_pic.a(fork.os)
/x/glibc/build/obj/libc_pic.a(fork.os): could not read symbols: Bad value
collect2: ld returned 1 exit status
Makerules:613: recipe for target `/x/glibc/build/obj/libc_pic.os' failed
make[2]: *** [/x/glibc/build/obj/libc_pic.os] Error 1
make[2]: Leaving directory `/x/glibc/build/src'
Makefile:12: recipe for target `all' failed
make[1]: *** [all] Error 2

Can anybody help to understand what the problem ?
full build log is attached.

Thanks in advance.


not sure but:
glibc/build/obj/libc_pic.a(fork.os): could not read symbols: Bad value

tells me something with gcc is missing... (but hopefully somebody with more knowledge answers this post..)

Justin P. Mattock


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