[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/24815] ld fails to find symbols from DT_NEEDED entries
From: |
ismael at linux dot com |
Subject: |
[Bug ld/24815] ld fails to find symbols from DT_NEEDED entries |
Date: |
Mon, 29 Jul 2019 11:26:44 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24815
--- Comment #2 from Ismael Luceno <ismael at linux dot com> ---
(In reply to Nick Clifton from comment #1)
> Hi Ismael,
>
> Have you tried linking with the "--allow-shlib-undefined" linker command
> line option enabled ?
>
> By default the ld linker insists that undefined symbols in shared libraries
> must be resolved by other libraries/objects present on the linker command
> line. (The gold linker does not default to this behaviour by the way).
> The reason being that it forces builders to put all of the shared libraries
> that their application needs on the command line. Thus making it clear
> to anyone examining the command line, or the build system, exactly which
> shared libraries are needed by the application.
Hi Nick,
That seems to work fine. Now, the thing is that I don't see GCC calling ld with
that argument on the glibc-based system... yet it links the file correctly...
One fundamental difference though, is that the glibc system is using the lto
plugin.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/24815] New: ld fails to find symbols from DT_NEEDED entries, ismael at linux dot com, 2019/07/17
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, nickc at redhat dot com, 2019/07/25
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries,
ismael at linux dot com <=
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, ismael at linux dot com, 2019/07/29
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, amodra at gmail dot com, 2019/07/29
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, ismael at linux dot com, 2019/07/29
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, nsz at gcc dot gnu.org, 2019/07/29
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, maskray at google dot com, 2019/07/29
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, ismael at linux dot com, 2019/07/30
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, ismael at linux dot com, 2019/07/30
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, nsz at gcc dot gnu.org, 2019/07/30
- [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries, ismael at linux dot com, 2019/07/30