Trying to compile gcc with these USE flags: [ebuild R ] sys-devel/gcc-4.2.3 USE="(-altivec) -bootstrap -build -doc -fortran gcj* -gtk (-hardened) -ip28 -ip32r10k -libffi mudflap (-multilib) -multislot (-n32) (-n64) nls -nocxx -objc -objc++ -objc-gc -openmp -test -vanilla" 0 kB I already had gcc-4.2.3 on this system installed and now would like to get gcj; that's why I tried to recompile gcc. [...] /Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/gcc/gcj -B/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/i686-pc-linux-gnu/libjava/ -B/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/i686-pc-linux-gnu/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -O2 -march=pentium-m -pipe -fjni -findirect-dispatch -fno-indirect-classes -c @gnu-javax-sound-midi.list -fPIC -o .libs/gnu-javax-sound-midi.o /Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/gcc/gcj -B/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/i686-pc-linux-gnu/libjava/ -B/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/gcc/ -ffloat-store -fomit-frame-pointer -fclasspath= -fbootclasspath=/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/i686-pc-linux-gnu/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -O2 -march=pentium-m -pipe -fjni -findirect-dispatch -fno-indirect-classes -c @gnu-javax-sound-midi.list -o gnu-javax-sound-midi.o >/dev/null 2>&1 make[3]: *** [gnu-javax-sound-midi.lo] Fehler 1 make[3]: Leaving directory `/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/i686-pc-linux-gnu/libjava' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build/i686-pc-linux-gnu/libjava' make[1]: *** [all-target-libjava] Fehler 2 make[1]: Leaving directory `/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/work/build' make: *** [profiledbootstrap] Fehler 2 * * ERROR: sys-devel/gcc-4.2.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4535: Called toolchain_src_compile * environment, line 5004: Called gcc_src_compile * environment, line 2892: Called gcc_do_make * environment, line 2722: 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 '/Gentoo/Portage/logs/sys-devel:gcc-4.2.3:20080322-163336.log'. * The ebuild environment file is located at '/Gentoo/Portage/build/portage/sys-devel/gcc-4.2.3/temp/environment'. * alex@quirl /data/Gnome2.22/garnome-2.22.0 $ emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.22-suspend2-r2.ng.1 i686) ================================================================= System uname: 2.6.22-suspend2-r2.ng.1 i686 Intel(R) Celeron(R) M processor 1.50GHz Timestamp of tree: Thu, 20 Mar 2008 21:46:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 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.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/Gentoo/Portage/tree/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS=" http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.heanet.ie/pub/gentoo/ http://ftp.gentoo.or.kr/ http://distfiles.gentoo.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo " LANG="de_DE.utf8" LINGUAS="de" PKGDIR="/Gentoo/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="/Gentoo/Portage/build" PORTDIR="/Gentoo/Portage/tree" PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc" SYNC="rsync://rsync.ch.gentoo.org/gentoo-portage" USE="X alsa bash-completion berkdb branding cli cracklib crypt dbus dri gdbm gstreamer hal iconv isdnlog kdeenablefinal kdehiddenvisibility mmx mudflap ncurses nfs nls nptl nptlonly offensive pam pcre perl pppd python rdesktop readline reflection session spl sse sse2 ssl unicode vim-syntax wifi x86 xattr xorg zlib" ALSA_CARDS="loopback usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks ioplug ladspa lfloat linear meter 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="worker" CAMERAS="ptp2 directory" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga via" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 146936 [details] Build log, bzip2 compressed
There's no error visible anywhere; try w/ MAKEOPTS="-j1" and see if you get something more useful.
(In reply to comment #2) > There's no error visible anywhere; I know. That's why I don't understand why it failed. > try w/ MAKEOPTS="-j1" and see if you get > something more useful. Hm. MAKEOPTS isn't set. This is a uniprocessor system. Isn't -j1 the default?
the problem is the build system sends error output to /dev/null does the issue still happen with gcc-4.3.2 ? and no, the default MAKEOPTS is -j2 ...