bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/21074] [2.28 Regression] bfd ld stumbles over duplicated symbo


From: ccoutant at gmail dot com
Subject: [Bug gold/21074] [2.28 Regression] bfd ld stumbles over duplicated symbols generated by gold
Date: Tue, 24 Jan 2017 20:43:24 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21074

--- Comment #9 from Cary Coutant <ccoutant at gmail dot com> ---
> When the gold linker is used, it sometimes generates duplicated symbols.
> It's not something new, and can be seen for example in
> qtbase-opensource-src 5.7.1+dfsg-2:
> 
>   1081: 00000000004caf88     0 NOTYPE  GLOBAL DEFAULT ABS address@hidden
>   1082: 00000000004caf88     0 NOTYPE  GLOBAL DEFAULT ABS address@hidden

OK, I found these two symbols in libQt5Core.so.5.7.1 (sorry, I don't know what
"qtbase-opensource-src 5.7.1+dfsg-2" refers to), but the test case only
provides this file; it doesn't provide a repro for building it.


>   /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple
> definition of `__bss_start'
>   /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple
> definition of `_edata'
>   /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple
> definition of `_end'

There's only one definition of each of these symbols in libQt5Gui.so.5.7.1, so
I don't know why ld is complaining about duplicate symbols. These are shared
libraries, and it shouldn't complain about duplicates across shared libraries.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]