-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error building julia from source #40585
Comments
details of the compiler version in use:
|
Problem seems to be, that the build process joins the include file |
I can reproduce the error using GCC 11.1 and Julia 1.6.1 both with git clone and downloading the tar package: This is the error at the end of the compilation. The Make.inc was left unchanged.
It seems that the Julia build system copies and old version of libstdc++
Instead of the libstdc++ declared on $LIBRARY_PATH
The code is actually compiled with this one:
|
This also occurs when using the precompiled binary along with packages like PyPlot while using the system python installation as the libstdc++ version used by julia does not match the system version. Again with Julia v1.6.1 on Fedora 34 with system libstdc++.6.0.29:
Replacing the library in |
I have a similar issue (with both
Using |
Same for me. I was able to build with this fix as well. Thanks! |
If I understand correctly, this is fixed by #41292, it just hasn't been backported yet. |
seems fixed now |
I am getting the same error when compiling 1.6.2 on Manjaro EDIT: also, using the system libstdc++.so works. |
Apparently that is expected as the fix couldn't be backported: https://discourse.julialang.org/t/julia-1-6-2-cannot-be-compiled/64685/2 |
@staticfloat can I assign you to this, for getting CSL from the system if the compiler is newer than our build shards? We should probably backport this also, since it is important that we keep the v1.6 LTS buildable for people for many years |
It is on the 1.6.3 backport branch now. |
On my installations (fedora34) making
julia
from a fresh clone ofJuliaLang/julia
fails with the following messages:No problems with fedora33.
It came out, that the version of
~/julia/usr/lib/libstdc++.so.6.0.28
is responsible for that.When I replace this library by the system version in
/usr/lib64/libstdc++.6.0.29
julia links and runs like a charm.The text was updated successfully, but these errors were encountered: