Binutils is broken by the linker change
H. J. Lu
hjl@lucon.org
Thu Mar 18 20:43:00 GMT 2004
On Thu, Mar 18, 2004 at 11:47:24AM -0800, H. J. Lu wrote:
> The linker change caused massive failures in "make check" in gcc. I
> will try to come up with a small testcase.
>
>
> H.J.
Here is the testcase:
[hjl@gnu-psc multidef]$ make
gcc -B./ -o main main.c libbar.so libfoo.so
libfoo.so(.text+0xcc): In function `foo':
: multiple definition of `foo'
collect2: ld returned 1 exit status
make: *** [main] Error 1
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.tar.gz
Type: application/x-gzip
Size: 452 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20040318/4cc60d0f/attachment.bin>
More information about the Binutils
mailing list