[omniORB] compile problems on Solaris 2.7, Sun C++ 5.0

James Riden jamesr@harlequin.co.uk
08 Feb 2000 16:41:06 +0000


Dear omniORBers,

The Sun compiler appears to go into an infinite loop during
compilation of the following file :

CC -c -g  -DUnixArchitecture
-DCONFIG_DEFAULT_LOCATION=/etc/omniORB.cfg  -DUsePthread -D_REENTRANT
-mt -I./.. -I./../.. -I./../../.. -DUSE_omniORB_logStream
-D_OMNIORB_DYNAMIC_LIBRARY -KPIC -I.  -I../../../../../include
-D__sparc__ -D__sunos__ -D__OSVERSION__=5 -o irstub.o ../irstub.cc 

Looking in tmp, I can see a file which looks like the assembly
language for irstub.cc, which isn't growing at all:

ls -l /tmp/
..
-rw-r-----   1 jamesr    9182797 Feb  8 16:12 yabeAAA6naqan

(this seems to happen with both omniORB 2.8 and 3)

Can someone tell me which patch I've missed, or otherwise explain this
behaviour ?  Should I just give up and try gcc 2.95 ?

(btw the Solaris 2.7 installation has some of the 64-bit stuff
installed, but I'm not doing a 64-bit compile.)

thanks,
 James