Apache OpenOffice (AOO) Bugzilla – Issue 1662
Solaris/Intel: stoc/source/corereflection/criface.cxx does not build
Last modified: 2001-09-18 09:17:09 UTC
> pwd /oo/oo_638B_src/stoc/source/corereflection > dmake ------------------------------ Making: ../../unxsoli3.pro/slo/criface.obj CC -w -c -temp=/tmp -I. -I../../unxsoli3.pro/inc/light -I../inc -I../../inc -I. ./../unx/inc -I../../unxsoli3.pro/inc -I. -I/oo/oo_638B_src/solver/638/unxsoli3. pro/inc -I/oo/oo_638B_src/solver/638/unxsoli3.pro/inc/external -I/oo/oo_638B_src /solenv/unxsoli3/inc -I/oo/oo_638B_src/solenv/inc -I/oo/oo_638B_src/res -I/usr/i nclude -I/export/home/doehrm/STLport-4.0/stlport/SC5 -I/opt/SUNWspro/include -I /oo/oo_638B_src/solenv/inc/Xp31 -I/usr/java1.2/include -I/usr/java1.2/include/so laris -I/usr/java1.2/include/native_threads/include -I. -I../../res -I. -O -features=no%altspell,no%localfor -instances=static -KPIC -DSOLARIS -DUNX -DV CL -DC52 -DC52 -DINTEL -DUSE_PSPRINT -DTF_SVDATA -DTF_UCB -DENABLEUNICODE -DTF_F ILTER -DTF_CFGDATA -DTF_FILEURL -DCVER=C52 -D_USE_NAMESPACE -D_PTHREADS -DSYSV - DSUN -DSUN4 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DSTLPORT_VERSION=400 -D_PTH READS -D__DMAKE -DUNIX -DSUPD=638 -DBUILD=7138 -DSOLAR_PLUGIN -DVCL -DSO3 -DPROD UCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_ON -DGUI -DSOLAR_JAVA -DSRC6 38 -DTF_ONE51 -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../unxsoli3.pro/slo/cri face.o /oo/oo_638B_src/stoc/source/corereflection/criface.cxx "criface.cxx", line 271: [__1cLstoc_coreflVIdlAttributeFieldImplDget6MrknDcomDsu nEstarDunoDAny__6_]: UBE: internal: Bad linkage type found 1 fatal error. file /tmp/ir2hf.02539.2.o aborted. 1 abort error. dmake: Error code 154, while making '../../unxsoli3.pro/slo/criface.obj' ---* TG_SLO.MK *--- > CC -V CC: Sun WorkShop 6 update 1 C++ 5.2 2000/09/12 > showrev -p | grep 108436 Patch: 108436-01 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC Checked out OO638B. Patch: 108436-02 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC
Daniel, please have a look at this...
You got an internal compiler error. Compilation/ Linkage works in our environment with our patches. I think you had correspondence with jens-heiner.rechtien@sun.com applying the correct patches. You can probably solve the problem by: -- remove all objects of the directory (dmake killobj), then try a rebuild -- try to build that object without opt, stating NOOPTFILES=$(SLO) $/criface.obj The latterr has been done for CC intel, so try to modifying to .IF "$(OS)"=="SOLARIS" NOOPTFILES += $(SLO)$/criface.obj .ENDIF Hopefully this will work. regards, --Daniel
I just recognized that this does not concern solaris sparc, so the latter switching off the optimization has already been tried for CC intel compilation (as seen in the makefile.mk comment). So I suppose you have the wrong patch level for your compiler. Contact jens- heiner.rechtien@sun.com for questions concerning your patches.
Adding the NOOPTFILES section to the makefile worked for me. Thanx!
NOOPTFILES works for CC solaris intel.