Impossible to emerge to last version : sys-devel/gcc-4.3.2-r3 Reproducible: Always Steps to Reproduce: emerge --sync emerge -uav gcc Actual Results: checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether sbrk is declared... yes checking whether strverscmp is declared... no checking whether canonicalize_file_name must be declared... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for working strncmp... yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating config.h config.status: executing default commands make[2]: quittant le répertoire « /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build » make[1]: *** [stage2-bubble] Erreur 2 make[1]: quittant le répertoire « /var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build » make: *** [bootstrap-lean] Erreur 2 * * ERROR: sys-devel/gcc-4.3.2-r3 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 4816: Called toolchain_src_compile * environment, line 5337: Called gcc_src_compile * environment, line 3080: Called gcc_do_make * environment, line 2871: 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.2-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'. * Expected Results: something like "emerge gcc : OK"
This is not a blocker. Also, post your `emerge --info' in a comment and attach the build log as a file.
Created attachment 189833 [details] build.log of emerge gcc
Created attachment 189835 [details] emerge environment of emerge gcc
# emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0/server, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27.10-grsec-xxxx-grs-ipv6-64 x86_64) ================================================================= System uname: Linux-2.6.27.10-grsec-xxxx-grs-ipv6-64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.2.5 Timestamp of tree: Wed, 29 Apr 2009 12:30:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r2 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.7.9-r1, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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="-O2 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/" LANG="fr_FR@euro" LDFLAGS="-Wl,-O1" 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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog ldap mailwrapper midi mmx mudflap multilib mysql ncurses netboot nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl sse sse2 ssl sysfs tcpd truetype unicode xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Hello Jeroen ! Debug infos have already been added ! (see joined files please) Thank you !
If I could read French, I'd guess that would be a Segmentation Fault. That sounds like faulty hardware to me. Please check if this error is 100% reproducible, ie. happens with the same error message at the same point in the ebuild. If not, your computer is probably failing. Please use: LC_ALL=C <command> When reporting any future bugs.
http://forums.gentoo.org/viewtopic-t-766289.html looks like a kernel bug?
hardened: We have a reproducer of this problem on forums at: http://forums.gentoo.org/viewtopic-t-766289.html. He also uses the same grsec kernel. Unsure of where this belongs, so please point me in the right direction if you're not the right assignees.
The kernel is the one used by ovh (http://www.ovh.com) on their gentoo 64 bits install Switching to a more recent kernel with hardened off allowed me to compile GCC >> Linux-2.6.28.4-xxxx-std-ipv4-64-x86_64-Intel-R-_Celeron-R-_CPU_220_@_1.20GHz-with-glibc2.2.5
Out-of-tree kernel. Kernel 2.6.27.10 with grsec had numerous issues later in the 2.6.27 series cycle. We got tired of trying to fix it, hence the reason we currently have .25, .26, .28 and .29 but not .27. See bugs #254843, #255651 and http://forums.gentoo.org/viewtopic-t-728429.html. Closing as INVALID due to out-of-tree kernel.