I have trouble building a local switch using
ocaml-base-compiler.4.06.1 on archlinux, following an upgrade to gcc 10. Apparently it uses
-fno-common by default, which breaks the compilation of OCaml’s runtime because some symbols are declared twice.
I really can’t get it to work. I tried, before creating the switch:
Every time the switch creation fails because of errors like
"multiple definition of caml_major_ring’"` in a .h and a .c of the runtime. Any idea?