Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237225 - sys-devel/gcc-4.3.1-r1 build fails with segfault at hashtab.c
Summary: sys-devel/gcc-4.3.1-r1 build fails with segfault at hashtab.c
Status: RESOLVED DUPLICATE of bug 228949
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-09 20:04 UTC by Brian Toovey
Modified: 2008-09-09 20:57 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 Brian Toovey 2008-09-09 20:04:07 UTC
building gcc fails:

	else true; fi
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DHAVE_CONFIG_H -march=opteron -fprofile-use -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libiberty/getruntime.c -o getruntime.o
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libiberty/getruntime.c: In function 'get_run_time':
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libiberty/getruntime.c:116: note: file getruntime.gcda not found, execution counts assumed to be zero
if [ x"-fpic" != x ]; then \
	  /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DHAVE_CONFIG_H -march=opteron -fprofile-use -I. -I/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  -fpic /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libiberty/hashtab.c -o pic/hashtab.o; \
	else true; fi
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libiberty/hashtab.c: In function 'htab_expand':
/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libiberty/hashtab.c:554: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[3]: *** [hashtab.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/libiberty'
make[2]: *** [all-stagefeedback-libiberty] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build'
make[1]: *** [stagefeedback-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build'
make: *** [profiledbootstrap] Error 2
 * 
 * ERROR: sys-devel/gcc-4.3.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4626:  Called toolchain_src_compile
 *             environment, line 5141:  Called gcc_src_compile
 *             environment, line 2959:  Called gcc_do_make
 *             environment, line 2782:  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 profiledbootstrap
 * 
 * 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.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.1-r1/temp/environment'.
 * 

 * Messages for package sys-devel/gcc-4.3.1-r1:

 * 
 * ERROR: sys-devel/gcc-4.3.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4626:  Called toolchain_src_compile
 *             environment, line 5141:  Called gcc_src_compile
 *             environment, line 2959:  Called gcc_do_make
 *             environment, line 2782:  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 profiledbootstrap
 * 
 * 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.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.1-r1/temp/environment'.
 * 



Reproducible: Always




# emerge --info
Portage 2.2_rc8 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.8_p20080602-r0, 2.6.23-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.23-gentoo-r2-x86_64-Dual_Core_AMD_Opteron-tm-_Processor_265-with-glibc2.2.5
Timestamp of tree: Tue, 09 Sep 2008 14:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.3-r4, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=opteron"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ "
LDFLAGS=""
MAKEOPTS="-j5"
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.gentoo.org/gentoo-portage"
USE="X a52 aac agent amd64 apache2 bash-completion bcmath berkdb bzip2 cgi cli cracklib crypt ctype curl divx dri dts dvb dvd encode examples faad2 fortran frontend gd gdbm gif gpm gtk hardened highlight iconv iproute2 ipv6 isdnlog ithreads jabber jpeg ldap live mad matroska midi mmx mp3 mudflap mysql mysqli mythtv ncurses nls nptl nptlonly nsplugin ntpdonly opengl openmp pam pcre perl png postgres pppd python quicktime readline reamr reflection server session slang snmp sock5 spl sse sse2 ssl subversion tcpd theora threadsafe tiff tokenizer truetype unicode urandom vhosts xanim xml xorg xvid 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 	mga neomagic 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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-09-09 20:57:36 UTC

*** This bug has been marked as a duplicate of bug 228949 ***