Issue 1662 - Solaris/Intel: stoc/source/corereflection/criface.cxx does not build
Summary: Solaris/Intel: stoc/source/corereflection/criface.cxx does not build
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: 638
Hardware: PC Solaris
: P2 Trivial (vote)
Target Milestone: ---
Assignee: Daniel Boelzle [:dbo]
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-12 14:37 UTC by doehrm
Modified: 2001-09-18 09:17 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description doehrm 2001-09-12 14:37:30 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
Comment 1 kay.ramme 2001-09-12 17:15:49 UTC
Daniel, please have a look at this...
Comment 2 Daniel Boelzle [:dbo] 2001-09-13 09:40:18 UTC
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
Comment 3 Daniel Boelzle [:dbo] 2001-09-13 15:05:43 UTC
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.
Comment 4 doehrm 2001-09-17 17:56:13 UTC
Adding the NOOPTFILES section to the makefile worked for me.

Thanx!
Comment 5 Daniel Boelzle [:dbo] 2001-09-18 09:17:09 UTC
NOOPTFILES works for CC solaris intel.