You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ gcc --version
gcc (GCC) 10.1.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Issue:
I try to use esy according to documentation but ocaml ld multiple definition of caml_debug_info error occored and I found to build ocaml with gcc10 needed a workaround(ocaml/ocaml#9144).
After I edited a line like ./configure "$@" CC="gcc -fcommon" on ~/.esy/source/i/{opam__s__ocaml_secondary_compiler__opam__c__4.08.1_1__77bef36f, ocaml__4.8.1000__fac38140, or else}/esy-configure, build succeeded.
Other ocaml versions(except 4.10.0) also need a workaround(eg, -cc "gcc -fcommon" for ocaml__4.6.100, CC="gcc -fcommon" for ocaml__4.8.1000) ).
esy version: 0.6.4
Operating System:
Linux pc1-arch 5.7.2-arch1-1 #1 SMP PREEMPT Wed, 10 Jun 2020 20:36:24 +0000 x86_64 GNU/Linux
Issue:
I try to use esy according to documentation but
ocaml ld multiple definition of caml_debug_info
error occored and I found to build ocaml with gcc10 needed a workaround(ocaml/ocaml#9144).After I edited a line like
./configure "$@" CC="gcc -fcommon"
on~/.esy/source/i/{opam__s__ocaml_secondary_compiler__opam__c__4.08.1_1__77bef36f, ocaml__4.8.1000__fac38140, or else}/esy-configure
, build succeeded.Other ocaml versions(except
4.10.0
) also need a workaround(eg,-cc "gcc -fcommon"
forocaml__4.6.100
,CC="gcc -fcommon"
forocaml__4.8.1000
) ).Package.json
same as https://github.com/esy-ocaml/hello-reason/blob/master/package.json, https://github.com/esy-ocaml/hello-ocaml/blob/master/package.json
Actual behavior:
build log
Expected behavior:
no error occured.
Additional steps to reproduce:
The text was updated successfully, but these errors were encountered: