./auto-host.h:23:1: warning: "DEFAULT_USE_CXA_ATEXIT" redefined In file included from ./tm.h:14, from /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/libgcov.c:39: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/defaults.h:608:1: warning: this is the location of the previous definition <SNIP> ... </SNIP> rm -rf ./libgcov.a <SNIP> ... </SNIP> for dir in libgcc 32 libgcc/32; do \ mv $dir/*.o stage1/$dir; \ mv $dir/*.os stage1/$dir || true; \ test ! -f $dir/stacknote.s || mv $dir/stacknote.s stage1/$dir; \ test ! -f $dir/libgcc.a || mv $dir/lib* stage1/$dir; \ done mv: cannot stat `libgcc/*.os': No such file or directory mv: cannot stat `32/*.os': No such file or directory mv: cannot stat `libgcc/32/*.os': No such file or directory make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.6-r1/work/build/gcc' subdirs="cp f java"; for dir in $subdirs; \ do \ if [ -d stage1/$dir ] ; then true ; else mkdir stage1/$dir ; fi ; \ done mv specs stage1/specs mv *.o insn-flags.h insn-config.h insn-codes.h insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c insn-attr.h insn-attrtab.c insn-opinit.c insn-constants.h tm-preds.h tree-check.h insn-conditions.c min-insn-modes.c insn-modes.c insn-modes.h s-flags s-config s-codes s-mlib s-genrtl s-modes s-gtype gtyp-gen.h s-output s-recog s-emit s-extract s-peep s-check s-conditions s-attr s-attrtab s-opinit s-preds s-constants s-crt0 genemit genoutput genrecog genextract genflags gencodes genconfig genpeep genattrtab genattr genopinit gengenrtl gencheck genpreds genconstants gengtype genconditions genmodes genrtl.c genrtl.h gt-*.h gtype-*.h gtype-desc.c xgcc cpp cc1 crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o gcc-cross protoize unprotoize specs collect2 collect2 gcov-iov gcov gcov-dump *.[0-9][0-9].* *.[si] libcpp.a libbackend.a libgcc.mk g++ g++-cross cc1plus g77 g77-cross f771 jc1 gcj jvgenmain gcjh jv-scan jcf-dump stage1 mv: cannot stat `s-crt0': No such file or directory mv: cannot stat `crtbegin.o': No such file or directory mv: cannot stat `crtbeginS.o': No such file or directory mv: cannot stat `crtbeginT.o': No such file or directory mv: cannot stat `crtend.o': No such file or directory mv: cannot stat `crtendS.o': No such file or directory mv: cannot stat `gcc-cross': No such file or directory mv: cannot stat `protoize': No such file or directory mv: cannot stat `unprotoize': No such file or directory mv: cannot stat `specs': No such file or directory mv: cannot stat `collect2': No such file or directory mv: cannot stat `gcov': No such file or directory mv: cannot stat `gcov-dump': No such file or directory mv: cannot stat `*.[0-9][0-9].*': No such file or directory mv: cannot stat `*.[si]': No such file or directory mv: cannot stat `g++-cross': No such file or directory mv: cannot stat `cc1plus': No such file or directory mv: cannot stat `g77-cross': No such file or directory mv: cannot stat `f771': No such file or directory mv: cannot stat `jc1': No such file or directory mv: cannot stat `jvgenmain': No such file or directory mv: cannot stat `gcjh': No such file or directory mv: cannot stat `jv-scan': No such file or directory mv: cannot stat `jcf-dump': No such file or directory make[2]: [stage1-start] Error 1 (ignored) <SNIP> ... </SNIP> make[2]: Entering directory `/var/tmp/portage/gcc-3.4.6-r1/work/build/gcc' make[2]: *** No rule to make target `01', needed by `native'. Stop. make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.6-r1/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.6-r1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-3.4.6-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1468: Called gcc_do_make toolchain.eclass, line 1342: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.6-r4, 2.6.16-ck3 x86_64) ================================================================= System uname: 2.6.16-ck3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Gentoo Base System version 1.12.1 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " LINGUAS="de us" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --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="amd64 X Xaw3d a52 aac acpi alsa apache2 avi bash-completion bcmath bdf berkdb bitmap-fonts cdb cdparanoia cli crypt cups dbus djbfft dlloader doc dri dvd dvdr dvdread eds emboss encode ethereal fbcon fftw flash foomaticdb fortran gcj gif glut gnome gpm gtk gtk2 imap imlib ipv6 isdnlog javascript jpeg jpeg2k kde kdeenablefinal kerberos lesstif libg++ lzw lzw-tiff maildir mono mp3 mpeg ncurses nis nls nptl nsplugin ocaml openal opengl pam pcre pdflib perl plotutils png posix ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session soap spell spl ssl svg symlink sysvipc tcpd threads tiff truetype-fonts type1-fonts unicode usb vcd xface xml xmlrpc xorg xpm xprint xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_us userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS After 'echo "=sys-devel/gcc-3.4.6-r1" >> /etc/portage/package.mask' same sh*t - different package/version.
works fine for me on my multilib amd64 try running: emerge gcc >& log and post the log as an attachment
Created attachment 91542 [details] /var/log/portage/4200-gcc-3.4.6-r1.log
still coesn't compile on my amd64 machine
run `emerge -v --info` and post the output as an attachment
(In reply to comment #4) > run `emerge -v --info` and post the output as an attachment That pointed definitely into the right direction - I had a setting in /etc/make.conf: LANGUAGES="01 49" for openoffice-packages v1.1.X; I removed this entry and the build succeeded. The according variable in openoffice-2.0.3 is now called LANGS - wouldn't it be more secure to name it like OOO_LANGS or so?
i dont think you're supposed to set LANGS for openoffice, i think you're supposed to set LINGUAS LANGS is used internally in the ebuild
(In reply to comment #6) > i dont think you're supposed to set LANGS for openoffice, i think you're > supposed to set LINGUAS > > LANGS is used internally in the ebuild > you're right, yes, i only looked into the ebuild - without thinking. But i still wonder, why this breaks the build. It shouldn't be a big thing to start each build with something like source /etc/make.conf && sh -c 'exec env - CFLAGS=$CFLAGS ... ebuild ... compile'.
Created attachment 92153 [details] emerge -v --info In order to close the bug not as CLOSEDNEEDINFO...
the build failed because the LANGUAGES var you had set in the env leaked into the build system and was used as the default value the gcc configure system by design allows this behavior
at this point in time we're still playing around with scrubbing the environment, but for now the answer is: dont set LANGUAGES in your env ;)