[LLVMbugs] [Bug 14844] New: Can't build llvm and clang with Fedora 17 (64 bit) and gcc 4.7.2
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 8 01:54:05 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=14844
Bug #: 14844
Summary: Can't build llvm and clang with Fedora 17 (64 bit) and
gcc 4.7.2
Product: Build scripts
Version: 3.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Makefiles
AssignedTo: unassignedbugs at nondot.org
ReportedBy: XC-lemens at web.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Dear all,
just tried to build llvm and clang according to
http://clang.llvm.org/get_started.html#build
Unfortunately, the "make" step failed. I'm using a 64 bit Fedora 17 PC and have
the newest gcc 4.7.2 version installed. The full output is:
llvm[1]: Compiling APFloat.cpp for Debug+Asserts build
In file included from
/home/cschaef/Téléchargements/clllv/llvm/lib/Support/APFloat.cpp:15:
In file included from
/home/cschaef/Téléchargements/clllv/llvm/include/llvm/ADT/APFloat.h:104:
In file included from
/home/cschaef/Téléchargements/clllv/llvm/include/llvm/ADT/APInt.h:18:
In file included from
/home/cschaef/Téléchargements/clllv/llvm/include/llvm/ADT/ArrayRef.h:13:
In file included from
/home/cschaef/Téléchargements/clllv/llvm/include/llvm/ADT/SmallVector.h:25:
In file included from
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/iterator:63:
In file included from
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ostream:39:
In file included from
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ios:42:
In file included from
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/ios_base.h:40:
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ext/atomicity.h:48:45:
error:
use of undeclared identifier '__ATOMIC_ACQ_REL'
{ return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
^
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ext/atomicity.h:52:38:
error:
use of undeclared identifier '__ATOMIC_ACQ_REL'
{ __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
^
In file included from
/home/cschaef/Téléchargements/clllv/llvm/lib/Support/APFloat.cpp:15:
In file included from
/home/cschaef/Téléchargements/clllv/llvm/include/llvm/ADT/APFloat.h:104:
In file included from
/home/cschaef/Téléchargements/clllv/llvm/include/llvm/ADT/APInt.h:20:
In file included from
/home/cschaef/Téléchargements/clllv/llvm/include/llvm/Support/MathExtras.h:17:
In file included from
/home/cschaef/Téléchargements/clllv/llvm/include/llvm/Support/SwapByteOrder.h:20:
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/limits:1404:27:
error: use of
undeclared identifier '__int128'; did you mean '__int128_t'?
struct numeric_limits<__int128>
^
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/limits:1478:36:
error: expected
'>'
struct numeric_limits<unsigned __int128>
^
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/limits:1478:5:
error: cannot
combine with previous '(error)' declaration specifier
struct numeric_limits<unsigned __int128>
^
/bin/../lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/limits:1478:44:
error: expected
unqualified-id
struct numeric_limits<unsigned __int128>
^
6 errors generated.
make[1]: ***
[/home/cschaef/Téléchargements/clllv/build/lib/Support/Debug+Asserts/APFloat.o]
Erreur 1
make[1] : on quitte le répertoire «
/home/cschaef/Téléchargements/clllv/build/lib/Support »
make: *** [all] Erreur 1
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list