cross-glibc doesn't build with gcc-4.5
Paweł Sikora
pluto@agmk.net
Thu May 13 15:05:00 GMT 2010
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.
More information about the Libc-help
mailing list