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: cross-glibc doesn't build with gcc-4.5


Dnia 13-05-2010 o 13:42:50 PaweÅ Sikora <pluto@agmk.net> napisaÅ(a):

hi,

currently i'm trying to update my cross toolchain from gcc-4.4/glibc-2.11.1 to gcc-4.5/glibc-2.12
but the recent sources don't build :(


(...)
x86_64-gnu-linux-gcc -Wl,--hash-style=both -nostdlib -nostartfiles -r -o /home/pawels/toolchain/trunk/glibc-2.12/BUILDDIR/elf/librtld.map.o '-Wl,-(' /home/pawels/toolchain/trunk/glibc-2.12/BUILDDIR/elf/dl-allobjs.os /home/pawels/toolchain/trunk/glibc-2.12/BUILDDIR/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/home/pawels/toolchain/trunk/glibc-2.12/BUILDDIR/elf/librtld.mapT
/home/pawels/toolchain/trunk/glibc-2.12/BUILDDIR/libc_pic.a(dl-addr.os): In function `_dl_addr_inside_object':
dl-addr.c:(.text+0x0): multiple definition of `_dl_addr_inside_object'
/home/pawels/toolchain/trunk/glibc-2.12/BUILDDIR/elf/dl-allobjs.os:(.text+0x110d0): first defined here
/home/pawels/toolchain/trunk/glibc-2.12/BUILDDIR/libc_pic.a(init-first.os):(.data+0x0): multiple definition of `__libc_multiple_libcs'
/home/pawels/toolchain/trunk/glibc-2.12/BUILDDIR/elf/dl-allobjs.os:(.bss+0xfc): first defined here
collect2: ld returned 1 exit status
make[2]: *** [/home/pawels/toolchain/trunk/glibc-2.12/BUILDDIR/elf/librtld.map] Error 1

oops, my fault. i configured and built gcc with --disable-tls and glibc --with-tls.


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