[MacPorts] #55385: ocaml: fails to build on 10.6 and lower
MacPorts
noreply at macports.org
Wed Nov 22 07:57:09 UTC 2017
#55385: ocaml: fails to build on 10.6 and lower
---------------------+----------------------
Reporter: mojca | Owner: pmetzger
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: ocaml |
---------------------+----------------------
Description changed by mojca:
Old description:
> OCaml port fails to build on 10.6 and lower. It might help to use a newer
> compiler, but it makes sense to test the hypothesis before blindly adding
> items to compilers blacklist.
>
> {{{
> /usr/bin/gcc-4.2 -c -DSYS_macosx -DMODEL_default -o amd64.o amd64.S || \
> { echo "If your assembler produced syntax errors, it is
> probably";\
> echo "unhappy with the preprocessor. Check your assembler,
> or";\
> echo "try producing amd64.o by hand.";\
> exit 2; }
> amd64.S:708:Unknown pseudo-op: .string
> amd64.S:708:Rest of line ignored. 1st junk character valued 34 (").
> If your assembler produced syntax errors, it is probably
> unhappy with the preprocessor. Check your assembler, or
> try producing amd64.o by hand.
> }}}
>
> If it turns out that it in fact cannot be built, the port should at least
> say so. But I guess it's just an issue with too old compiler.
>
> On 10.5 it failed with
> {{{
> /usr/bin/gcc-4.2 -bundle -flat_namespace -undefined suppress
> -Wl,-no_compact_unwind -o libcamlrun_shared.so interp.pic.o misc.pic.o
> stacks.pic.o fix_code.pic.o startup_aux.pic.o startup.pic.o
> freelist.pic.o major_gc.pic.o minor_gc.pic.o memory.pic.o alloc.pic.o
> roots.pic.o globroots.pic.o fail.pic.o signals.pic.o signals_byt.pic.o
> printexc.pic.o backtrace_prim.pic.o backtrace.pic.o compare.pic.o
> ints.pic.o floats.pic.o str.pic.o array.pic.o io.pic.o extern.pic.o
> intern.pic.o hash.pic.o sys.pic.o meta.pic.o parsing.pic.o gc_ctrl.pic.o
> terminfo.pic.o md5.pic.o obj.pic.o lexing.pic.o callback.pic.o
> debugger.pic.o weak.pic.o compact.pic.o finalise.pic.o custom.pic.o
> dynlink.pic.o spacetime.pic.o afl.pic.o unix.pic.o main.pic.o -lcurses
> -lpthread
> ld: unknown option: -no_compact_unwind
> }}}
>
> * [https://build.macports.org/builders/ports-10.5_ppc_legacy-
> builder/builds/46649 10.5]
> * [https://build.macports.org/builders/ports-10.6_i386_legacy-
> builder/builds/31970 10.6/i386 10.6/i386]
> * [https://build.macports.org/builders/ports-10.6_x86_64_legacy-
> builder/builds/48099 10.6/x86_64]
New description:
OCaml port fails to build on 10.6 and lower. It might help to use a newer
compiler, but it makes sense to test the hypothesis before blindly adding
items to compilers blacklist.
{{{
/usr/bin/gcc-4.2 -c -DSYS_macosx -DMODEL_default -o amd64.o amd64.S || \
{ echo "If your assembler produced syntax errors, it is
probably";\
echo "unhappy with the preprocessor. Check your assembler, or";\
echo "try producing amd64.o by hand.";\
exit 2; }
amd64.S:708:Unknown pseudo-op: .string
amd64.S:708:Rest of line ignored. 1st junk character valued 34 (").
If your assembler produced syntax errors, it is probably
unhappy with the preprocessor. Check your assembler, or
try producing amd64.o by hand.
}}}
If it turns out that it in fact cannot be built, the port should at least
say so. But I guess it's just an issue with too old compiler.
On 10.5 it failed with
{{{
/usr/bin/gcc-4.2 -bundle -flat_namespace -undefined suppress
-Wl,-no_compact_unwind -o libcamlrun_shared.so interp.pic.o misc.pic.o
stacks.pic.o fix_code.pic.o startup_aux.pic.o startup.pic.o freelist.pic.o
major_gc.pic.o minor_gc.pic.o memory.pic.o alloc.pic.o roots.pic.o
globroots.pic.o fail.pic.o signals.pic.o signals_byt.pic.o printexc.pic.o
backtrace_prim.pic.o backtrace.pic.o compare.pic.o ints.pic.o floats.pic.o
str.pic.o array.pic.o io.pic.o extern.pic.o intern.pic.o hash.pic.o
sys.pic.o meta.pic.o parsing.pic.o gc_ctrl.pic.o terminfo.pic.o md5.pic.o
obj.pic.o lexing.pic.o callback.pic.o debugger.pic.o weak.pic.o
compact.pic.o finalise.pic.o custom.pic.o dynlink.pic.o spacetime.pic.o
afl.pic.o unix.pic.o main.pic.o -lcurses -lpthread
ld: unknown option: -no_compact_unwind
}}}
* [https://build.macports.org/builders/ports-10.5_ppc_legacy-
builder/builds/46649 10.5]
* [https://build.macports.org/builders/ports-10.6_i386_legacy-
builder/builds/31970 10.6/i386]
* [https://build.macports.org/builders/ports-10.6_x86_64_legacy-
builder/builds/48099 10.6/x86_64]
--
--
Ticket URL: <https://trac.macports.org/ticket/55385#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list