Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33635 - openoffice build fails with -fprefetch-loop-arrays - this flag should be removed by the ebuild script
Summary: openoffice build fails with -fprefetch-loop-arrays - this flag should be remo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-16 13:47 UTC by Rick Warner
Modified: 2004-01-17 09:37 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 Rick Warner 2003-11-16 13:47:36 UTC
NOTE- a simple patch for this problem is at http://herphaven.no-ip.com/
openoffice-1.1.0-r2.ebuild-maskprefetch.patch  I marked this as critical just because I 
already made a patch, so no devel time is needed to solve this. 
 
With -fprefetch-loop-arrays, I get this compile error on compiling oo_1.1_src/jpeg/
unxlngi4.pro/misc/build/jpeg-6b/jdmainct.c - 
 
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-r2/work/oo_1.1_src/solver/645/
unxlngi4.pro/inc/dont_use_stl -I/var/tmp/portage/openoffice-1.1.0-r2/work/oo_1.1_src/
solver/645/unxlngi4.pro/inc/external -I/var/tmp/portage/openoffice-1.1.0-r2/work/
oo_1.1_src/solver/645/unxlngi4.pro/inc -I/var/tmp/portage/openoffice-1.1.0-r2/work/
oo_1.1_src/solenv/unxlngi4/inc -I/var/tmp/portage/openoffice-1.1.0-r2/work/
oo_1.1_src/solenv/inc -I/var/tmp/portage/openoffice-1.1.0-r2/work/oo_1.1_src/res -I/
var/tmp/portage/openoffice-1.1.0-r2/work/oo_1.1_src/solver/645/unxlngi4.pro/inc/
dont_use_stl -I/var/tmp/portage/openoffice-1.1.0-r2/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. -O2 -march=pentium4 -fprefetch-loop-arrays -pipe -fexpensive-optimizations 
-mcpu=pentium4 -fno-strict-aliasing 
-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -fno-strict-aliasing 
-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/jdmainct.o 
jdmainct.c 
{standard input}: Assembler messages: 
{standard input}:198: Error: suffix or operands invalid for `movd' 
dmake:  Error code 1, while making '../../../../unxlngi4.pro/slo/jdmainct.obj' 
---* TG_SLO.MK *--- 
dmake:  Error code 255, while making './unxlngi4.pro/misc/build/so_built_jpeg' 
---* TG_SLO.MK *--- 
 
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.0-r2/work/
oo_1.1_src/jpeg 
 
!!! ERROR: app-office/openoffice-1.1.0-r2 failed. 
!!! Function src_compile, Line 471, Exitcode 1 
 
 

Reproducible: Always
Steps to Reproduce:
1.emerge openoffice-1.1.0-r2 with the cflags in my make.conf 
2. 
3. 
Actual Results:  
Compile errors on an assembly movd instruction.	 

Expected Results:  
mask the -fprefetch-loop-arrays cflag that is causing(?) the compile error 

================================================================= 
System uname: 2.4.22-2.4.22 i686 Intel(R) Pentium(R) M processor 1500MHz 
Gentoo Base System version 1.4.3.10 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=pentium4 -fprefetch-loop-arrays -pipe 
-fexpensive-optimizations -mcpu=pentium4 -fomit-frame-pointer" 
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/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O3 -march=pentium4 -fprefetch-loop-arrays -pipe 
-fexpensive-optimizations -mcpu=pentium4 -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="rsync://gentoo.seren.com/gentoo http://212.219.247.18/sites/
www.ibiblio.org/gentoo/ http://212.219.247.13/sites/www.ibiblio.org/gentoo/ http://
gentoo.noved.org/" 
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 cups foomaticdb libg++ libwww mikmod mpeg ncurses nls 
pdflib png quicktime spell xml2 gdbm berkdb slang readline arts svga sdl gpm tcpd 
pam perl python esd imlib qt motif X gtk gnome alsa acpi apache2 crypt ssl dvd dvdr 
emacs encode gif gphoto2 java jpeg kde mad lirc maildir mmx sse mozilla sse2 mysql 
opengl pcmcia oggvorbis truetype Xaw3d xmms zlib tcltk xv nas"
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2004-01-17 09:37:27 UTC
-fprefetch-loop-arrays is now filtered out, thanks for your report