[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26551] A definition referenced by an unneeded (--as-needed) shar
From: |
i at maskray dot me |
Subject: |
[Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported |
Date: |
Wed, 02 Sep 2020 17:18:19 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26551
--- Comment #10 from Fangrui Song <i at maskray dot me> ---
(In reply to Michael Matz from comment #9)
I filed the bug not to find an alternative solution. I am wary of the semantics
of --export-dynamic, --dynamic-list (and contributed the recent
--export-dynamic-symbol --export-dynamic-symbol{,-list} BTW).
First, this is already a problem with --allow-shlib-undefined. Now the question
is whether it is also a problem of --no-allow-shlib-undefined. My reasoning is
that placing a shared object on the linker command line is an explicit
intention that its referenced symbols should be exported, even if the shared
object itself is unneeded (in terms of --as-needed).
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported, i at maskray dot me, 2020/09/01
- [Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported, i at maskray dot me, 2020/09/01
- [Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported, hjl.tools at gmail dot com, 2020/09/01
- [Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported, i at maskray dot me, 2020/09/02
- [Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported, hjl.tools at gmail dot com, 2020/09/02
- [Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported, matz at suse dot de, 2020/09/02
- [Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported,
i at maskray dot me <=
- [Bug ld/26551] A definition referenced by an unneeded (--as-needed) shared object should be exported, hjl.tools at gmail dot com, 2020/09/02