app-office/openoffice-1.1.0 compilation is failing while making '../../unxlngi4.pro/slo/profile.obj' Reproducible: Always Steps to Reproduce: 1. app-office/openoffice Actual Results: Failed compilation ntium4 -O2 -pipe -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -pipe -mcpu=pentiumpro -fno-for-scope -fpermissive -fno-rtti -include preinclude.h -fno-exceptions -fpic -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DBUILD=8693 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX645 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxlngi4.pro/slo/process_impl.o /var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/sal/osl/unx/process_impl.cxx if ( -e ../../unxlngi4.pro/slo/process_impl.o) touch ../../unxlngi4.pro/slo/process_impl.obj ------------------------------ Making: ../../unxlngi4.pro/slo/profile.obj gcc -fmessage-length=0 -c -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxlngi4.pro/inc -I. -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/external -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/unxlngi4/inc -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/inc -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/res -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/dont_use_stl -I/var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.4.1/include -I/opt/blackdown-jdk-1.4.1/include/linux -I/opt/blackdown-jdk-1.4.1/include/native_threads/include -I/usr/X11R6/include -I. -I../../res -I. -march=pentium4 -O2 -pipe -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -pipe -mcpu=pentiumpro -fpic -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DBUILD=8693 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRX645 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxlngi4.pro/slo/profile.o profile.c {standard input}: Assembler messages: {standard input}:2861: Error: suffix or operands invalid for `movd' {standard input}:3004: Error: suffix or operands invalid for `movd' dmake: Error code 1, while making '../../unxlngi4.pro/slo/profile.obj' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.0/work/oo_1.1_src/sal/osl/unx !!! ERROR: app-office/openoffice-1.1.0 failed. !!! Function src_compile, Line 450, Exitcode 1 !!! Build failed! Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java guile ruby X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap acl cdr curl dga dvd gd plotutils sse vim-with-x xosd"
*** This bug has been marked as a duplicate of 31421 ***
What does that bug has to do with Bugzilla Bug 31421 ? Can't merge XWine-0.3.1 ("collect2: ld returned 1 exit status")
Nicholas, The problem is in your CFLAGS:- CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe" remove -march=pentium4 I would also remove -O3 too. If you want to be agressive with your CFLAGS try the following:- CFLAGS="-march=pentium3 -cpu=pentium4 -O2 -fomit-frame-pointer -pipe" OO1.1 will clean compile with the above, but will crash on you most of the times. I am not sure what CFLAGS produce the most stable builds, but if I were to recompile OO1.1 again I would not dare go past the followings:- CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" If you are impatient then: emerge oppenoffice-bin It's a lot more stable than what I was able to compile HTH
I guess I am a bit too agressive for the compilation options. I am not used to have problems with -O3 though. Trying compilation with CFLAGS="-march=pentium3 -cpu=pentium4 -O3 -fomit-frame-pointer -pipe"
Sorry the wrong bug number, but it is still a duplicate. I reversed the last two digits. In any case, I have added a flag-o-matic change for -march=pentium4 with 3.2 compilers *** This bug has been marked as a duplicate of 31412 ***
I found the problem, there was a small mistake causing the 3.2 check to fail. I accidentilly typed: if [ "$(gcc-version) = "3.2" ] instead of if [ "$(gcc-version) == "3.2" ] It is fixed now