[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #9687] bugfix: make -export-dynamic imply --whole-archive
From: |
David Lamparter |
Subject: |
[patch #9687] bugfix: make -export-dynamic imply --whole-archive |
Date: |
Tue, 4 Sep 2018 07:56:36 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.104 Safari/537.36 |
URL:
<http://savannah.gnu.org/patch/?9687>
Summary: bugfix: make -export-dynamic imply --whole-archive
Project: GNU Libtool
Submitted by: equinox
Submitted on: Tue 04 Sep 2018 01:56:34 PM CEST
Category: None
Priority: 6
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
libtool: -export-dynamic implies --whole-archive
The usage of -export-dynamic implies that the program is going to load DSOs
that need some of the program's symbols. However, the linker will still drop
anything that it doesn't see a reference to when linking archives. This then
breaks when the DSO tries to use something from an archive that the linker
didn't bother to include.
* build-aux/ltmain.in: if -export-dynamic is given, put
-Wl,--whole-archive around any archives we link in.
This changeset is placed in the public domain.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 04 Sep 2018 01:56:34 PM CEST Name:
0001-libtool-export-dynamic-implies-whole-archive.patch Size: 2KiB By:
equinox
<http://savannah.gnu.org/patch/download.php?file_id=44931>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?9687>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch #9687] bugfix: make -export-dynamic imply --whole-archive,
David Lamparter <=