[MacPorts] #57312: gcl @2.6.12: ld: library not found for -lgcc_s.10.4
MacPorts
noreply at macports.org
Wed Oct 10 12:17:48 UTC 2018
#57312: gcl @2.6.12: ld: library not found for -lgcc_s.10.4
----------------------+------------------------
Reporter: rlhamil | Owner: ryandesign
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: fixed | Keywords: mojave
Port: gcl |
----------------------+------------------------
Changes (by ryandesign):
* owner: (none) => ryandesign
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"40b9b64f091a082167b4152571eaf3f183a8b889/macports-ports"
40b9b64f091a082167b4152571eaf3f183a8b889/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="40b9b64f091a082167b4152571eaf3f183a8b889"
gcl: Do not override the deployment target
The build system sets MACOSX_DEPLOYMENT_TARGET to 10.2. This was done
when Mac support was originally added back in July 2003:
http://git.savannah.gnu.org/cgit/gcl.git/commit/?id=b54cbfe43d04f84c53c6e211a763b8e02185f4fc
At that time the current version of Mac OS X was 10.2 and the default
value of MACOSX_DEPLOYMENT_TARGET was 10.1, which was apparently too
old for gcl so they changed it to 10.2.
Meanwhile, macOS Mojave does not support deployment targets that old so
I've removed this setting from the build system to allow the value set
by MacPorts (which matches the macOS version) to be used.
The build fails if the deployment target is 10.6 or later, which I fixed
by adding -fno-pie to CFLAGS and LDFLAGS, per a suggestion I found in a
ticket with a similar error message about emacs.
Closes: https://trac.macports.org/ticket/57312
The build system also overrides the compiler, for reasons which appear
no longer to be relevant. We already had a patch to remove this override
on Intel. I've expanded that patch to include PowerPC.
Also disable the universal variant because it fails to configure.
Also prevent building while the port is active due to a different value
being detected for EMACS_DEFAULT_EL at configure time if the port is
already active, resulting in a destroot failure.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57312#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list