This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: cross-glibc doesn't build with gcc-4.5
- From: PaweÅ Sikora <pluto at agmk dot net>
- To: libc-help at sourceware dot org
- Date: Thu, 13 May 2010 17:05:01 +0200
- Subject: Re: cross-glibc doesn't build with gcc-4.5
- References: <op.vcm6toe1zu3k57@pawels.alatek.krakow.pl>
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.