[omniORB] SunOS 5.7, WS 5.0 and gethostbyname
Sai-Lai Lo
S.Lo@uk.research.att.com
22 Feb 2000 10:29:43 +0000
WS 5.0 is terrible! Last time I checked in mid-Jan, with all the latest
patches applied, it still cannot generate correct code to run the
simpliest echo examples when giving it -O2. It looks like its optimizer has
optimized away one or more exception handling frame and as a result the
program terminates with uncaught exception when the ORB throws the
COMM_FAILURE exception.
I believe what I have written in <top>/README.SunC++5 is still true.
If you have to use that compiler, you must apply all the latest patches
plus using -g -O2. Even then there may be other compiler problems waiting.
For me, I give up and just use gcc-2.95.
Sai-Lai
>>>>> Robert Jonsson writes:
> After what seems like eons trying to compile omniorb (and other things)
> with Workshop 5.0 I have gotten most things to work, including
> omniEvents (I think/hope/pray). WS 5.0 is one odd compiler, too bad 4.2
> has such lousy STL support, It looks a bit shaky.
> Starting to merge omniORB and the new compiler into our project I
> discovered that gethostbyname crashes hard with this configuration. As,
> for some reason, gethostbyname seems wrapped by omniorb I think that's
> where the problem is.
> Anyone have a clue what to do, I need sleep pretty badly, perhaps I've
> missed something obvious?
--
Sai-Lai Lo S.Lo@uk.research.att.com
AT&T Laboratories Cambridge WWW: http://www.uk.research.att.com
24a Trumpington Street Tel: +44 1223 343000
Cambridge CB2 1QA Fax: +44 1223 313542
ENGLAND