View previous topic :: View next topic |
Author |
Message |
firepol n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/117320629345b2a2c19cfb4.gif)
Joined: 04 Dec 2006 Posts: 15 Location: Switzerland
|
Posted: Mon May 28, 2007 9:15 pm Post subject: emerge gcc 4.1.2 failed |
|
|
Hi there
that's what I get if i try to emerge gcc... well, in reality I was trying to emerge -avDN quanta, but it blocked at gcc compilation as follows:
Quote: |
-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 /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/regclass.c -o regclass.o
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/regclass.c: In function `reg_scan_update':
/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/regclass.c:2360: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [regclass.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
!!! ERROR: sys-devel/gcc-4.1.2 failed.
Call stack:
ebuild.sh, line 1615: Called dyn_compile
ebuild.sh, line 972: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1305: Called toolchain_src_compile
toolchain.eclass, line 26: Called gcc_src_compile
toolchain.eclass, line 1537: Called gcc_do_make
toolchain.eclass, line 1411: Called die
|
The complete log stack doens't say more than this.. which says "The bug is not reproducible, so it is likely a hardware or OS problem." so I don't really understand what I can do...
Please help...
Now I've put gcc =4.1.2 in my package.mask, hoping that gcc 4.1.1-r3 will work...
Anyway I'd like to know if i'm the only one with this problem and if you can help me to solve fur future (upgrading) purposes...
Thank you
Here my emerge --info:
Quote: |
emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r1, 2.6.21-gentoo-r2 i686)
=================================================================
System uname: 2.6.21-gentoo-r2 i686 AMD Athlon(TM) XP2100+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 28 May 2007 16:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ "
LANG="en_US"
LINGUAS="en en_US en_GB it"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif glitz gnokii gpm gstreamer gtk hal iconv ipv6 irmc isdnlog jpeg kde libg++ mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support quicktime readline reflection samba sdl session spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zip zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB it" USERLAND="GNU" VIDEO_CARDS="vesa vga vmware r128 nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu May 31, 2007 4:12 pm Post subject: |
|
|
Quote: | which says "The bug is not reproducible, so it is likely a hardware or OS problem." so I don't really understand what I can do... |
what dont you understand? Start looking for the hardware problem.
make sure your CPU is not overheating , blow fluff out of you system , run memtest86 (install it or run just about any linux distro CD and check the boot options , it's usually there).
It almost always heavy compiler jobs like this that show up a hardware problem.
try emerge kdelibs and I'll bet the same thing happens.
HTH ![Cool 8)](images/smiles/icon_cool.gif) _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
firepol n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/117320629345b2a2c19cfb4.gif)
Joined: 04 Dec 2006 Posts: 15 Location: Switzerland
|
Posted: Thu May 31, 2007 8:32 pm Post subject: |
|
|
thanks for your answer.
now that you point me out the hardware problems... i had some issues in the past and in the past i runned memtest to see if it was a ram problem, memtest didn't find any bad ram blocks...
i solved these old problems by replacing the power supply and the cpu cooler (I put a zalman, very powerful and silent).
if i emerge all other apps I have no problems... also re-emerging gcc, older version : 4.1.1 it didn't hang, emerging kdelibs 3.5.7 didn't give problems...
so im quite sure it's not a hardware problem...
anyway, i masked gcc 4.1.2 and im quite happy now, even if it's not really a "solved" problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gentree Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/1364161114417d616b9645b.jpg)
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu May 31, 2007 9:21 pm Post subject: |
|
|
gcc-4.2 has recently gone stable upstream (not sure if gentoo has it marked stable yet). You may like to try that since 4.1.x produces some of the slowest code of any gcc release in a long time.
There's a thread in "unsupported" forum but all looks good on most platforms now.
![Cool 8)](images/smiles/icon_cool.gif) _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fred0 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/16029894804cb5bf5000536.jpg)
Joined: 17 Apr 2006 Posts: 81 Location: France
|
Posted: Mon Jun 04, 2007 4:40 pm Post subject: |
|
|
firepol wrote: | anyway, i masked gcc 4.1.2 and im quite happy now, even if it's not really a "solved" problem. |
Same problem here but other solution:
By doing multiple time :
Code: | ebuild /usr/portage/sys-devel/gcc/gcc-4.1.2.ebuild compile |
folowed by :
Code: | ebuild /usr/portage/sys-devel/gcc/gcc-4.1.2.ebuild install
ebuild /usr/portage/sys-devel/gcc/gcc-4.1.2.ebuild qmerge |
gcc has compiled after many seg faults.
Probably an hardware pb, but i'v no time to investigate. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|