I've tried with CFLAGS="", and CFLAGS="-O2". I'll try it with MAKEOPTS="" now also. zapp ernstp # emerge info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo) ================================================================= System uname: 2.6.7-gentoo i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/private_overlay /usr/local/bmg_gnome_current /usr/local/bmg_overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac alsa apache2 apm avi berkdb bonobo cdr crypt cups curl dga doc dvd encode esd faad fam fbcon ffmpeg foomaticdb gcj gdbm gif gimpprint gnome gnomedb gnutls gphoto2 gpm gtk gtk2 gtkhtml icq imap imlib imlib2 jabber java jpeg kde ldap libg++ libwww mad mikmod mmap mmx mng mono mozilla mpeg mpeg4 msn ncurses nls nptl objc offensive oggvorbis openal opengl oscar pam pda pdflib perl plotutils png pthreads python readline samba scanner sdk sdl slang spell ssl stencil-buffer svg svga tcltk tcpd theora threads tiff truetype type1 uml unicode usb x86 xine xml2 xv zlib" ============= Building project external ============= /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/external/w4w mkout -- version: 1.3 ------------------------------ Making: ../unxlngi4.pro/misc/w4w.dpc dmake subdmake=true -f makefile.mk strip="true" product="full" depend=t ALLDPC ------------------------------ No Dependencies ------------- /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/external/gcc3_specific gccinstlib.pl libstdc++.so.5 /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/solver/645/unxlngi4.pro/lib printf (...) interpreted as function at /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/solenv/bin/gccinstlib.pl line 77. Foo at /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/solenv/bin/gccinstlib.pl line 70. dmake: Error code 255, while making '/var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/solver/645/unxlngi4.pro/lib/libstdc++.so.5' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.1.59/work/oo_1.1.1_src/external/gcc3_specific !!! ERROR: app-office/openoffice-ximian-1.1.59 failed. !!! Function src_compile, Line 382, Exitcode 1 !!! Build failed! Reproducible: Always Steps to Reproduce:
MAKEOPTS="" didn't help either.
Same happens with 1.1.60. I'll try 1.1.61 right now...
Allright, I've tracked the bug, and posted about it on ximians bugzilla. So I'll check this as upstream I guess? The fix would be something like this: --- solenv/bin/gccinstlib.pl.old 2004-08-11 15:18:41.614064656 +0200 +++ solenv/bin/gccinstlib.pl 2004-08-11 15:19:26.851187568 +0200 @@ -105,7 +105,7 @@ $cc = $ENV{'CC'} || die "No CC environment set"; - open (GCCOut, "$cc -print-search-dirs|") || die "Failed to exec $cc -print-search-dirs: $!"; + open (GCCOut, "bash -c \"LC_ALL=local $cc -print-search-dirs\"|") || die "Failed to exec $cc -print-search-dirs: $!"; while (<GCCOut>) { if (/^([a-zA-Z]+): [=]{0,1}(.*)/) {