Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126218 - Gcc 4.1 Fails to emerge
Summary: Gcc 4.1 Fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-14 14:57 UTC by cesperanc@
Modified: 2006-03-15 09:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cesperanc@ 2006-03-14 14:57:50 UTC
I'm getting an error when I try emerge gcc4.1. I get this output:
-----------



/bin/sh /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/../move-if-change tmp-emit.c insn-emit.c
echo timestamp > s-emit
gcc   -O -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/. -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/../include -I/var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/gcc/../libcpp/include     -c insn-emit.c \
  -o insn-emit.o
insn-emit.c: In function `gen_fix_truncsi_i387_with_temp':
insn-emit.c:467: 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-emit.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.0/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.0/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.0 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile
  ebuild.sh, line 1272:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1482:   Called gcc_do_make

!!! emake failed with profiledbootstrap
-------------
Emerge --info outputs this:
-------------

Portage 2.1_pre6-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r7_psie i686)
=================================================================
System uname: 2.6.15-gentoo-r7_psie i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pt_PT"
LC_ALL="pt_PT.UTF-8"
LINGUAS="pt"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow 3dnowext X acpi alsa apache2 apm automount avi bash-completion berkdb bitmap-fonts cairo cli crypt ctype cups dba dhcp directfb dri dvd dvdr dvdread encode expat fastbuild fat fbcon firefox force-cgi-redirect ftp gd gdbm gif glitz glx gnome gpm gstreamer gtk gtk2 input_devices_evdev input_devices_keyboard input_devices_mouse java jpeg kdeenablefinal memlimit mmx mmxext mp3 mpeg mpeg2 mysql ncurses nls ntfs ogg opengl pango pcre php png posix quicktime rar readline reiserfs samba sdl session simplexml soap sockets spell spl sse sse-filters sse2 ssl svg tokenizer truetype truetype-fonts type1-fonts utf8 video_cards_ati vorbis wifi win32codecs wma xcomposite xine xinerama xml xmms xsl xvid zip zlib elibc_glibc input_devices_synaptic kernel_linux linguas_pt userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, PORTDIR_OVERLAY
---------------
Any ideas?
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-03-14 15:20:15 UTC
Does it happen every time in the same spot?  Also please attach the preprocessed source if it does happen in the same spot each time.
Comment 2 cesperanc@ 2006-03-15 09:01:01 UTC
Sorry...
It was my mistake... It was a problem with glibc that is working ok now. Sorry again and thanks for your help.