Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31749 - app-office/openoffice-1.1.0 compilation failing
Summary: app-office/openoffice-1.1.0 compilation failing
Status: RESOLVED DUPLICATE of bug 31412
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-22 09:48 UTC by Nicolas Lidzborski
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Lidzborski 2003-10-22 09:48:30 UTC
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"
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-22 13:05:46 UTC

*** This bug has been marked as a duplicate of 31421 ***
Comment 2 Nicolas Lidzborski 2003-10-22 14:07:41 UTC
What does that bug has to do with
Bugzilla Bug 31421 ?
Can't merge XWine-0.3.1 ("collect2: ld returned 1 exit status")
Comment 3 Imad R. Faiad 2003-10-22 15:05:10 UTC
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
Comment 4 Nicolas Lidzborski 2003-10-22 16:43:36 UTC
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"
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-23 02:16:43 UTC
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 ***
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-25 13:23:07 UTC
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