Hi, i tried to emerge openoffice-1.1.2 and it stops with these message: <snip> dmake has been successfully built * Building OpenOffice.org... build -- version: 1.86.18.2 Checking dmake... ============= Building project helpcontent ============= /data1/root/var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/helpcontent/unx/schart ERROR: Error 11 occurred while making /data1/root/var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/helpcontent/unx/schart !!! ERROR: app-office/openoffice-1.1.2 failed. !!! Function src_compile, Line 352, Exitcode 1 !!! Build failed! </snap> Reproducible: Always Steps to Reproduce: 1. emerge openoffice-1.1.2 (no revision, plain 1.1.2 ebuild) Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.5) ================================================================= System uname: 2.6.5 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse" 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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse" DISTDIR="/usr/distfiles" FEATURES="autoaddcvs distcc fixpackages" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/data1/root/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3ds X X509 Xaw3d aac aalib acl acpi acpi4linux activefilter adabas adns alsa antlr apache2 arts audiofile avantgo avi berkdb bluetooth bonobo bsh bzlib cap cddb cdf cdparanoia cdr cdrom cgi chasen chroot composite crypt cscope cups curl dga dillo divx4linux dnd doc dv dvd dvdread editor edl emacs encode erandom escreen esd ethereal etwin evo fam ffmpeg fftw firebird flac flash flatfile flood fltk fluidsynth fmod foomaticdb freetds freewnn frontbase ftp fullrpc gb gcl gd gdbm gdpm ggi gif gimp gimpprint glade glut gmp gmtfull gmthigh gnome gnomedb gnuplot gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci hdf hdf5 idea idl image imagemagick imap imlib imlib2 innodb ipv6 jabber jack java javamail javascript jikes jpeg junit justify jython kadu-modules kadu-voice kakasi kde kerberos ladcca lcms ldap leim libcaca libg++ libgda libsamplerate libwww live lm_sensors lufsusermount lzo lzw lzw-tiff mad matroska mbox mcal md5sum migemo mikmod mldonkeypango mmx mng monkey mono motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mpeg mpeg4 mpi mplayer msdav msn mssql mule mysql mythtv nas ncurses network nls nntp nocardbus nocstrike nodod nptl nvidia odbc offensive ofx oggvorbis opengl opie oscar ospfapi oss pam pcre pda pdflib perl php physfs pic plotutils png pnp portaudio postgres psyco python qt quicktime radius readline recode regexp rplay rtc ruby samba sasl scanner sdk sdl slang slp socks5 sox speex spell sqlite sse ssl stencil-buffer stroke svg svga t1lib tcltk tcpd tetex tga theora threads tiff transcode truetype ucs4 unicode usb v4l v4l2 vhosts vim-with-x wmf wxwin wxwindows x86 xalan xchattext xemacs xerces xface xfs xine xinerama xinetd xml xml2 xmlrpc xmms xosd xprint xrandr xsl xv xvid yahoo yaz yv12 zeo zlib zvbi"
a) Did you emerge with ECPUS="x" for parallel install (which does not work atm)? b) Try to lower your CFLAGS, this is most certainly a problem with over-optimization...
Ok. Set my CFLAGS to "-mcpu=pentium4 -O3 -pipe" and it passed this point. thanks
Apparently it worked, but with most gcc versions it is even a safer bet to use -O2. The speed may even be faster (thanks to cpu memory caching).
Doesn't make a difference, we replace O3 with O2 in the ebuild anyway ;)