This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
The same symbol pulled in from libc_pic.a and dl-allobjs.os?
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: libc-help at sourceware dot org
- Date: Tue, 28 Jun 2011 15:00:30 -0400
- Subject: The same symbol pulled in from libc_pic.a and dl-allobjs.os?
Team,
One of my automated builders recently failed to build glibc git trunk
for hppa-linux with the following failure:
~~~
gcc -nostdlib -nostartfiles -r -o
/home/carlos/fsrc/glibc-work/builds/glibc/elf/librtld.map.o '-Wl,-('
/home/carlos/fsrc/glibc-work/builds/glibc/elf/dl-allobjs.os
/home/carlos/fsrc/glibc-work/builds/glibc/libc_pic.a -lgcc '-Wl,-)'
-Wl,-Map,/home/carlos/fsrc/glibc-work/builds/glibc/elf/librtld.mapT
/home/carlos/fsrc/glibc-work/builds/glibc/libc_pic.a(dl-addr.os): In
function `_dl_addr_inside_object':
/home/carlos/fsrc/glibc-work/src/glibc/elf/dl-addr.c:157: multiple
definition of `_dl_addr_inside_object'
/home/carlos/fsrc/glibc-work/builds/glibc/elf/dl-allobjs.os:/home/carlos/fsrc/glibc-work/src/glibc/elf/dl-open.c:672:
first defined here
/home/carlos/fsrc/glibc-work/builds/glibc/libc_pic.a(_itoa.os): In
function `_itoa':
/home/carlos/fsrc/glibc-work/src/glibc/stdio-common/_itoa.c:215:
multiple definition of `_itoa'
/home/carlos/fsrc/glibc-work/builds/glibc/elf/dl-allobjs.os:/home/carlos/fsrc/glibc-work/src/glibc/elf/dl-minimal.c:300:
first defined here
/home/carlos/fsrc/glibc-work/builds/glibc/libc_pic.a(init-first.os):(.data+0x0):
multiple definition of `__libc_multiple_libcs'
/home/carlos/fsrc/glibc-work/builds/glibc/elf/dl-allobjs.os:(.bss+0x7c):
first defined here
collect2: ld returned 1 exit status
~~~
Has anyone else seen this?
I'd hate to spend an evening debugging this to find out it was a known issue.
Cheers,
Carlos.