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
Crash in linbox compiled with clang-3.8 #24701
Comments
comment:1
Hum, still clang using gcc's libstdc++ from gcc 4.8 in this case. Would sage want to build its own gcc on that box if there is just gcc-4.8? |
comment:2
I can't even replace that library but using a libc++ if the system has it would be nice. |
comment:4
That's a tall order as a check. Here it is also possible that the problem is the age of the gcc's libstdc++. Although I think it is better to use libc++/libcxx and that may be easier to enforce even it turns to be overbroad. |
comment:5
Where we are now is that the right flags seem to be
The stdlib directive is needed on all three variables because 1. without it in CXX several packages ignore CXXFLAGS and so it's not applied with clang++ (the compiler), 2. CXXFLAGS um well it belongs there, and 3. without it in LDFLAGS several packages link with libstdc++ (fpylll, sagelib). |
comment:6
Replying to @rwst:
Actually I also need to add
|
comment:7
So this ticket is wontfix. Use these flags:
|
comment:10
#24716 looks similar. Duplicate? |
On OpenSuSE with clang-3.8 and
CC=clang CXX=clang++
Component: packages: standard
Issue created by migration from https://trac.sagemath.org/ticket/24701
The text was updated successfully, but these errors were encountered: