Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265130 - sys-devel/gcc fails at libgfortran
Summary: sys-devel/gcc fails at libgfortran
Status: RESOLVED DUPLICATE of bug 265064
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 17:06 UTC by Mike Harvey
Modified: 2011-10-30 23:16 UTC (History)
3 users (show)

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 Mike Harvey 2009-04-06 17:06:33 UTC
This appears similar to bug #252238.  Trying to upgrade gcc from version 4.2.2 to latest version 4.3.3-r2.  Have tried to compile with LC_ALL="C" (as discussed in bug #252238), but it doesn't help.  I was able to compile gcc-4.2.4 successfully.  Here's the tail of the emerge log:

libtool: link: /usr/x86_64-pc-linux-gnu/bin/ranlib .libs/libgfortran.a
libtool: link: creating libgfortran.la
libtool: link: ( cd ".libs" && rm -f "libgfortran.la" && ln -s "../libgfortran.la" "libgfortran.la" )
make[6]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/x86_64-pc-linux-gnu/32/libgfortran'
make[5]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/x86_64-pc-linux-gnu/32/libgfortran'
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/x86_64-pc-linux-gnu/libgfortran'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/x86_64-pc-linux-gnu/libgfortran'
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build/x86_64-pc-linux-gnu/libgfortran'
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/build'
make: *** [bootstrap-lean] Error 2
 * 
 * ERROR: sys-devel/gcc-4.3.3-r2 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 4827:  Called toolchain_src_compile
 *             environment, line 5348:  Called gcc_src_compile
 *             environment, line 3109:  Called gcc_do_make
 *             environment, line 2900:  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/log/portage/sys-devel:gcc-4.3.3-r2:20090405-222437.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/log/portage/sys-devel:gcc-4.3.3-r2:20090405-222437.log'

*********************************************************

Results of emerge --info

# emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.2.2, glibc-2.7-r1, 2.6.28-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5
Timestamp of tree: Sun, 05 Apr 2009 22:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.7
dev-lang/python:     2.4.4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.7-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 acl alsa amd64 asf berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr exif ffmpeg firefox flac fortran gdbm gfx gnome gpm hal iconv imagemagick ipod ipv6 isdnlog java jpeg jpeg2k kdeprefix midi mmx mozilla mp3 mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ofx ogg opengl openmp pam pcre perl pppd python quotes readline reflection samba session spl sse sse2 ssl sysfs tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis wifi xine xorg xscreensaver zlib" ALSA_CARDS="via82xx" 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" CAMERAS="canon sony" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-04-06 18:56:50 UTC
is there a specific reason why you felt it necessary to report this bug twice?

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