Skip to content

Instantly share code, notes, and snippets.

@sergey-miryanov
Created April 6, 2011 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergey-miryanov/905298 to your computer and use it in GitHub Desktop.
Save sergey-miryanov/905298 to your computer and use it in GitHub Desktop.
clang++ crashes on windows 7
$ gdb clang++
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
<nctions -fmove-loop-invariants -funroll-loops -march=native -msse -msse2 -mfpmath=sse -Wno-missing-braces -Wno-sign-compare -v -o bin/more.so
Starting program: c:\llvm-build\build\bin/clang++.exe plugins/MORE-Spirit/more.cpp plugins/MORE-Spirit/module.cpp -lpython2.6 -IC:\boost_1_46_0 -IC:\Python26\in
clude -Iplugins/MORE-Spirit -shared -fPIC -ggdb -02 -DNDEBUG -DBOOST_SP_DISABLE_THREADS -finline-functions -fmove-loop-invariants -funroll-loops -march=native -
msse -msse2 -mfpmath=sse -Wno-missing-braces -Wno-sign-compare -v -o bin/more.so
[New thread 3152.0xa4c]
Error: dll starting at 0x773c0000 not found.
Error: dll starting at 0x75cc0000 not found.
Error: dll starting at 0x773c0000 not found.
Error: dll starting at 0x772c0000 not found.
clang version 3.0 (trunk 128807)
Target: i686-pc-mingw32
Thread model: posix
"c:/llvm-build/build/bin/clang++.exe" -cc1 -triple i686-pc-mingw32 -S -disable-free -main-file-name more.cpp -pic-level 2 -mdisable-fp-elim -mconstructor-alias
es -target-cpu corei7 -target-feature +sse -target-feature +sse2 -momit-leaf-frame-pointer -v -g -resource-dir c:/llvm-build/build/bin\..\lib\clang\3.0 -D NDEBU
G -D BOOST_SP_DISABLE_THREADS -I C:\boost_1_46_0 -I C:\Python26\include -I plugins/MORE-Spirit -Wno-missing-braces -Wno-sign-compare -ferror-limit 19 -fmessage-
length 160 -funroll-loops -fcxx-exceptions -fexceptions -fno-use-cxa-atexit -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o C:/Users/hudson/AppDa
ta/Local/Temp/cc-896164.s -x c++ plugins/MORE-Spirit/more.cpp
clang -cc1 version 3.0 based upon llvm 3.0 hosted on i686-pc-mingw32
ignoring nonexistent directory "/mingw/lib/gcc/mingw32/4.5.2/include/c++"
ignoring nonexistent directory "/mingw/lib/gcc/mingw32/4.5.2/include/c++/mingw32"
ignoring nonexistent directory "/mingw/lib/gcc/mingw32/4.5.2/include/c++/backward"
ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.4.0/include/c++"
ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.4.0/include/c++/mingw32"
ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.4.0/include/c++/backward"
ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.3.0/include/c++"
ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.3.0/include/c++/mingw32"
ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.3.0/include/c++/backward"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/include"
ignoring duplicate directory "/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
C:\boost_1_46_0
C:\Python26\include
plugins/MORE-Spirit
c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++
c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++/mingw32
c:/MinGW/lib/gcc/mingw32/4.5.0/include/c++/backward
c:/llvm-build/build/bin/../lib/clang/3.0/include
/mingw/include
End of search list.
Stack dump:
0. Program arguments: c:/llvm-build/build/bin/clang++.exe -cc1 -triple i686-pc-mingw32 -S -disable-free -main-file-name more.cpp -pic-level 2 -mdisable-fp-
elim -mconstructor-aliases -target-cpu corei7 -target-feature +sse -target-feature +sse2 -momit-leaf-frame-pointer -v -g -resource-dir c:/llvm-build/build/bin\.
.\lib\clang\3.0 -D NDEBUG -D BOOST_SP_DISABLE_THREADS -I C:\boost_1_46_0 -I C:\Python26\include -I plugins/MORE-Spirit -Wno-missing-braces -Wno-sign-compare -fe
rror-limit 19 -fmessage-length 160 -funroll-loops -fcxx-exceptions -fexceptions -fno-use-cxa-atexit -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics
-o C:/Users/hudson/AppData/Local/Temp/cc-896164.s -x c++ plugins/MORE-Spirit/more.cpp
1. <eof> parser at end of file
2. Per-file LLVM IR generation
3. C:\boost_1_46_0/boost/fusion/algorithm/query/detail/any.hpp:34:5: Generating code for declaration 'boost::fusion::detail::linear_any'
clang++: error: clang frontend command failed with exit code 255 (use -v to see invocation)
Program exited with code 0377.
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment