[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functio
From: |
address@hidden |
Subject: |
[Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions |
Date: |
Thu, 20 Aug 2020 06:07:14 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26407
--- Comment #2 from Fabian Vogt <fabian@ritter-vogt.de> ---
(In reply to H.J. Lu from comment #1)
> Please make it a run-time test.
Sorry, I don't understand what you mean by that. The break executable only
returns 42 with the working lib.so, it doesn't have to be recompiled.
FTR, this issue does not happen with gold:
# gcc -fuse-ld=gold -fPIC -shared -Wl,--dynamic-list,lib.dynlist -o lib.so
lib.i && readelf --dyn-syms -r lib.so | grep value
000000001fe0 000800000006 R_X86_64_GLOB_DAT 0000000000002014 value + 0
8: 0000000000002014 4 OBJECT GLOBAL DEFAULT 24 value
# LD_LIBRARY_PATH=$PWD ./break; echo $?
42
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26407] New: Global symbol reference breaks without -Bsymbolic-functions, address@hidden, 2020/08/19
- [Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions, hjl.tools at gmail dot com, 2020/08/19
- [Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions,
address@hidden <=
- [Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions, mliska at suse dot cz, 2020/08/20
- [Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions, hjl.tools at gmail dot com, 2020/08/20
- [Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions, hjl.tools at gmail dot com, 2020/08/20
- [Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions, address@hidden, 2020/08/20
- [Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions, hjl.tools at gmail dot com, 2020/08/20
- [Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions, matz at suse dot de, 2020/08/24
- [Bug ld/26407] Global symbol reference breaks without -Bsymbolic-functions, hjl.tools at gmail dot com, 2020/08/24