Created
February 14, 2023 02:38
-
-
Save emchristiansen/da7584036fcbe7a3373f8298dbeaf84a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shared cache: disabled | |
Workspace root: /home/ubuntu/scratch/ocaml_broken_build | |
Auto-detected concurrency: 8 | |
Running[0]: /home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocamlc.opt -config > /tmp/dune_c093c1_output | |
Dune context: | |
{ name = "default" | |
; kind = "default" | |
; profile = Dev | |
; merlin = true | |
; for_host = None | |
; fdo_target_exe = None | |
; build_dir = "default" | |
; toplevel_path = | |
Some | |
External "/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/toplevel" | |
; ocaml_bin = External "/home/ubuntu/scratch/ocaml_broken_build/_opam/bin" | |
; ocaml = | |
Ok External "/home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocaml" | |
; ocamlc = | |
External "/home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocamlc.opt" | |
; ocamlopt = | |
Ok | |
External | |
"/home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocamlopt.opt" | |
; ocamldep = | |
Ok | |
External | |
"/home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocamldep.opt" | |
; ocamlmklib = | |
Ok | |
External | |
"/home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocamlmklib.opt" | |
; env = | |
map | |
{ "DUNE_OCAML_HARDCODED" : | |
"/home/ubuntu/scratch/ocaml_broken_build/_opam/lib" | |
; "DUNE_OCAML_STDLIB" : | |
"/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/ocaml" | |
; "DUNE_SOURCEROOT" : "/home/ubuntu/scratch/ocaml_broken_build" | |
; "INSIDE_DUNE" : | |
"/home/ubuntu/scratch/ocaml_broken_build/_build/default" | |
; "OCAMLFIND_IGNORE_DUPS_IN" : | |
"/home/ubuntu/scratch/ocaml_broken_build/_build/install/default/lib" | |
; "OCAMLPATH" : | |
"/home/ubuntu/scratch/ocaml_broken_build/_build/install/default/lib" | |
; "OCAMLTOP_INCLUDE_PATH" : | |
"/home/ubuntu/scratch/ocaml_broken_build/_build/install/default/lib/toplevel" | |
} | |
; findlib_paths = | |
[ External "/home/ubuntu/scratch/ocaml_broken_build/_opam/lib" ] | |
; arch_sixtyfour = true | |
; natdynlink_supported = true | |
; supports_shared_libraries = true | |
; ocaml_config = | |
{ version = "4.14.1" | |
; standard_library_default = | |
"/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/ocaml" | |
; standard_library = | |
"/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/ocaml" | |
; standard_runtime = "the_standard_runtime_variable_was_deleted" | |
; ccomp_type = "cc" | |
; c_compiler = "gcc" | |
; ocamlc_cflags = | |
[ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread"; "-fPIC" ] | |
; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] | |
; ocamlopt_cflags = | |
[ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread"; "-fPIC" ] | |
; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ] | |
; bytecomp_c_compiler = | |
[ "gcc" | |
; "-O2" | |
; "-fno-strict-aliasing" | |
; "-fwrapv" | |
; "-pthread" | |
; "-fPIC" | |
; "-D_FILE_OFFSET_BITS=64" | |
] | |
; bytecomp_c_libraries = [ "-lm"; "-lpthread" ] | |
; native_c_compiler = | |
[ "gcc" | |
; "-O2" | |
; "-fno-strict-aliasing" | |
; "-fwrapv" | |
; "-pthread" | |
; "-fPIC" | |
; "-D_FILE_OFFSET_BITS=64" | |
] | |
; native_c_libraries = [ "-lm" ] | |
; native_pack_linker = [ "ld"; "-r"; "-o" ] | |
; cc_profile = [] | |
; architecture = "amd64" | |
; model = "default" | |
; int_size = 63 | |
; word_size = 64 | |
; system = "linux" | |
; asm = [ "as" ] | |
; asm_cfi_supported = true | |
; with_frame_pointers = false | |
; ext_exe = "" | |
; ext_obj = ".o" | |
; ext_asm = ".s" | |
; ext_lib = ".a" | |
; ext_dll = ".so" | |
; os_type = "Unix" | |
; default_executable_name = "a.out" | |
; systhread_supported = true | |
; host = "x86_64-pc-linux-gnu" | |
; target = "x86_64-pc-linux-gnu" | |
; profiling = false | |
; flambda = false | |
; spacetime = false | |
; safe_string = true | |
; exec_magic_number = "Caml1999X031" | |
; cmi_magic_number = "Caml1999I031" | |
; cmo_magic_number = "Caml1999O031" | |
; cma_magic_number = "Caml1999A031" | |
; cmx_magic_number = "Caml1999Y031" | |
; cmxa_magic_number = "Caml1999Z031" | |
; ast_impl_magic_number = "Caml1999M031" | |
; ast_intf_magic_number = "Caml1999N031" | |
; cmxs_magic_number = "Caml1999D031" | |
; cmt_magic_number = "Caml1999T031" | |
; natdynlink_supported = true | |
; supports_shared_libraries = true | |
; windows_unicode = false | |
} | |
} | |
Actual targets: | |
- alias @@default | |
Running[1]: (cd _build/default && /home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o bin/main.exe.o -output-complete-obj lib/broken.cmxa /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/stdlib-shims/stdlib_shims.cmxa /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/integers/integers.cmxa -I /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/integers /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/zarith/zarith.cmxa -I /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/zarith /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/class_group_vdf/class_group_vdf.cmxa -I /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/class_group_vdf bin/.main.eobjs/native/dune__exe__Main.cmx) | |
File "bin/dune", line 3, characters 7-11: | |
3 | (name main) | |
^^^^ | |
Command [1] exited with code 2: | |
$ (cd _build/default && /home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o bin/main.exe.o -output-complete-obj lib/broken.cmxa /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/stdlib-shims/stdlib_shims.cmxa /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/integers/integers.cmxa -I /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/integers /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/zarith/zarith.cmxa -I /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/zarith /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/class_group_vdf/class_group_vdf.cmxa -I /home/ubuntu/scratch/ocaml_broken_build/_opam/lib/class_group_vdf bin/.main.eobjs/native/dune__exe__Main.cmx) | |
ld: Error: unable to disambiguate: -shared-libgcc (did you mean --shared-libgcc ?) | |
File "caml_startup", line 1: | |
Error: Error during linking (exit code 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment