[LLVMbugs] [Bug 11916] New: Problem compiling against GCC 4.7.0: use of undeclared identifier '__int128'; did you mean '__int128_t'?
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Feb 3 09:10:43 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11916
Bug #: 11916
Summary: Problem compiling against GCC 4.7.0: use of undeclared
identifier '__int128'; did you mean '__int128_t'?
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: salimma at fedoraproject.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
When either compiling LLVM (both 3.0 and trunk) on GCC 4.7.0 x86_64, or
compiling third-party software that uses LLVM (e.g. Pure,
http://code.google.com/p/pure-lang/), I get the pasted error. Against GCC 4.6.2
LLVM (and Pure) builds fine.
Complete build logs:
llvm -- http://koji.fedoraproject.org/koji/taskinfo?taskID=3627742
pure -- http://koji.fedoraproject.org/koji/taskinfo?taskID=3759766
In file included from /usr/include/llvm/ExecutionEngine/ExecutionEngine.h:24:
In file included from /usr/include/llvm/ADT/ValueMap.h:29:
In file included from /usr/include/llvm/ADT/DenseMap.h:17:
In file included from /usr/include/llvm/Support/MathExtras.h:17:
In file included from /usr/include/llvm/Support/SwapByteOrder.h:20:
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/limits:1404:27:
error: use of undeclared identifier '__int128'; did you mean '__int128_t'?
struct numeric_limits<__int128>
^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/limits:1478:36:
error: expected '>'
struct numeric_limits<unsigned __int128>
^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/limits:1478:5:
error: cannot combine with previous '(error)' declaration specifier
struct numeric_limits<unsigned __int128>
^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/limits:1478:44:
error: expected unqualified-id
struct numeric_limits<unsigned __int128>
^
--
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