Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8129 - Unable to compile: /lib/cpp | g++ Segmentation fault

Attached to Project: Arch Linux
Opened by fmk (clownish) - Wednesday, 26 September 2007, 07:12 GMT
Last edited by Jan de Groot (JGC) - Friday, 28 September 2007, 06:25 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture i686
Severity High
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After pacman -Syu, 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)

Additional info:
* package version(s)

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

* config and/or log files etc.

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/Linux

see also: http://bbs.archlinux.org/viewtopic.php?id=37763

Steps to reproduce: Try to compile something
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 28 September 2007, 06:25 GMT
Reason for closing:  Works for me
Additional comments about closing:  Works here, looking at the forum thread this was a bad installation of gcc, pacman -S gcc-libs gcc should fix this.
Comment by Jan de Groot (JGC) - Wednesday, 26 September 2007, 08:29 GMT
What happens when you change your CFLAGS to the default?
Comment by fmk (clownish) - Wednesday, 26 September 2007, 08:31 GMT
I get nearly the same errors with default flags.
Comment by Eric Belanger (Snowman) - Thursday, 27 September 2007, 05:36 GMT
Try reinstalling gcc-libs

Loading...