[12:52] aiee(pts/23):/tmp% cat > foo.ml let () = print_endline "hello" [12:52] aiee(pts/23):/tmp% ocamlc -o foo foo.ml [12:52] aiee(pts/23):/tmp% ocamlopt -o foo foo.ml /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(roots.o): relocation R_X86_64_32 against symbol `caml_frametable' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(globroots.o): relocation R_X86_64_32 against symbol `caml_global_roots' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(major_gc.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(minor_gc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(memory.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(compare.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(ints.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(floats.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(str.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(io.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(extern.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(intern.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(sys.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(gc_ctrl.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(obj.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(callback.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(weak.o): relocation R_X86_64_32 against symbol `caml_weak_ref_table' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(compact.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(finalise.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(custom.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(unix.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(fail.o): relocation R_X86_64_32 against symbol `caml_exn_Failure' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(signals.o): relocation R_X86_64_32S against undefined symbol `caml_pending_signals' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(signals_asm.o): relocation R_X86_64_32S against symbol `caml_system__code_begin' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(freelist.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(alloc.o): relocation R_X86_64_32S against undefined symbol `caml_atom_table' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(parsing.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(printexc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /home/flux/ocaml/.opam/4.02.1/lib/ocaml/libasmrun.a(backtrace.o): relocation R_X86_64_32 against symbol `caml_backtrace_last_exn' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking