-
-
Save emchristiansen/346433824eea31d1922cb353279ae744 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_e35947_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 | |
Error: The package broken does not have any user defined stanzas attached to | |
it. If this is intentional, add (allow_empty) to the package definition in | |
the dune-project file | |
-> required by _build/default/broken.install | |
-> required by alias all | |
-> required by alias default | |
Running[1]: (cd _build/default && /home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocamlopt.opt -verbose -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 -verbose) | |
File "bin/dune", line 2, characters 7-11: | |
2 | (name main) | |
^^^^ | |
Command [1] exited with code 2: | |
$ (cd _build/default && /home/ubuntu/scratch/ocaml_broken_build/_opam/bin/ocamlopt.opt -verbose -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 -verbose) | |
+ as --debug-prefix-map '/home/ubuntu/scratch/ocaml_broken_build/_build/default'='/workspace_root' -o '/tmp/build_2179a1_dune/camlstartup35992b.o' '/tmp/build_2179a1_dune/camlstartup73e0fe.s' | |
+ ld -r -o 'bin/main.exe.o' '-L/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/integers' '-L/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/zarith' '-L/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/class_group_vdf' '-L/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/ocaml' '/tmp/build_2179a1_dune/camlstartup35992b.o' 'bin/.main.eobjs/native/dune__exe__Main.o' '/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/class_group_vdf/class_group_vdf.a' '/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/zarith/zarith.a' '/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/integers/integers.a' 'lib/broken.a' '/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/ocaml/stdlib.a' '-lclass_group_vdf_stubs' '-lstdc++' '-shared-libgcc' '-lgmpxx' '-lgmp' '-lzarith' '-lgmp' '-lintegers_stubs' '/home/ubuntu/scratch/ocaml_broken_build/_opam/lib/ocaml/libasmrun.a' | |
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