Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121556 - crossdev-i686-gcc-3.4.5 upgrade fails because USE flags werent stored
Summary: crossdev-i686-gcc-3.4.5 upgrade fails because USE flags werent stored
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 08:30 UTC by David Pyke
Modified: 2006-04-09 21:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
complete emerge log (7157-gcc-3.4.5.log.bz2,43.47 KB, application/octet-stream)
2006-02-04 08:35 UTC, David Pyke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Pyke 2006-02-04 08:30:16 UTC
When upgrading my crossdev for i686 (for use with distcc) to gcc-3.4.5, the emerge fails with the following message:

creating libg2c.la
(cd .libs && rm -f libg2c.la && ln -s ../libg2c.la libg2c.la)
make[2]: Leaving directory `/mnt/windows/tmp/portage/gcc-3.4.5/work/build/i686-p c-linux-gnu/libf2c'
: make ; exec true CC='/mnt/windows/tmp/portage/gcc-3.4.5/work/build/gcc/xgcc -B /mnt/windows/tmp/portage/gcc-3.4.5/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/  -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include' LD='/usr/i686-pc-linux-gnu/bin/ld' LIBTOOL=' /bin/sh ./libtool' WARN_CFLAGS='-W -Wall' CFLAGS='-O2 -O2 -pipe' CPPFLAGS='' DES TDIR='' AR='i686-pc-linux-gnu-ar' RANLIB='i686-pc-linux-gnu-ranlib' prefix='/usr ' exec_prefix='/usr' libdir='/usr/lib' libsubdir='/usr/lib/gcc/i686-pc-linux-gnu /3.4.5' tooldir='/usr/i686-pc-linux-gnu' multi-do DO="all-unilib"
make[1]: Leaving directory `/mnt/windows/tmp/portage/gcc-3.4.5/work/build/i686-p c-linux-gnu/libf2c'

!!! ERROR: cross-i686-pc-linux-gnu/gcc-3.4.5 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ebuild.sh, line 1609:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1465:   Called gcc_do_make

!!! emake failed with all

I can rewind a fair distance without finding any other error message.

my emerge info:

Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.16-rc1 x86_64)
=================================================================
System uname: 2.6.16-rc1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrored.ca/ http://gentoo.mirrors.tds.net/gentoo http://prometheus.cs.wmich.edu/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/mnt/windows/pkgdir"
PORTAGE_TMPDIR="/mnt/windows/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 audiofile avi berkdb bidi binfilter bitmap-fonts blas bzip2 cairo ccache cdparanoia cdr crosscompile crypt cups curl dbus dlloader dri dts dvd dvdr dvdread emboss emul-linux-x86 encode esd expat fbcon ffmpeg firefox flac foomaticdb fortran ftp gcj gd gdbm gif gimpprint glibc-omitfp glut gnome gnome-print gpm gstreamer gtk gtk2 gtkhtml guile hal hpn icq idn ieee1394 imagemagick imlib java jpeg lapack lcms live lm_sensors logrotate lzo lzw mad maildir matroska mbox mdb mime mng motif mp3 mpeg mpm-worker msn nas ncurses network nforce2 nls nptl nptlonly nsplugin nvidia offensive ogg opengl oscar pam pdf perl php plotutils png ppds python qt quicktime readline real rtc samba sdl smp sndfile snmp soap sockets sou sox speex spell ssl svg swat tcltk tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts usb userlocales v4l vcd videos vorbis wifi wxwindows xanim xine xml xml2 xmms xpm xprint xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_nv video_cards_vesa video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS
Comment 1 David Pyke 2006-02-04 08:35:06 UTC
Created attachment 78864 [details]
complete emerge log

This is the complete emerge log for diag purposes.

bzipped for your protection ;)
Comment 2 SpanKY gentoo-dev 2006-02-04 09:55:02 UTC
what does `emerge cross-i686-pc-linux-gnu/gcc -pv` show ?
Comment 3 David Pyke 2006-02-04 13:11:01 UTC
>>> cfg-update-1.8.0-r3 : Building checksum index... (takes a few seconds)  done!

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] cross-i686-pc-linux-gnu/gcc-3.4.5  USE="fortran* gcj* gtk* nls -bootstrap -boundschecking -build -hardened -ip28 -multislot -nocxx -nopie -nossp -objc -vanilla" 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage
Comment 4 SpanKY gentoo-dev 2006-02-04 14:21:23 UTC
emerge it with USE='-fortran -gcj'
Comment 5 David Pyke 2006-02-04 18:11:32 UTC
It compiled that way.

Why does it work with those flags for my default but not crossdev?
Comment 6 SpanKY gentoo-dev 2006-04-09 21:22:06 UTC
latest versions of crossdev should handle this nicely now