moonshineTheleocat / bullet

Automatically exported from code.google.com/p/bullet
Other
0 stars 0 forks source link

GCC 4.8+ internal compiler error: Segmentation fault #790

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fresh: svn checkout http://bullet.googlecode.com/svn/trunk/ bullet-read-only
2. GCC 4.8+ (http://nuwen.net/mingw.html version 10.4 x86 used on Windows OS)
2. CMake 2.8+ using either Code::Blocks MinGW make or MinGW make files (NO CPU 
Demos, Demos, Extras, Multithreading, Unit Tests, Custom Vector Math, Double 
Precission or GLUT, just the core libraries)
3. Build type: Release (anything that has -O2 or -O3)
4. That's it. Start building. cc1plus.exe will segfault on 
btInternalEdgeUtility.cpp:310:2

NOTE: The library compiles fine without any optimizations.

What is the expected output? What do you see instead?
- cc1plus sould exit without segfaulting.
- cc1plus exits segfaulting.

What version of the product are you using? On what operating system?
- Fresh svn chekout at revision r2722 (same problem with official releases or 
previous revisions)
- Windows XP or 7

Please provide any additional information below.
Code::Blocks output (full log attached):
D:\Dev\CMake\bin\cmake.exe -E cmake_progress_report 
D:\DevLibs\bullet-read-only\build-cb\CMakeFiles 19
[ 25%] 
Building CXX object 
src/BulletCollision/CMakeFiles/BulletCollision.dir/CollisionDispatch/btHashedSim
plePairCache.obj
cd /d D:\DevLibs\bullet-read-only\build-cb\src\BulletCollision && 
D:\Dev\MinGW\bin\g++.exe   -DUSE_GRAPHICAL_BENCHMARK -D_CRT_SECURE_NO_DEPRECATE 
-D_CRT_SECURE_NO_WARNINGS -D_IRR_STATIC_LIB_ -D_SCL_SECURE_NO_WARNINGS -O3 
-DNDEBUG @CMakeFiles/BulletCollision.dir/includes_CXX.rsp   -o 
CMakeFiles\BulletCollision.dir\CollisionDispatch\btHashedSimplePairCache.obj -c 
D:\DevLibs\bullet-read-only\src\BulletCollision\CollisionDispatch\btHashedSimple
PairCache.cpp
D:\Dev\CMake\bin\cmake.exe -E cmake_progress_report 
D:\DevLibs\bullet-read-only\build-cb\CMakeFiles 
[ 25%] 
Building CXX object 
src/BulletCollision/CMakeFiles/BulletCollision.dir/CollisionDispatch/btInternalE
dgeUtility.obj
cd /d D:\DevLibs\bullet-read-only\build-cb\src\BulletCollision && 
D:\Dev\MinGW\bin\g++.exe   -DUSE_GRAPHICAL_BENCHMARK -D_CRT_SECURE_NO_DEPRECATE 
-D_CRT_SECURE_NO_WARNINGS -D_IRR_STATIC_LIB_ -D_SCL_SECURE_NO_WARNINGS -O3 
-DNDEBUG @CMakeFiles/BulletCollision.dir/includes_CXX.rsp   -o 
CMakeFiles\BulletCollision.dir\CollisionDispatch\btInternalEdgeUtility.obj -c 
D:\DevLibs\bullet-read-only\src\BulletCollision\CollisionDispatch\btInternalEdge
Utility.cpp
D:\DevLibs\bullet-read-only\src\BulletCollision\CollisionDispatch\btInternalEdge
Utility.cpp: In member function 'virtual void 
btConnectivityProcessor::processTriangle(btVector3*, int, int)':
D:\DevLibs\bullet-read-only\src\BulletCollision\CollisionDispatch\btInternalEdge
Utility.cpp:310:2: internal compiler error: Segmentation fault
  }
  ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
mingw32-make.exe[2]: *** 
[src/BulletCollision/CMakeFiles/BulletCollision.dir/CollisionDispatch/btInternal
EdgeUtility.obj] Error 1
mingw32-make.exe[1]: *** 
[src/BulletCollision/CMakeFiles/BulletCollision.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
mingw32-make.exe[2]: Leaving directory `D:/DevLibs/bullet-read-only/build-cb'
mingw32-make.exe[1]: Leaving directory `D:/DevLibs/bullet-read-only/build-cb'
Process terminated with status 2 (1 minute(s), 14 second(s))
1 error(s), 0 warning(s) (1 minute(s), 14 second(s))

Original issue reported on code.google.com by slc.univ...@gmail.com on 5 Feb 2014 at 12:00

Attachments:

GoogleCodeExporter commented 9 years ago
moved to github https://github.com/bulletphysics/bullet3/issues/39

Original comment by erwin.coumans on 30 Mar 2014 at 5:05