URL: <https://savannah.gnu.org/support/?111210>
Summary: libtool.m4: Fix postdeps in NetBSD Group: GNU Libtool Submitter: None Submitted: Sun 23 Mar 2025 01:06:14 PM UTC Category: None Priority: 5 - Normal Severity: 4 - Important Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Operating System: *BSD _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sun 23 Mar 2025 01:06:14 PM UTC By: Anonymous commit:4f7704015 addesses an issue with building C++ modules on NetBSD, by removing -lgcc_s and -lgcc. This may sometimes not work correctly, depending on the architecture, as gcc_s and gcc may contain required code to properly link the shared object. On NetBSD, libgcc.a is compiled with -fPIC and can be linked to a shared object without any issue. Instead, I suggest to use the compiler frontend to do the right thing, removing -nostdlib and setting output_verbose_link_cmd to empty. See attached patch for an implementation of this proposal. _______________________________________________________ File Attachments: ------------------------------------------------------- Name: libtool.diff Size: 2KiB <https://file.savannah.gnu.org/file/libtool.diff?file_id=57053> AGPL NOTICE These attachments are served by Savane. You can download the corresponding source code of Savane at https://savannah.gnu.org/source/savane-7003f86b5f007cfaaf0d8a76566740991567250e.tar.gz _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?111210> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature