gcc and glibc can't emerge

Anything that pertains to Portage

Moderator: Moderators

gcc and glibc can't emerge

Postby paul555 » Fri Aug 24, 2007 10:05

Hi all i installed 3.4e and as i describe here i want to upgrade sabayon.While the emerge of the system gcc and glibc are failing to compile constantly with those errors
Code: Select all
gcc   -O -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../libcpp/include     -c insn-attrtab.c \
          -o insn-attrtab.o
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/i386.md: In function ‘insn_default_latency’:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/i386.md:207: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [insn-attrtab.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [profiledbootstrap] Error 2

Code: Select all
mkdir /var/tmp/portage/sys-libs/glibc-2.5-r1/work/build-default-i586-pc-linux-gnu-nptl/iconvdata
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r1/work/glibc-2.5/iconvdata'
make[2]: Entering directory `/var/tmp/portage/sys-libs/glibc-2.5-r1/work/glibc-2.5/iconvdata'
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r1/work/glibc-2.5/iconvdata'
make -j2 -s  subdir=locale -C locale ..=../ subdir_lib
make[2]: Entering directory `/var/tmp/portage/sys-libs/glibc-2.5-r1/work/glibc-2.5/locale'
mkdir /var/tmp/portage/sys-libs/glibc-2.5-r1/work/build-default-i586-pc-linux-gnu-nptl/locale
i586-pc-linux-gnu-gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5-r1/work/build-default-i586-pc-linux-gnu-nptl/locale/lc-numeric.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r1/work/glibc-2.5/locale'
make[1]: *** [locale/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r1/work/glibc-2.5'
make: *** [all] Error 2

Does anyone have an idea how to solve this?
Baby Hen
Posts: 4
Joined: Thu Jun 07, 2007 12:32

Re: gcc and glibc can't emerge

Postby DontPanic » Fri Aug 24, 2007 11:49

While this may not be the problem, something that would be good to eliminate would be a memory problem.

Could you run memtest on the system to confirm the memory is OK ?

Also, post your make.conf file.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU [email protected] 2.66GHz
nVidia GeForce 7600 GS
Old Dear Hen
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: gcc and glibc can't emerge

Postby paul555 » Fri Aug 24, 2007 12:15

My make.conf is this
Code: Select all
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-Os -march=i586 -mno-tls-direct-seg-refs -mmmx -m32"
#LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
USE="-oss voice weather libao -esd amarok xine java mp3 gnutls cups ppds foomatic-db alsa \
hal gimpprint freetype gnome X gtk spell arts gtk2 unicode moznocompose moznoirc moznomail kde qt livecd samba \
rdesktop kerberos xscreensaver pda zeroconf wifi gnokii lm_sensors ieee1394 logitech-mouse xinerama \
bluetooth irda sms quotas dvb nvidia  \
xprint dvd theora ogg a52 kdeenablefinal win32codecs v4l xvid network dvdread fame \
quicktime -kerberos winbind libclamav subversion ruby svg ffmpeg nsplugin \
wmf 7Zip visualization accessibility css audiofile artswrappersuid musicbrainz \
gphoto2 povray scanner musepack dvdr jack new-login commercial kerberos \
mono pam_console pwdb dbus firefox acpi kqemu esd pcmcia openexr rar dri aac dlloader \
fat hfs jfs xfs ntfs reiserfs cjk cdda dts imap flash jabber msn yahoo icq irc lj aim bidi rss dxr3 \
cairo sysfs xpm nptl nptlonly reiser4 gs dv lzo mjpeg mmx speex slp fftw real joystick asf xvmc mythtv v4l2 cpudetection \
matroska vcd libcaca sndfile plugin inkjar effects streams skins wxwindows xosd extraicons speech extramodules mail -apm \
config_wizard krb4 dga lcd chm spreadsheet webservices pdf xsl ext-man ext-rtf ext-tex pascal clearcase ada glitz \
gcj switch_all_desktops ipod flac exscalibar ole evo avahi stream live kdehiddenvisibility tiff usb kipi aiglx musicbrainz x264 3dfx pulseaudio \
x264 dv lame mp3rtp udev cdr beagle dvi djvu libnotify bzip2 aalib mng startup-notification openal jingle gsm dbox2"
CONFIG_PROTECT="/usr/kde/3.5/share/config/kdm/ /etc"
VIDEO_CARDS="fbdev  nv nvidia sis tga v4l v4l2 vesa vga"
INPUT_DEVICES="keyboard mouse joystick"
source /usr/portage/local/layman/make.conf
LIRC_DEVICES="audio audio_alsa"

I will run now memtest and see for memory errors
Baby Hen
Posts: 4
Joined: Thu Jun 07, 2007 12:32

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest