-
-
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
julia doesn't build on Fedora 16 #434
Comments
Looks like there's an upstream bug for this: https://bugzilla.redhat.com/show_bug.cgi?id=729308. |
Thanks for tracking that down. Is clang the default compiler on fedora 16? |
I assume that gcc is, but I'm not sure. |
|
We should also make sure to work with Clang, but this appears to be a Clang bug rather than us doing something wrong. |
Clang++ is kind of sensitive in its libstdc++ compatibility. If Fedora also ships with LLVM's libc++, you might try installing that and building with |
In my Make.inc, I already have USEGCC=1, USECLANG=0. I'm not sure how to keep clang out of the picture. Here's a bigger context of the error messages: $ make |
Ah, this gives me an idea. Try making this change:
I added |
Jeff's patch seems to work. I could build and start Julia. |
I got the following error:
config.status: executing tools/sample/Makefile commands
llvm[3]: Compiling APFloat.cpp for Release build
In file included from APFloat.cpp:15:
In file included from /home/josh.chia/julia/external/llvm-3.0/include/llvm/ADT/APFloat.h:104:
In file included from /home/josh.chia/julia/external/llvm-3.0/include/llvm/ADT/APInt.h:18:
In file included from /home/josh.chia/julia/external/llvm-3.0/include/llvm/ADT/ArrayRef.h:13:
In file included from /home/josh.chia/julia/external/llvm-3.0/include/llvm/ADT/SmallVector.h:18:
In file included from /usr/include/c++/4.6.2/algorithm:61:
/usr/include/c++/4.6.2/bits/stl_algobase.h:378:43: error: unexpected type name '_ValueTypeI':
expected expression
const bool __simple = (__is_trivial(_ValueTypeI)
^
/usr/include/c++/4.6.2/bits/stl_algobase.h:383:40: error: non-type template argument of type
'const bool' is not an integral constant expression
return std::__copy_move<_IsMove, __simple,
^~~~~~~~
...
Apparently CLANG has som problems. Is there a way to not use CLANG? If not, how do we fix this error? I'm on commit 3c3e0a of julia.
The text was updated successfully, but these errors were encountered: