-
Notifications
You must be signed in to change notification settings - Fork 1.2k
4.10 branch - tests/output-complete-obj fails on FreeBSD-12 (at least 12.1-RC2) #9068
Copy link
Copy link
Closed
Description
when I run the testsuite with the 4.10 branch on my FreeBSD machine (amd64, 12-stable which uses clang 8.0.1 (similar to 12.1RC2 http://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/12.1/) -- not sure whether this is as well an issue in 12.0), I see a single failing test (output-complete-obj):
# gmake one tests/output-complete-obj
Running tests from 'tests/output-complete-obj' ...
... testing 'test.ml' with 1 (libunix) => passed
... testing 'test.ml' with 1.1 (setup-ocamlc.byte-build-env) => passed
... testing 'test.ml' with 1.1.1 (ocamlc.byte) => passed
... testing 'test.ml' with 1.1.1.1 (script) => passed
... testing 'test.ml' with 1.1.1.1.1 (run) => passed
... testing 'test.ml' with 1.2 (setup-ocamlopt.byte-build-env) => passed
... testing 'test.ml' with 1.2.1 (ocamlopt.byte) => failed (Compiling program test.ml.exe.o from modules test.ml: command
/usr/home/hannes/ocaml/runtime/ocamlrun /usr/home/hannes/ocaml/ocamlopt -I /usr/home/hannes/ocaml/runtime -nostdlib -I /usr/home/hannes/ocaml/stdlib -w a -output-complete-obj -o test.ml.exe.o test.ml
failed with exit code 2)
... testing 'test.ml' with 1.2.1.1 (script) => n/a
... testing 'test.ml' with 1.2.1.1.1 (run) => n/a
... testing 'test2.ml' with 1 (hasunix) => passed
... testing 'test2.ml' with 1.1 (setup-ocamlc.byte-build-env) => passed
... testing 'test2.ml' with 1.1.1 (ocamlc.byte) => passed
... testing 'test2.ml' with 1.1.1.1 (run) => passed
... testing 'test2.ml' with 1.1.1.1.1 (check-program-output) => passed
gmake[1]: Entering directory '/usr/home/hannes/devel/mirage/ocaml/testsuite'
gmake[1]: Leaving directory '/usr/home/hannes/devel/mirage/ocaml/testsuite'
manually running the test to see the output:
output-complete-obj# /usr/home/hannes/ocaml/runtime/ocamlrun /usr/home/hannes/ocaml/ocamlopt -I /usr/home/hannes/ocaml/runtime -nostdlib -I /usr/home/hannes/ocaml/stdlib -w a -output-complete-obj -o test.ml.exe.o test.ml
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(startup_nat_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(startup_aux_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(roots_nat_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(signals_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(fail_nat_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(signals_nat_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(misc_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(freelist_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(major_gc_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(minor_gc_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(memory_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(alloc_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(compare_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(ints_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(floats_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(str_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(io_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(extern_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(intern_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: section type mismatch for .eh_frame
>>> /usr/home/hannes/ocaml/runtime/libasmrun.a(sys_n.o):(.eh_frame): SHT_X86_64_UNWIND
>>> output section .eh_frame: SHT_PROGBITS
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
File "caml_startup", line 1:
Error: Error during linking
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels