[MacPorts] #56436: julia fails to build on snowleopard, the linker fails "ld: library not found for -lssp"

MacPorts noreply at macports.org
Sun May 6 00:33:33 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 kencu):

 You can get past your error with `-lssp` by specifying the library fully
 in `Make.inc` like this:
 {{{
 OSLIBS += -L/opt/local/lib/gcc7/libssp.dylib
 }}}
 but then it just errors out later with this:
 {{{
     CC src/signal-handling.dbg.obj
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_github
 .com_macports_macports-ports_lang_julia/julia/work/julia-0.6.2/src/signal-
 handling.c:94:
 ./signals-unix.c:39:43: error: expected expression
     return (bt_context_t*)&((ucontext64_t*)sigctx)->uc_mcontext64->__ss;
                                           ^
 }}}
 and more like it.


 I think we will need sean here to sort this out. Step one might be to try
 building it on a current system, which I suspect will fail. Fix that
 first, if possible, and then maybe go back and include the older
 systems...

-- 
Ticket URL: <https://trac.macports.org/ticket/56436#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list