Commit Graph

6 Commits

Author SHA1 Message Date
Sergei Trofimovich
1bdc32f970 ocaml-ng.ocamlPackages_4_00_1.ocaml, ocaml-ng.ocamlPackages_4_08.ocaml: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:

    $ nix build --impure --expr 'with import ./. {}; ocaml-ng.ocamlPackages_4_00_1.ocaml.overrideAttrs (oa: {   NIX_CFLAGS_COMPILE = (["-fno-common"] ++ [oa.NIX_CFLAGS_COMPILE or ""]); })'
    ...
    > ld: libcamlrun.a(startup.o):(.bss+0x800): multiple definition of `caml_code_fragments_table'; libcamlrun.a(backtrace.o):(.bss+0x20): first defined here
    > collect2: error: ld returned 1 exit status
2022-05-28 13:37:55 +01:00
Vincent Laporte
d8d2136718 ocaml 4.00 – 4.09: make compatible with glibc-2.34 2022-04-06 21:30:10 +02:00
Vincent Laporte
ff24bf1fb6 ocaml: 4.04.1 -> 4.04.2 2017-07-08 12:22:55 +02:00
Vincent Laporte
2230009e7d ocaml: 4.04.0 -> 4.04.1 2017-04-18 17:19:16 +00:00
Pascal Wittmann
2352099a96
ocaml-4.04: dont strip to obtain a working compiler 2017-02-03 22:12:53 +01:00
Vincent Laporte
ae047510bf ocaml: init at 4.04 2017-01-24 21:13:00 +00:00