You are not logged in.

#1 2007-09-24 17:23:57

clownish
Member
Registered: 2007-09-24
Posts: 7

After Pacman -Syu: Various Builds: /lib/cpp | g++ Segmentation fault

Hey Community:
After i did an pacman -Syu yesterday, many abs-packages do not compile and end up with messages like (config.log):

configure:5917: g++ -c -g  conftest.cc >&5
g++: Internal error: Segmentation fault (program cc1plus)
[...]
configure:5989: g++ -c -O2 -march=prescott -pipe -fomit-frame-pointer  conftest.cc >&5
g++: Internal error: Segmentation fault (program cc1plus)
[...]
configure:6221: g++ -E  conftest.cc
g++: Internal error: Segmentation fault (program cc1plus)
[...]
configure:6304: result: /lib/cpp
configure:6328: /lib/cpp  conftest.cc
cpp: Internal error: Segmentation fault (program cc1plus)

form /var/log/packman.log:

[2007-09-23 13:33] gcc-libs (4.2.1-2) installiert
[2007-09-23 13:33] gcc (4.2.1-3.1 -> 4.2.1-5) aktualisiert
[2007-09-23 13:35] libstdc++5 (3.3.6-1 -> 3.3.6-2) aktualisiert

gcc -v:

Ziel: i686-pc-linux-gnu
Konfiguriert mit: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread-Modell: posix
gcc-Version 4.2.1

uname -a:

Linux localhost 2.6.22-ARCH #1 SMP PREEMPT Thu Sep 20 19:43:47 CEST 2007 i686 Genuine Intel(R) CPU           T2250  @ 1.73GHz GenuineIntel GNU/L

Does anybody has similar problems and/or is able to help me?
I'm sorry for my worse english by the way.

Regards,
Fabian

Last edited by clownish (2007-09-24 17:25:48)

Offline

#2 2007-09-25 08:29:44

cactus.ed
Member
From: The lonesome crowded west
Registered: 2007-08-11
Posts: 32

Re: After Pacman -Syu: Various Builds: /lib/cpp | g++ Segmentation fault

same here....

[build@ArchNate splix]$ makepkg
==> Making package: splix 1.0.1-1b (Wed Sep 26 02:18:03 MDT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
   -> Downloading splix-1.0.1-1.tar.bz2
--02:18:03--  http://dl.sf.net/splix/splix-1.0.1-1.tar.bz2
           => `splix-1.0.1-1.tar.bz2'
Resolving dl.sf.net... 193.190.198.97, 193.1.219.87, 195.141.111.5, ...
Connecting to dl.sf.net|193.190.198.97|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37,871 (37K) [application/x-bzip2]

100%[====================================>] 37,871        50.18K/s             

02:18:04 (50.02 KB/s) - `splix-1.0.1-1.tar.bz2' saved [37871/37871]

==> Validating source files with md5sums
    splix-1.0.1-1.tar.bz2 ... Passed
==> Extracting Sources...
   -> tar -xf splix-1.0.1-1.tar.bz2
==> Starting build()...
make[1]: Entering directory `/home/build/splix/src/splix-1.0.1-1/src'
g++ -O2 `cups-config --cflags`  -I../include -Wall -g -O0   -c -o spl2.o spl2.cpp
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [spl2.o] Error 1
make[1]: Leaving directory `/home/build/splix/src/splix-1.0.1-1/src'
make: *** [src] Error 2
==> ERROR: Build Failed.  Aborting...

Offline

#3 2007-09-27 17:07:17

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: After Pacman -Syu: Various Builds: /lib/cpp | g++ Segmentation fault

Try to reinstall gcc and gcc-libs. Something might be missing on your system in these packages, I haven't seen this one before.

Offline

#4 2007-09-27 19:19:35

cactus.ed
Member
From: The lonesome crowded west
Registered: 2007-08-11
Posts: 32

Re: After Pacman -Syu: Various Builds: /lib/cpp | g++ Segmentation fault

JGC wrote:

Try to reinstall gcc and gcc-libs. Something might be missing on your system in these packages, I haven't seen this one before.

Thanks for your help.

I updated to the latest kernel (2.6.22.8-1) and reinstalled gcc and gcc-libs and the issue seems to be resolved. 

-nate

Offline

#5 2007-09-29 14:45:13

clownish
Member
Registered: 2007-09-24
Posts: 7

Re: After Pacman -Syu: Various Builds: /lib/cpp | g++ Segmentation fault

same here^^.

Offline

Board footer

Powered by FluxBB