[omniORB] trouble building on irix - compiler bug?

Lee, Robert C. rc.lee at ngc.com
Thu Aug 7 14:41:24 BST 2003


The offending line in proxyFactory.cc was:
  
 if (!ofl) return;  <<- CC claims there is a goto here

  stuff

so I changed it to:

  if (oft)
  {
      stuff
  }

and this overcame the compiler bug.

Robert

-----Original Message-----
From: Lee, Robert C. 
Sent: Thursday, August 07, 2003 10:32 AM
To: 'omniorb-list at omniorb-support.com'
Subject: [omniORB] troubling buildiing on irix-compiler bug?


Duncan,

I had asked about this before and you said it was a compiler bug b/c there
is no goto statement in the line in question (see below).

"../../../../../src/lib/omniORB/orbcore/proxyFactory.cc": Error: A goto
outside a region cannot jump to a label inside a region, 2 at line 130
gmake[4]: *** [shared/proxyFactory.o] Error 2
gmake[4]: Leaving directory `/usr/people/leero/omn

I have yet to build successfully on IRIX64 6.5 using CC 7.30 escept for the
Feb 27, 2003 snapshot. I looked at the code in proxyFactory.cc and found
that the problem I'm having is with the proxyObjectFactory destructor. This
method was not in the Feb 27 2003 snapshot and that's why that version
builds with CC.

In looking at the log on top of the proxyFactory.cc, I noticed 3/3/03
revision 1.2.2.5 had added safe  unloading of proxy object factories which
apparently documents the addition of ~proxyObjectFactory.

I'm wondering what the consequences would be if I commented out
~proxyObjectFactory? Would this cause me a lot of problems and under what
circumstances?

Also, I configure the build process as follows:

../configure --prefix ~leero/omniorb/install-4.0.1-latest-806
--disable-static --enable-thread --enable-shared CC=cc CXX=CC PYTHON=python

which seemed okay to me.  The readme say the 7.2.1 complier has been tested
and that there are certain patches required. I'm using 7.3 compiler so I
assume the patches are rolled into 7.2.1 so I'm at a lost as to why the
build fails for me.

Any advice would be greatly appreciated. Thanks.

Robert Lee

_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list



More information about the omniORB-list mailing list