OpenOffice build crashes the compiler

Perry Hutchison perryh at pluto.rain.com
Fri Sep 8 11:54:46 PDT 2006


> > Making: ../../../../unxfbsdi.pro/slo/SlideSorterView.obj
...
> > g++-ooo: Internal error: Killed: 9 (program cc1plus)
...
> > dmake:  Error code 1, while making
> > '../../../../unxfbsdi.pro/slo/SlideSorterView.obj'
> > '---* tg_merge.mk *---'
> > 
> > ERROR: Error 65280 occurred while making
> > /usr/ports/editors/openoffice.org-2.0/work/OOD680_m1/sd/source/ui/slidesorter/view
...
> > Stop in /usr/ports/editors/openoffice.org-2.0.
> 
> http://lists.freebsd.org/pipermail/freebsd-ports/2005-March/021822.html
> 
> is an old link but has a patch.

That describes the inability to build gcc-ooo itself.  The current
problem arose while trying to *use* gcc-ooo to build slidesorter
(which I don't even need -- can it be configured out?)

> http://archives.mandrivalinux.com/cooker/2003-10/msg02538.php
> 
> sugests some missing symlinks might be the culprit.

That was while trying to build readlicense_oo, in OOo 1.something,
and looks as if it may have somehow involved Java.

> Please let me know is either of these resolve the
> isses, I'm looking to get OpenOffice built this
> weekend after I update my basic system... Both of
> these reference that Error 65280

but neither involves cc1plus dying with a signal 9.  The only thing
I know of that causes a reproducible "kill -9" is a missing shared
library, but cc1plus uses only libc.so.6, which does exist:

  # ( cd /usr/local/gcc-ooo/i386-portbld-freebsd6.1/3.4.1/libexec/gcc/i386-portbld-freebsd6.1/3.4.1 ; ldd cc1plus )
  cc1plus:
          libc.so.6 => /lib/libc.so.6 (0x283d5000)
  # ll /lib/libc.so.6
  -r--r--r--  1 root  wheel  882116 May  6 20:56 /lib/libc.so.6

> some answers also suggest you might be running out of
> space in the build directory. You'll need at least
> 1.8G to build Openoffice (/usr/ports); I say at least
> because when I built it for Gentoo on my P4 it used up
> more like 5G and took 8-10 hours to build. 

There seems to be plenty of space:

  # df
  Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
  /dev/ad0s3a    507630    30144   436876     6%    /
  devfs               1        1        0   100%    /dev
  /dev/ad0s3e    507630      282   466738     0%    /tmp
  /dev/ad0s3f  40083664 10225734 26651238    28%    /usr
  /dev/ad0s3d   1148318    88404   968050     8%    /var

BTW this is a *long* way into the build.  A rerun, which doesn't
need to actually build anything prior to the point of failure,
generates close to 500KB of logfile and takes almost 40 minutes.
The initial attempt had taken over 24 hours to reach that point.


More information about the freebsd-questions mailing list