Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created January 4, 2011 20:36
Show Gist options
  • Save springmeyer/765373 to your computer and use it in GitHub Desktop.
Save springmeyer/765373 to your computer and use it in GitHub Desktop.
compile error when compiling boost_python app using precompiled headers that include boost
clang -cc1 version 2.9 based upon llvm 2.9svn hosted on x86_64-apple-darwin10
ignoring duplicate directory "/usr/local/include"
as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/usr/include"
as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
agg/include
.
include
/Library/Frameworks/GDAL.framework/Versions/1.7/Headers
/usr/local/pgsql/include
/usr/X11/include
/usr/X11/include/freetype2
/usr/include/libxml2
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
/usr/include/c++/4.2.1
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64
/usr/include/c++/4.2.1/backward
/usr/include/c++/4.0.0
/usr/include/c++/4.0.0/i686-apple-darwin8
/usr/include/c++/4.0.0/backward
/usr/local/include
/usr/local/bin/../lib/clang/2.9/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
Assertion failed: ((NumTemplateArgs != 0) == E->hasExplicitTemplateArgs() && "Read wrong record during creation ?"), function VisitDependentScopeDeclRefExpr, file ASTReaderStmt.cpp, line 1200.
0 clang 0x00000001014aa682 llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) + 754
1 clang 0x00000001014ab4d3 llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) + 4419
2 libSystem.B.dylib 0x00007fff8064167a _sigtramp + 26
3 libSystem.B.dylib 0x00007fff5fbfba10 _sigtramp + 3747324848
4 clang 0x000000010001abf2 std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::PassRegistrationListener**, std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> > >, llvm::PassRegistrationListener* const&) + 3602
5 clang 0x0000000100132441 clang::DeclVisitor<clang::ASTDeclReader, void>::Visit(clang::Decl*) + 28257
6 clang 0x0000000100134c91 clang::DeclVisitor<clang::ASTDeclReader, void>::Visit(clang::Decl*) + 38577
7 clang 0x00000001007c3372 std::_Rb_tree<clang::QualType, std::pair<clang::QualType const, std::pair<bool, unsigned int> >, std::_Select1st<std::pair<clang::QualType const, std::pair<bool, unsigned int> > >, clang::QualTypeOrdering, std::allocator<std::pair<clang::QualType const, std::pair<bool, unsigned int> > > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<clang::QualType const, std::pair<bool, unsigned int> > >, std::pair<clang::QualType const, std::pair<bool, unsigned int> > const&) + 5746
8 clang 0x00000001005ac12b llvm::cast_retty<clang::ArrayTypeLoc, clang::TypeLoc>::ret_type llvm::cast<clang::ArrayTypeLoc, clang::TypeLoc>(clang::TypeLoc const&) + 44411
9 clang 0x00000001005abe04 llvm::cast_retty<clang::ArrayTypeLoc, clang::TypeLoc>::ret_type llvm::cast<clang::ArrayTypeLoc, clang::TypeLoc>(clang::TypeLoc const&) + 43604
10 clang 0x0000000100350a67 llvm::DenseMap<clang::Stmt*, unsigned int, llvm::DenseMapInfo<clang::Stmt*>, llvm::DenseMapInfo<unsigned int> >::grow(unsigned int) + 25111
11 clang 0x000000010033a9c9 llvm::SmallVectorTemplateBase<clang::ParsedTemplateArgument, false>::grow(unsigned long) + 48921
12 clang 0x00000001002e5fef llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >::CreateGEP(llvm::Value*, llvm::Value*, llvm::Twine const&) + 495::CreateGEP(llvm::Value*, llvm::Value*, llvm::Twine const&) + 495
13 clang 0x00000001002a0d0c llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >::CreateIsNull(llvm::Value*, llvm::Twine const&) + 4892
14 clang 0x0000000100052fc9 llvm::DenseMap<clang::IdentifierInfo const*, unsigned int, llvm::DenseMapInfo<clang::IdentifierInfo const*>, llvm::DenseMapInfo<unsigned int> >::grow(unsigned int) + 7561
15 clang 0x0000000100024d92 std::_Rb_tree<std::string, std::string, std::_Identity<std::string>, std::less<std::string>, std::allocator<std::string> >::_M_insert_unique(std::string const&) + 2002
16 clang 0x000000010001ca1a std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::PassRegistrationListener**, std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> > >, llvm::PassRegistrationListener* const&) + 11322
17 clang 0x0000000100023dc4 std::vector<std::string, std::allocator<std::string> >::operator=(std::vector<std::string, std::allocator<std::string> > const&) + 12196
18 clang 0x000000010001b374 std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::PassRegistrationListener**, std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> > >, llvm::PassRegistrationListener* const&) + 5524
19 clang 0x000000000000004b std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::PassRegistrationListener**, std::vector<llvm::PassRegistrationListener*, std::allocator<llvm::PassRegistrationListener*> > >, llvm::PassRegistrationListener* const&) + 4294861419
Stack dump:
0. Program arguments: /usr/local/bin/clang -cc1 -triple x86_64-apple-darwin10.0.0 -emit-obj -disable-free -main-file-name mapnik_shield_symbolizer.cpp -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 97.14 -resource-dir /usr/local/bin/../lib/clang/2.9 -include-pch precompiled.hpp.pch -D HAVE_JPEG -D DARWIN -D BOOST_SPIRIT_THREADSAFE -D MAPNIK_THREADSAFE -D NDEBUG -I agg/include -I . -I include -I /Library/Frameworks/GDAL.framework/Versions/1.7/Headers -I /usr/local/pgsql/include -I /usr/local/include -I /usr/include -I /usr/X11/include -I /usr/X11/include/freetype2 -I /usr/include/libxml2 -I /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -O2 -Wall -Wno-inline -std=c++98 -ftemplate-depth 200 -ferror-limit 19 -fmessage-length 122 -stack-protector 1 -fblocks -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o bindings/python/mapnik_shield_symbolizer.os -x c++ bindings/python/mapnik_shield_symbolizer.cpp -v
1. <eof> parser at end of file
2. /usr/local/include/boost/tuple/detail/tuple_basic.hpp:260:1: instantiating function definition 'get'
Illegal instruction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment