[omniORB] Re: Alphalinux build failure

Sai-Lai Lo s.lo@uk.research.att.com
Wed, 17 May 2000 05:03:51 +0000


>From your stack trace, looks like the SEGV occurs when the code narrows
from a base class to a derived class in a multiple inheritance hierachy.
Looks like a compiler bug.

Before you look further, please try building omniORB 3.0 (from our cvs
server). At least you don't have to deal with the overly complex class
hierachy in Sun's IDL compiler fontend in 2.8.0.

Also, please check if the CPP macro __DECCXX is defined in your
compiler.
And the macro __DECCXX_VER is defined and is something greater than
60000000. There is quite a few #ifs in the code to cope with DEC
compiler
oddities.

Sai-Lai


>>>>> Peter Petrakis writes:

> Hello,
> I'm trying to get omniORB working on Alphalinux, here's my build
> environment. 

> RH-6.2
> Linux voodoo.alphalinux.org 2.3.99-pre6 #2 Sat May 13 16:01:33 EDT 2000 
> alpha unknown
> Alpha AXP 21164A 600MHz Processor
> cxx-6.3.6.10-18 (Compaq C++ 6.3.6-10, identical to compiler on OSF/1)
> binutils-2.9.5.0.22-8

> I've make a new platform file. It is attached. Here's what happens...

> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/omniORB_280/src/lib/omnithread'
> making export in src/lib/omniORB2...
> make[2]: Entering directory
> `/usr/src/redhat/BUILD/omniORB_280/src/lib/omniORB2'if [ "Naming.idl" !=
> Naming.idl ]; then cp Naming.idl . ; fi
> ../../../bin/alpha_linux_2.0_glibc/omniidl2 -a Naming.idl
> make[2]: *** [Naming.hh] Segmentation fault (core dumped)
> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/omniORB_280/src/lib/omniORB2'
> make[1]: *** [export] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/omniORB_280/src/lib'
> make: *** [export] Error 1


> Here's a backtrace from GDB...

> warning: "/usr/src/redhat/BUILD/omniORB_280/bin/alpha_linux_2.0_glibc/core": ambiguous
> core format, 2 handlers match
> Core was generated by `../../../bin/alpha_linux_2.0_glibc/omniidl2 -a
> Naming.idl'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libc.so.6.1...done.
> Reading symbols from /usr/lib/libots.so...done.
> Reading symbols from /lib/ld-linux.so.2...done.
> #0  0x120053d74 in __7narrow__9o2be_rootFl ()
> (gdb) bt
> #0  0x120053d74 in __7narrow__9o2be_rootFl ()
> #1  0x1200c79f8 in __7narrow_from_scope__10AST_ModuleSFP9UTL_Scope ()
> #2  0x1200dec88 in __7ScopeAsDecl__FP9UTL_Scope ()
> #3  0x1200d9ea8 in __7push__14UTL_ScopeStackFP9UTL_Scope ()
> #4  0x1200a8b08 in __7FE_init_stage2__Fv ()
> #5  0x120003bfc in __7DRV_drive__FPc ()
> #6  0x1200042e0 in main ()
> #7  0x2000014f924 in __libc_start_main (main=0x120004190 <main>, argc=3, 
>     argv=0x11ffff9c8, init=0x120002480 <_init>, fini=0x12013d360 <_fini>, 
>     rtld_fini=0x2000011d6a8, stack_end=0x11ffff9b0)
>     at ../sysdeps/generic/libc-start.c:92
> (gdb)