Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275071 - sys-devel/gcc-4.3.3-r2: don't compile. Segmentation Fault.
Summary: sys-devel/gcc-4.3.3-r2: don't compile. Segmentation Fault.
Status: RESOLVED DUPLICATE of bug 254843
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 16:41 UTC by Sb0y
Modified: 2009-06-23 16:42 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 Sb0y 2009-06-22 16:41:45 UTC
Then i try compile any gcc of 4 series, a'll get:

checking whether we are cross compiling... no
checking for suffix of executables... config.status: creating config.h

checking for suffix of object files... o
checking whether we are using the GNU C compiler... config.status: executing default commands
yes
checking whether  /var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ accepts -g... yes
checking for  /var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ option to accept ANSI C... none needed
checking whether  /var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ and cc understand -c and -o together... make[2]: *** [all-stage3-intl] Ошибка сегментирования
make[2]: *** Ожидание завершения заданий...
yes

[...]

* 
 * ERROR: sys-devel/gcc-4.3.3-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4803:  Called toolchain_src_compile
 *             environment, line 5329:  Called gcc_src_compile
 *             environment, line 3057:  Called gcc_do_make
 *             environment, line 2848:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/environment'.
 * 

>>> Failed to emerge sys-devel/gcc-4.3.3-r2, Log file:

>>>  '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/build.log'

 * Messages for package sys-devel/gcc-4.3.3-r2:

 * 
 * ERROR: sys-devel/gcc-4.3.3-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4803:  Called toolchain_src_compile
 *             environment, line 5329:  Called gcc_src_compile
 *             environment, line 3057:  Called gcc_do_make
 *             environment, line 2848:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/environment'.
 * 

Reproducible: Always

Steps to Reproduce:
1.compile sys-devel/gcc-4.3.3-r2 or sys-devel/gcc-4.4.0

Actual Results:  
checking whether we are cross compiling... no
checking for suffix of executables... config.status: creating config.h

checking for suffix of object files... o
checking whether we are using the GNU C compiler... config.status: executing default commands
yes
checking whether  /var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ accepts -g... yes
checking for  /var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ option to accept ANSI C... none needed
checking whether  /var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/./prev-gcc/ -B/usr/i686-pc-linux-gnu/bin/ and cc understand -c and -o together... make[2]: *** [all-stage3-intl] Ошибка сегментирования
make[2]: *** Ожидание завершения заданий...
yes

[...]

* 
 * ERROR: sys-devel/gcc-4.3.3-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4803:  Called toolchain_src_compile
 *             environment, line 5329:  Called gcc_src_compile
 *             environment, line 3057:  Called gcc_do_make
 *             environment, line 2848:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/environment'.
 * 

>>> Failed to emerge sys-devel/gcc-4.3.3-r2, Log file:

>>>  '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/build.log'

 * Messages for package sys-devel/gcc-4.3.3-r2:

 * 
 * ERROR: sys-devel/gcc-4.3.3-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4803:  Called toolchain_src_compile
 *             environment, line 5329:  Called gcc_src_compile
 *             environment, line 3057:  Called gcc_do_make
 *             environment, line 2848:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.3-r2/temp/environment'.
 * 


Portage 2.2_rc33 (hardened/linux/x86, gcc-3.4.6-vanilla, glibc-2.9_p20081201-r0, 2.6.25-hardened-r11 i686)
=================================================================
System uname: Linux-2.6.25-hardened-r11-i686-Intel-R-_Celeron-R-_CPU_2.13GHz-with-glibc2.3.2
Timestamp of tree: Sat, 13 Jun 2009 19:45:02 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r6, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.mneisen.org/ ftp://ftp.mneisen.org/gentoo http://fido.online.kz/gentoo ftp://fido.online.kz/gentoo/pub"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="activefilter async atm authdaemond autocreate autosieve bash-completion bcmath berkdb big-tables bookmarks bzip2 calendar cdb cgi chap concurrentmodphp contentcache cracklib crypt ctype curl curlwrappers cvs dbase dbmaker dhcp disassembler discard-path dovecot-sasl dri eap-tls exif extraengine fast-cgi fastcgi fdftk filter flatfile fontconfig force-cgi-redirect fpm ftp gd gecko gettext git gmp gpg gpm hardened hash html iconv inifile inquisitio ipv6 isdnlog jbig jpeg jpeg2kwmf json kilab kpoll latin1 libwww maildir mdnsresponder-compat mhash midi mktemp mod_irc mod_muc mod_pubsub mppe-mppc mudflap mysql mysqli ncurses nls nptl nptlonly odbc pam pcntl pcre pdo perl php png pop pop3d portage posix pppd python radius readline reflection rrdtool sasl sendmail serial session sharedext simplexml smp smtp snmp soal soap sockets spell spl sqlite ssl subversion suhosin svg swat syslog sysvipc sysvipx tcpd threads tidy tiff tokenizer tokinizer truetype umpio underscores unicode urandom vhosts virtual-users visibility wddx web webinterface x86 xattr xml xmlreader xmlrpc xmlwriter xorg xpm xsl yaz zip-external zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 	emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 	maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel 	mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage 	siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware 	voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sb0y 2009-06-22 16:46:08 UTC
>*** [all-stage3-intl] Ошибка сегментирования
make[2]: *** Ожидание завершения заданий...

In english version it look's like: "Error. Segmentation Fault. Terminate all tasks.". Sorry.
Comment 2 Sb0y 2009-06-22 16:49:15 UTC
I try compile sys-devel/gcc-3.4.6-r2 and it's success...
Comment 3 Gordon Malm (RETIRED) gentoo-dev 2009-06-22 20:11:21 UTC
Upgrade your kernel, 2.6.25-r11 is the cause of this.

*** This bug has been marked as a duplicate of bug 254843 ***
Comment 4 Sb0y 2009-06-23 16:42:21 UTC
thx, it's help :-)