Opened 11 years ago

Last modified 6 years ago

#40956 closed defect

ocaml: ld: unknown option: -no_compact_unwind — at Version 1

Reported by: iwm@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: tiger leopard Cc:
Port: ocaml

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (1)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: tiger leopard added
Owner: changed from macports-tickets@… to mww@…
Port: ocaml added
Summary: Error building port ocaml ocaml-4.01.0 on PPC Leopard 10.5.8ocaml: ld: unknown option: -no_compact_unwind

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.

Note: See TracTickets for help on using tickets.