Subject: compiler error building OpenOffice
To: None <netbsd-users@netbsd.org>
From: Steve Bellovin <smb@research.att.com>
List: netbsd-users
Date: 01/23/2003 11:11:18
I'm trying to build OpenOffice on 1.6M.  I'm getting the following
message, which is reproducible (and hence presumably not a memory
error of the sort that gcc is good at finding...).

Making: ../../unxbsdi.pro/slo/txtimp.obj
g++ -w -c -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxbsdi.pro/inc -I. -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solver/641/unxbsdi.pro/inc -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solver/641/unxbsdi.pro/inc/external -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solenv/unxbsdi/inc -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solenv/inc -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/res -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/pkg/stlport -I/usr/pkg/include/stlport -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solenv/inc/Xp31 -I/usr/pkg/java/sun-1.3.1/include -I/usr/pkg/java/sun-1.3.1/include/netbsd -I/usr/pkg/java/sun-1.3.1/include/linux -I/usr/pkg/java/sun-1.3.1/include/solaris -I/usr/pkg/java/sun-1.3.1/include/native_threads/include -I/usr/X11R6/include -I/usr/include -I/usr/include     -I. -I../../res -I. -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solenv/unxbsdi/usr/include -O2   -pipe -fno-for-scope -fpermissive -fexceptions   -fPIC -DNETBSD
  !
-DUNX -DVCL -DGCC -DC295 -DINTEL -DCVER=C295 -D_USE_NAMESPACE -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DX86 -D__DMAKE -DUNIX -DSUPD=641 -DBUILD=7454 -DSOLAR_PLUGIN -DVCL -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC641  -DCONV_STAR_FONTS -DSHAREDLIB -D_DLL_  -DMULTITHREAD   -o ../../unxbsdi.pro/slo/txtimp.o /usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx
/usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx: In method `void XMLTextImportHelper::SetOutlineStyle(signed char, const rtl::OUString &)':
/usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx:1172: Internal compiler error.
/usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx:1172: Please submit a full bug report.
/usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx:1172: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
cpp0: output pipe has been closed
dmake:  Error code 1, while making '../../unxbsdi.pro/slo/txtimp.obj'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
*** Error code 255

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice


(Aside:  I was trying to build it from source because when I use it
on 1.6, it chews up 100% of the CPU time when it's idle.  I was hoping
that it was a busy wait on some thread-related issue that might be
better if compiled for the new -current stuff....)

Any suggestions?  Has anyone else seen this and reported it to the gcc
folks, per the message?