[MacPorts] #40956: ocaml: ld: unknown option: -no_compact_unwind (was: Error building port ocaml ocaml-4.01.0 on PPC Leopard 10.5.8)
MacPorts
noreply at macports.org
Sat Oct 26 10:06:29 PDT 2013
#40956: ocaml: ld: unknown option: -no_compact_unwind
---------------------+---------------------------
Reporter: iwm@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords: tiger leopard
Port: ocaml |
---------------------+---------------------------
Changes (by ryandesign@…):
* port: => ocaml
* owner: macports-tickets@… => mww@…
* keywords: => tiger leopard
Old description:
> in build /usr/bin/make coldstart
>
> :info:build /usr/bin/gcc-4.2 -Wl,-no_compact_unwind -o ocamlrun \
> :info:build prims.o libcamlrun.a -lcurses -lpthread
> :info:build ld: unknown option: -no_compact_unwind
> :info:build collect2: ld returned 1 exit status
New description:
in build /usr/bin/make coldstart
{{{
:info:build /usr/bin/gcc-4.2 -Wl,-no_compact_unwind -o ocamlrun \
:info:build prims.o libcamlrun.a -lcurses -lpthread
:info:build ld: unknown option: -no_compact_unwind
:info:build collect2: ld returned 1 exit status
}}}
--
Comment:
As far as I can tell, `-no_compact_unwind` is only supported as of the
version of `ld` in Snow Leopard.
I wonder if using the ld64 port instead would help. Or if the flag can be
removed from ocaml that would be simpler.
--
Ticket URL: <https://trac.macports.org/ticket/40956#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list