Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256577 - cross-i686-mingw32/gcc-4.3.2-r3: emerge error
Summary: cross-i686-mingw32/gcc-4.3.2-r3: emerge error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 23:44 UTC by Nikos Chantziaras
Modified: 2009-01-28 04:37 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 Nikos Chantziaras 2009-01-27 23:44:54 UTC
There was an update today to gcc (4.3.2-r3).  Portage wanted to upgrade to packages: sys-devel/gcc and cross-i686-mingw32/gcc (cross compiler). The normal GCC emerged correctly.  However, the cross compiler fails with no obvious error message:

make[3]: Entering directory `/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/i686-mingw32/libiberty'
if [ -z "" ]; then \
	  true; \
	else \
	  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
	  srcrootpre=`cd /var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/gcc-4.3.2/libiberty; ${PWDCMD-pwd}`/; export srcrootpre; \
	  lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
	  compiler="/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/./gcc/ -L/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/i686-mingw32/winsup/mingw -L/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/i686-mingw32/winsup/w32api/lib -isystem /var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/gcc-4.3.2/winsup/mingw/include -isystem /var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/gcc-4.3.2/winsup/w32api/include -B/usr/i686-mingw32/bin/ -B/usr/i686-mingw32/lib/ -isystem /usr/i686-mingw32/include -isystem /usr/i686-mingw32/sys-include"; \
	  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
	    dir=`echo $i | sed -e 's/;.*$//'`; \
	    if [ "${dir}" = "." ]; then \
	      true; \
	    else \
	      if [ -d ../${dir}/${lib} ]; then \
		flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
		if (cd ../${dir}/${lib}; make "AR=/usr/libexec/gcc/i686-mingw32/ar" "AR_FLAGS=rc" "CC=/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/./gcc/ -L/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/i686-mingw32/winsup/mingw -L/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/i686-mingw32/winsup/w32api/lib -isystem /var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/gcc-4.3.2/winsup/mingw/include -isystem /var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/gcc-4.3.2/winsup/w32api/include -B/usr/i686-mingw32/bin/ -B/usr/i686-mingw32/lib/ -isystem /usr/i686-mingw32/include -isystem /usr/i686-mingw32/sys-include" "CFLAGS=-O2 -g -O2 -pipe  " "DESTDIR=" "LIBCFLAGS=-O2 -g -O2 -pipe  " "EXTRA_OFILES=" "HDEFINES=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "LDFLAGS=" "LOADLIBES=" "RANLIB=/usr/libexec/gcc/i686-mingw32/ranlib" "SHELL=/bin/sh" "prefix=/usr" "exec_prefix=/usr" "libdir=/usr/lib" "libsubdir=" "tooldir=/usr/i686-mingw32" \
				CFLAGS="-O2 -g -O2 -pipe   ${flags}" \
				CCASFLAGS=" ${flags}" \
				FCFLAGS=" ${flags}" \
				FFLAGS=" ${flags}" \
				ADAFLAGS=" ${flags}" \
				prefix="/usr" \
				exec_prefix="/usr" \
				GCJFLAGS="-O2 -pipe ${flags}" \
				CXXFLAGS="-O2 -g    ${flags}" \
				LIBCFLAGS="-O2 -g -O2 -pipe   ${flags}" \
				LIBCXXFLAGS="-O2 -g    -fno-implicit-templates ${flags}" \
				LDFLAGS=" ${flags}" \
				MULTIFLAGS="${flags}" \
				DESTDIR="" \
				INSTALL="/usr/bin/install -c" \
				INSTALL_DATA="/usr/bin/install -c -m 644" \
				INSTALL_PROGRAM="/usr/bin/install -c" \
				INSTALL_SCRIPT="/usr/bin/install -c" \
				all); then \
		  true; \
		else \
		  exit 1; \
		fi; \
	      else true; \
	      fi; \
	    fi; \
	  done; \
	fi
make[3]: Leaving directory `/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/i686-mingw32/libiberty'
make[2]: Leaving directory `/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build/i686-mingw32/libiberty'
make[1]: Leaving directory `/var/tmp/portage/cross-i686-mingw32/gcc-4.3.2-r3/work/build'
make: *** [all] Error 2
 *
 * ERROR: cross-i686-mingw32/gcc-4.3.2-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4726:  Called toolchain_src_compile
 *             environment, line 5242:  Called gcc_src_compile
 *             environment, line 3038:  Called gcc_do_make
 *             environment, line 2858:  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 all

There is not error if I scroll up (the last message is just a suce. It just dies. My "emerge --info" is this:

http://bugs.gentoo.org/attachment.cgi?id=178969&action=view
Comment 1 Nikos Chantziaras 2009-01-28 04:37:53 UTC
OK, forget this, I'm closing as INVALID. I don't think this is supposed to work that way. The cross compiler should be build with crossdev. Portage itself generally doesn't seem able to update any cross compilers automatically.