when re-building 'world' with gcc-4.3.3 on a native arm system, emerge stops at proc/sysinfo. The build log shows the following error: proc/sysinfo.c:896: internal compiler error: Segmentation fault full build log attached. This happens both on a) actual hardware (FA526 based NAS, IB-NAS4210B) b) qemu arm system emulating a versatile platform (-M versatilepb) gcc-4.1.2 didn't have any issues building this package. gcc-4.1.2 was also used to build gcc-4.3.3. Reproducible: Always Steps to Reproduce: emerge --oneshot sys-process/procps emerge --info (real hardware IB-NAS4210B): Portage 2.1.6.7 (default/linux/arm/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.15 armv4l) ================================================================= System uname: Linux-2.6.15-armv4l-FA526id-wb-_rev_1_-v4l-with-glibc2.0 Timestamp of tree: Mon, 23 Feb 2009 23:45:02 +0000 app-shells/bash: 3.2_p48-r1 dev-lang/python: 2.4.4-r6, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.8 sys-devel/autoconf: 2.63 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="arm ~arm" CBUILD="armv4l-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=strongarm110" CHOST="armv4l-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O1 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ " LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl arm avahi berkdb bzip2 cli cracklib crypt cups fortran gdbm gpm iconv ipv6 isdnlog mdnsresponder-compat midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppds pppd python readline reflection session spl ssl sysfs tcpd unicode vorbis xorg zlib" 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 mach64 mga nv r128 radeon savage sis tdfx trident vga voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY emerge --info (qemu): portage 2.1.6.7 (default/linux/arm/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.18-6-versatile armv5tejl) ================================================================= System uname: Linux-2.6.18-6-versatile-armv5tejl-ARM926EJ-S_rev_5_-v5l-with-glibc2.0 Timestamp of tree: Wed, 18 Feb 2009 23:15:02 +0000 app-shells/bash: 3.2_p48-r1 dev-lang/python: 2.4.4-r6, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.7 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="arm ~arm" CBUILD="armv4l-unknown-linux-gnu" CFLAGS="-O2 -pipe -march=armv4" CHOST="armv4l-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=armv4" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ " LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl arm avahi berkdb bzip2 cli cracklib crypt cups fortran gdbm gpm iconv ipv6 isdnlog mdnsresponder-compat midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppds pppd python readline reflection session spl ssl sysfs tcpd unicode vorbis xorg zlib" 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 mach64 mga nv r128 radeon savage sis tdfx trident vga voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 183812 [details] build.log
Created attachment 184737 [details, diff] Upstream gcc patch for versions < 4.4 This patch fixes the problem for all gcc versions < 4.4. Please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36209 for details.
(In reply to comment #2) Tested on armv4tl-softfloat-gnueabi (also with procps).
added the patch to gcc patchset, thanks http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.3.3/gentoo/67_all_gcc43-pr35964.patch?rev=1.1
Can we get this added to 4.3.2-r3? Since its whats going to be stable... bug 264121
I can confirm that adding this patch to gcc-4.3.2-r3 makes procps compile properly (tested with armv5tel-softfloat-linux-gnueabi).
added to 4.3.2 patchset http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.3.2/gentoo/67_all_gcc43-pr35964.patch?rev=1.1