This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13880] New: Segfault building Boost 1.30.2
- From: "peturr02 at ru dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2004 09:32:25 -0000
- Subject: [Bug c++/13880] New: Segfault building Boost 1.30.2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I got this when attempting to build Boost 1.30.2 with gcc-3.4-20040121
snapshot:
gcc-C++-action libs/python/build/bin/libboost_python.so/gcc/debug/runtime-link-
dynamic/shared-linkable-true/class.o
libs/python/build/../src/object/class.cpp: In member function `void
boost::python::instance_holder::install(PyObject*)':
libs/python/build/../src/object/class.cpp:108: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
/usr/local/bin//g++0121 -c -Wall -ftemplate-depth-100 -
DBOOST_PYTHON_DYNAMIC_LIB -DBOOST_PYTHON_SOURCE -g -O0 -fno-inline -fPIC -
I"libs/python/build" -I "/usr/include/python2.2" -I "/home/petur/lib/boost-
1.30.2-gcc-3.4" -o "libs/python/build/bin/libboost_python.so/gcc/debug/runtime-
link-dynamic/shared-linkable-
true/class.o" "libs/python/build/../src/object/class.cpp"
...failed gcc-C++-action
libs/python/build/bin/libboost_python.so/gcc/debug/runtime-link-dynamic/shared-
linkable-true/class.o...
g++ -v output:
[petur@interim lib]$ g++0121 -v Reading specs from /usr/local/lib/gcc/i686-pc-
linux-gnu/3.4.0/specs Configured with: ../gcc-3.4-20040121/configure --program-
suffix=0121 --enable-threads=posix --enable-version-specific-runtime-libs --
enable-languages=c,c++
Thread model: posix
gcc version 3.4.0 20040121 (prerelease)
Command line used to build boost:
[petur@interim lib]$ bjam "-sPYTHON_ROOT=/usr" "-sPYTHON_VERSION=2.2" "-
sGXX=g++0121" "-sGCC=gcc0121" "-sGCC_ROOT_DIRECTORY=/usr/local" "-
sGCC_STDLIB_DIRECTORY=/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0" "-sTOOLS=gcc"
--
Summary: Segfault building Boost 1.30.2
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peturr02 at ru dot is
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13880