[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

g++/cpp segmentation fault on amd64



Hi all,
it's since 1 month (more or less) that g++ and cpp have problems on my
box. I recieve the errors compiling some of my packages:

anymeal

   checking whether g++ supports -Wno-non-virtual-dtor... no
   checking how to run the C++ preprocessor... /lib/cpp
   configure: error: C++ preprocessor "/lib/cpp" fails sanity check
   See `config.log' for more details.
   make: *** [config.status] Error 1
   debuild: fatal error at line 1237:
   debian/rules build failed


mp3val

   # Add here commands to compile the package.
   /usr/bin/make -f Makefile.linux CXXFLAGS='-Wall -g -O2'
   make[1]: Entering directory `/home/morph/deb/build-area/mp3val-0.1.7'
   g++ -Wall -g -O2   -c -o main.o main.cpp
   g++: Internal error: Segmentation fault (program cc1plus)
   Please submit a full bug report.
   See <URL:http://gcc.gnu.org/bugs.html> for instructions.
   For Debian GNU/Linux specific bug reporting instructions, see
   <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.

   make[1]: *** [main.o] Error 1
   make[1]: Leaving directory `/home/morph/deb/build-area/mp3val-0.1.7'
   make: *** [build-stamp] Error 2
   debuild: fatal error at line 1237:
   debian/rules build failed


mysql-navigator

   checking how to run the C++ preprocessor... /lib/cpp
   configure: error: C++ preprocessor "/lib/cpp" fails sanity check
   See `config.log' for more details.
   make: *** [configure-stamp] Error 1
   debuild: fatal error at line 1237:
   debian/rules build failed


wmmixer

   /usr/bin/make CXXFLAGS="-Wall -g -O2"
   make[1]: Entering directory `/home/morph/deb/build-area/wmmixer-1.5'
   g++ -Wall -g -O2 -c -o xhandler.o xhandler.cc
   g++: Internal error: Segmentation fault (program cc1plus)
   Please submit a full bug report.
   See <URL:http://gcc.gnu.org/bugs.html> for instructions.
   For Debian GNU/Linux specific bug reporting instructions, see
   <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.

   make[1]: *** [xhandler.o] Error 1
   make[1]: Leaving directory `/home/morph/deb/build-area/wmmixer-1.5'
   make: *** [build-stamp] Error 2
   debuild: fatal error at line 1237:
   debian/rules build failed

Programs versions are:

$ g++ --version
g++ (GCC) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ /lib/cpp --version
cpp (GCC) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I really don't know how to trace deeper this issue, and neither if
it's amd64 related or not (so I added d-amd64 list). Can someone help
me fix this?

Thanks a lot in advance,
Sandro

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/


Reply to: