[LLVMbugs] [Bug 7785] New: g++ built with --enable-concept-checks fails to compile llvm
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Aug 1 16:28:59 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7785
Summary: g++ built with --enable-concept-checks fails to
compile llvm
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: llvm001 at deltaprime.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5307)
--> (http://llvm.org/bugs/attachment.cgi?id=5307)
Configure Log
Just as the summary states, when a g++ compiler is used which was built with
the --enable-concept-checks configuration flag set, it will fail to compile
llvm with the following error message:
llvm[1]: Compiling BasicBlock.cpp for Debug+Asserts build
/usr/lib/gcc/i386-pc-solaris2.11/4.3.2/../../../../include/c++/4.3.2/bits/boost_concept_check.h:
In member function 'bool __gnu_cxx::_EqualOpConcept<_First,
_Second>::__constraints_() [with _First = llvm::BasicBlock, _Second =
llvm::BasicBlock*]':
/usr/lib/gcc/i386-pc-solaris2.11/4.3.2/../../../../include/c++/4.3.2/bits/boost_concept_check.h:296:
instantiated from 'void __gnu_cxx::_EqualOpConcept<_First,
_Second>::__constraints() [with _First = llvm::BasicBlock, _Second =
llvm::BasicBlock*]'
/usr/lib/gcc/i386-pc-solaris2.11/4.3.2/../../../../include/c++/4.3.2/bits/boost_concept_check.h:62:
instantiated from 'void __gnu_cxx::__function_requires() [with _Concept =
__gnu_cxx::_EqualOpConcept<llvm::BasicBlock, llvm::BasicBlock*>]'
/usr/lib/gcc/i386-pc-solaris2.11/4.3.2/../../../../include/c++/4.3.2/bits/stl_algo.h:3810:
instantiated from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter
= llvm::PredIterator<llvm::BasicBlock, llvm::value_use_iterator<llvm::User> >,
_Tp = llvm::BasicBlock*]'
BasicBlock.cpp:192: instantiated from here
/usr/lib/gcc/i386-pc-solaris2.11/4.3.2/../../../../include/c++/4.3.2/bits/boost_concept_check.h:296:
error: no match for 'operator==' in
'((__gnu_cxx::_EqualOpConcept<llvm::BasicBlock,
llvm::BasicBlock*>*)this)->__gnu_cxx::_EqualOpConcept<llvm::BasicBlock,
llvm::BasicBlock*>::__a == ((__gnu_cxx::_EqualOpConcept<llvm::BasicBlock,
llvm::BasicBlock*>*)this)->__gnu_cxx::_EqualOpConcept<llvm::BasicBlock,
llvm::BasicBlock*>::__b'
/home/lkiss/Code/work/LLVM/llvm/include/llvm/ADT/APInt.h:1512: note: candidates
are: bool llvm::operator==(uint64_t, const llvm::APInt&)
/home/lkiss/Code/work/LLVM/llvm/include/llvm/ADT/StringRef.h:404: note:
bool llvm::operator==(llvm::StringRef, llvm::StringRef)
gmake[1]: ***
[/home/lkiss/Code/work/LLVM/llvm/lib/VMCore/Debug+Asserts/BasicBlock.o] Error 1
gmake[1]: Leaving directory `/home/lkiss/Code/work/LLVM/llvm/lib/VMCore'
gmake: *** [all] Error 1
I've built a 4.4.4 compiler with that flag unset, and it does not complain when
it compiles this same file.
--
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