bug-binutils
[Top][All Lists]
Advanced

[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: nickc at redhat dot com
Subject: [Bug ld/24815] ld fails to find symbols from DT_NEEDED entries
Date: Thu, 25 Jul 2019 15:05:03 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
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.

Cheers
  Nick

-- 
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]