Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bootstrapping from full tarballs fails with gcc-10 #4330

Closed
glondu opened this issue Aug 24, 2020 · 5 comments
Closed

Bootstrapping from full tarballs fails with gcc-10 #4330

glondu opened this issue Aug 24, 2020 · 5 comments

Comments

@glondu
Copy link

glondu commented Aug 24, 2020

The latest full source release tarball fails with gcc-10 (in current Debian testing) because of the embedded OCaml copy (4.07.1) that fails because of multiple definitions.

See ocaml/ocaml#9144

A new tarball release should be made.

@avsm
Copy link
Member

avsm commented Aug 24, 2020

There is a fix on the 2.0 branch (#4262) that shifts the cold compiler to 4.09 and avoids this problem. This is pending a opam 2.0.8 release.

How urgent is this for you? I thought Debian didn't use the full source release tarball for generating the opam package.

@glondu
Copy link
Author

glondu commented Aug 24, 2020

How urgent is this for you?

I found a workaround (adding -cc "gcc -fcommon" to the ./configure call), so it is not that urgent now...

I thought Debian didn't use the full source release tarball for generating the opam package.

Indeed. I noticed that when updating the script opam-bootstrap.sh in Belenios.

@avsm
Copy link
Member

avsm commented Aug 24, 2020

Glad you found a workaround; let us know if you're blocked on anything else. I'll leave this open until we release opam 2.0.8 with the fix.

@glondu
Copy link
Author

glondu commented Aug 25, 2020

let us know if you're blocked on anything else

My workaround for #3987 is to uninstall dune, which is not very satisfactory...

glondu added a commit to glondu/belenios that referenced this issue Aug 31, 2020
@dra27
Copy link
Member

dra27 commented Jul 8, 2021

I think this has been fixed just by winding the "cold" version of OCaml forwards

@dra27 dra27 closed this as completed Jul 8, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants