[MacPorts] #56436: julia fails to build on snowleopard, the linker fails "ld: library not found for -lssp"
MacPorts
noreply at macports.org
Fri May 11 16:11:23 UTC 2018
#56436: julia fails to build on snowleopard, the linker fails "ld: library not
found for -lssp"
----------------------------+------------------------
Reporter: chrisjogorman | Owner: seanfarley
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.3
Resolution: | Keywords:
Port: julia |
----------------------------+------------------------
Comment (by chrisjogorman):
`gcc7` failed for me initially because I was trying to build it with
`clang-3.9` and it failed to link. The linking fails because `clang-3.9`
doesn't add `-stdlib=libc++` as it does on newer compilers. (See Ken's
explanation to me in ticket [https://trac.macports.org/ticket/55410]). I
built `gcc7` with the default c compiler from `xcode 3.2.6` and it built.
The other way to get around it is to rebuild `llvm-3.9` with his patches
[https://github.com/kencu/SnowLeopardPorts/blob/master/lang/llvm-3.9/files/9999
-patch-clang-3.9-Toolchains-default-always-libcxx.diff]. If tackle
building `gcc7` with `clang-3.9` you'll need his setup
[https://github.com/kencu/SnowLeopardPorts/tree/master/lang/llvm-3.9].
--
Ticket URL: <https://trac.macports.org/ticket/56436#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list