[omniORB] gcc internal error when compiling poa.cc in omniORB 3.0.4
Harri Pasanen
harri.pasanen@trema.com
Wed, 26 Sep 2001 17:11:51 +0200
I'm wondering if the following looks familiar to anyone:
g++ -c -g -Wall -Wno-unused -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -I.
-I./.. -I./../.. -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY
-DUnixArchitecture -DCONFIG_DEFAULT_LOCATION='"/etc/omniORB.cfg"' -I.
-I../../../../include -D__hppa__ -D__hpux__ -D__OSVERSION__=11 -o poa.o
poa.cc
In file included from localIdentity.h:48,
from poa.cc:128:
../omniIdentity.h:51: warning: `class omniIdentity' has virtual functions
but
non-virtual destructor
In file included from poa.cc:128:
localIdentity.h:57: warning: `class omniLocalIdentity' has virtual functions
but non-virtual destructor
poa.cc: In member function `virtual void
PortableServer::POA::AdapterAlreadyExists::_raise()':
poa.cc:275: Internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [poa.o] Error 1
make[3]: Leaving directory `/work/harri/test/omni/src/lib/omniORB2/orbcore'
The gotcha is that this is on HP-UX 11.00. I've submitted a gcc bug about
this, but I wonder if there is a work around?
bash-2.02$ g++ -v
Reading specs from /usr/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.0.2/specs
Configured with: ../gcc/configure --prefix=/usr/gnu --with-gnu-as
--with-as=/usr/gnu/bin/as --enable-threads=posix --enable-languages=c,c++
Thread model: posix
gcc version 3.0.2 20010926 (prerelease)
Regards,
Harri