Subject: Re: OpenOffice
To: None <current-users@netbsd.org>
From: Mihai CHELARU <kefren@netbastards.org>
List: current-users
Date: 01/27/2003 13:25:47
Seems like the combination of -O2 and -fPIC is the problem. Taking out=20
one of these means succesfull compilation. Any ideas why ?

M

On Thursday 23 January 2003 12:58, Mihai CHELARU wrote:
> Hello,
>=20
> While building OpenOffice from pkgsrc I have this repeatable error:
>=20
> /usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text
> ------------------------------
> Making: ../../unxbsdi.pro/slo/txtimp.obj
> g++ -w -c -I. -I. -I../inc -I../../inc -I../../unx/inc=20
> -I../../unxbsdi.pro/inc -I.=20
>=20
-I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solver/641/unxbsdi.pro/inc=20
>=20
-I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solver/641/unxbsdi.pro/inc/=
external=20
> -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solenv/unxbsdi/inc=20
> -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solenv/inc=20
> -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/res -I/usr/pkg/include=20
> -I/usr/X11R6/include  -I/usr/pkg/stlport -I/usr/pkg/include/stlport=20
> -I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solenv/inc/Xp31=20
> -I/usr/pkg/java/sun-1.3.1/include=20
> -I/usr/pkg/java/sun-1.3.1/include/netbsd=20
> -I/usr/pkg/java/sun-1.3.1/include/linux=20
> -I/usr/pkg/java/sun-1.3.1/include/solaris=20
> -I/usr/pkg/java/sun-1.3.1/include/native_threads/include=20
> -I/usr/X11R6/include -I/usr/include -I/usr/include     -I. -I../../res=20
> -I.=20
>=20
-I/usr/pkgsrc/misc/openoffice/work/oo_641_src/solenv/unxbsdi/usr/include=20
> -O2   -pipe -fno-for-scope -fpermissive -fexceptions   -fPIC -DNETBSD=20
> -DUNX -DVCL -DGCC -DC295 -DINTEL -DCVER=3DC295 -D_USE_NAMESPACE=20
> -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=3D1=20
> -DSTLPORT_VERSION=3D400 -DX86 -D__DMAKE -DUNIX -DSUPD=3D641 -DBUILD=3D7=
454=20
> -DSOLAR_PLUGIN -DVCL -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE=20
> -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC641  -DCONV_STAR_FONTS=20
> -DSHAREDLIB -D_DLL_  -DMULTITHREAD   -o ../../unxbsdi.pro/slo/txtimp.o=20
>=20
/usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx
>=20
/usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx=
:=20
> In method `void XMLTextImportHelper::SetOutlineStyle(signed char,=20
const=20
> rtl::OUString &)':
>=20
/usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx=
:1172:=20
> Internal compiler error.
>=20
/usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx=
:1172:=20
> Please submit a full bug report.
>=20
/usr/pkgsrc/misc/openoffice/work/oo_641_src/xmloff/source/text/txtimp.cxx=
:1172:=20
> 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 *---
>=20
> ERROR: Error 65280 occurred while making=20
> /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
>=20
> Stop.
> make: stopped in /usr/pkgsrc/misc/openoffice
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/pkgsrc/misc/openoffice
>=20
>=20
> Any hints ?
>=20
> Thanks,
> M
>=20
>=20
>=20