Making: ../unxlngx6.pro/lib/libsblx.so g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -shared -L../unxlngx6.pro/lib -L../lib -L/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solenv/unxlngx6/lib -L/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/lib -L/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solenv/unxlngx6/lib -LNO_JAVA_HOME/lib64 -LNO_JAVA_HOME/jre/lib/amd64 -LNO_JAVA_HOME/jre/lib/amd64/server -LNO_JAVA_HOME/jre/lib/amd64/native_threads -L/usr/lib -L/usr/lib64/xulrunner-1.9/sdk/lib ../unxlngx6.pro/slo/sb_dflt_version.o -o ../unxlngx6.pro/lib/libsblx.so ../unxlngx6.pro/slo/basmgr.o ../unxlngx6.pro/slo/basicmanagerrepository.o ../unxlngx6.pro/slo/sb.o ../unxlngx6.pro/slo/sbxmod.o ../unxlngx6.pro/slo/image.o ../unxlngx6.pro/slo/sbintern.o ../unxlngx6.pro/slo/sbunoobj.o ../unxlngx6.pro/slo/propacc.o ../unxlngx6.pro/slo/disas.o ../unxlngx6.pro/slo/errobject.o ../unxlngx6.pro/slo/eventatt.o ../unxlngx6.pro/slo/sbcomp.o ../unxlngx6.pro/slo/dim.o ../unxlngx6.pro/slo/exprtree.o ../unxlngx6.pro/slo/exprnode.o ../unxlngx6.pro/slo/exprgen.o ../unxlngx6.pro/slo/codegen.o ../unxlngx6.pro/slo/io.o ../unxlngx6.pro/slo/loops.o ../unxlngx6.pro/slo/parser.o ../unxlngx6.pro/slo/scanner.o ../unxlngx6.pro/slo/token.o ../unxlngx6.pro/slo/symtbl.o ../unxlngx6.pro/slo/buffer.o ../unxlngx6.pro/slo/namecont.o ../unxlngx6.pro/slo/scriptcont.o ../unxlngx6.pro/slo/dlgcont.o ../unxlngx6.pro/slo/sbmodule.o ../unxlngx6.pro/slo/sbservices.o ../unxlngx6.pro/slo/modsizeexceeded.o ../unxlngx6.pro/slo/basrdll.o ../unxlngx6.pro/slo/inputbox.o ../unxlngx6.pro/slo/runtime.o ../unxlngx6.pro/slo/step0.o ../unxlngx6.pro/slo/step1.o ../unxlngx6.pro/slo/step2.o ../unxlngx6.pro/slo/iosys.o ../unxlngx6.pro/slo/stdobj.o ../unxlngx6.pro/slo/stdobj1.o ../unxlngx6.pro/slo/methods.o ../unxlngx6.pro/slo/methods1.o ../unxlngx6.pro/slo/props.o ../unxlngx6.pro/slo/ddectrl.o ../unxlngx6.pro/slo/dllmgr.o ../unxlngx6.pro/slo/sbxbase.o ../unxlngx6.pro/slo/sbxres.o ../unxlngx6.pro/slo/sbxvalue.o ../unxlngx6.pro/slo/sbxvals.o ../unxlngx6.pro/slo/sbxvar.o ../unxlngx6.pro/slo/sbxarray.o ../unxlngx6.pro/slo/sbxobj.o ../unxlngx6.pro/slo/sbxcoll.o ../unxlngx6.pro/slo/sbxexec.o ../unxlngx6.pro/slo/sbxint.o ../unxlngx6.pro/slo/sbxlng.o ../unxlngx6.pro/slo/sbxsng.o ../unxlngx6.pro/slo/sbxmstrm.o ../unxlngx6.pro/slo/sbxdbl.o ../unxlngx6.pro/slo/sbxcurr.o ../unxlngx6.pro/slo/sbxdate.o ../unxlngx6.pro/slo/sbxstr.o ../unxlngx6.pro/slo/sbxbool.o ../unxlngx6.pro/slo/sbxchar.o ../unxlngx6.pro/slo/sbxbyte.o ../unxlngx6.pro/slo/sbxuint.o ../unxlngx6.pro/slo/sbxulng.o ../unxlngx6.pro/slo/sbxform.o ../unxlngx6.pro/slo/sbxscan.o ../unxlngx6.pro/slo/sbxdec.o -luno_cppu -luno_cppuhelpergcc3 -ltllx -lsvtlx -lsvllx -lvcllx -lvos3gcc3 -luno_sal -lcomphelp4gcc3 -lutllx -lsotlx -lvos3gcc3 -lxcrlx -ljlx_g -ldl -lpthread -lm ../unxlngx6.pro/slo/image.o: In function `SbiImage::Load(SvStream&, unsigned int&)': image.cxx:(.text+0x9c8): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()' image.cxx:(.text+0x9d0): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()' ../unxlngx6.pro/slo/image.o: In function `SbiImage::Save(SvStream&, unsigned int)': image.cxx:(.text+0x10cd): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()' image.cxx:(.text+0x10d5): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()' collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngx6.pro/lib/libsblx.so' ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/basic/util rmdir /tmp/27173 make: *** [stamp/build] Error 1 Reproducible: Always Steps to Reproduce: # emerge --info Portage 2.2_rc20 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27.10 x86_64) ================================================================= System uname: Linux-2.6.27.10-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2354-with-glibc2.2.5 Timestamp of tree: Tue, 30 Dec 2008 07:00:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1-r1 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=barcelona -mtune=barcelona -O2 -finline-functions -pipe" CHOST="x86_64-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/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bash_completion.d /etc/bonobo-activation /etc/ca-certificates.conf /etc/cups /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fish /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gtk /etc/gtk-2.0 /etc/hotplug /etc/hotplug.d /etc/imlib /etc/init.d /etc/iproute2 /etc/nas /etc/ntop /etc/pam.d /etc/pango /etc/profile.d /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sgml /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/udev/rules.d /etc/xinetd.d /etc/xml /etc/zsh" CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -finline-functions -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --jobs=1 --with-bdeps=y" FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed" LINGUAS="de en" MAKEOPTS="-j7" PKGDIR="/usr/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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.0.254/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa amd64 asf avi berkdb branding bzip2 cairo cdparanoia cdr cli cracklib crypt cups dvd dvdr dvdread emboss encode fam ffmpeg flac gdbm gif gnutls gpg gtk iconv idn imagemagick imlib isdnlog jpeg jpeg2k kde kdehiddenvisibility lame libwww mad midi mikmod mjpeg mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdf png pppd qt3 qt3support quicktime readline reflection sdl session silc slang smp spell spl sse sse2 ssl startup-notification svg sysfs tga theora threads tiff truetype usb v4l2 vcd vorbis x264 xcomposite xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Removing -Wl,--as-needed from LDFLAGS doesn't help as the openoffice build seems to gather the LDFLAGS from somewhere else than portage's build environment and I have built my whole system with --as-needed. I will attach a whole build log bzip2-compressed and with MAKEOPTS set to -j1.
Created attachment 176872 [details] openoffice-3.0.0-build.log.bz2 bzip2 compressed build log as uncompressed build log is about 7,4 MB of size.
I guess this is with a recent Firefox 3.1 beta? If yes: This is not supported yet, so you'll have to disable the nsplugin use-flag for the time being
bug 151869 evil -finline-functions flag
(In reply to comment #2) > I guess this is with a recent Firefox 3.1 beta? If yes: This is not supported > yet, so you'll have to disable the nsplugin use-flag for the time being No, I don't have firefox-3.1_beta installed on this system. I have net-libs/xulrunner-1.9.0.5 www-client/mozilla-firefox-3.0.5 installed and some CVS version of seamonkey-2. Anyway, removing the nsplugin USE flag didn't have any effect. The build still fails with the same error. I'm going to try removing -finline-functions now.
Alright, removing -finline-functions and running emerge with MAKEOPTS="-j1" fixed my problems with emerging openoffice... Andreas... big sorry for wasting your time. Honestly... I was very afraid of filing this bug because I always had the feeling that the build faliures were caused by me. Unfortunately I completely missed to check my C{,XX}FLAGS, too. Hanno, thanks for providing the right hints to solve this problem. Happy new year to you both Regards Poly-C *** This bug has been marked as a duplicate of bug 151869 ***