[omniORB] Using OMNIORB - 64 bits
Frederico Faria
fred_faria at yahoo.com.br
Tue May 24 13:40:19 BST 2005
I have observed that when I link the example with
the omni dynamic libraries the problem doesnt happen.
I also installed a newest omni release ( 4.0.6 )
and I have NOT got a SEGV linking with omni static
libraries but I have received a "bus error"
./eg2_impl -ORBendPoint giop:tcp:host1:9052
omniORB: Cannot create a rendezvouser for this
endpoint: giop:tcp:host1:55153
Bus Error (core dumped)
Linking against omni shared libraries everything works
fine.
Thank you,
Faria
--- Frederico Faria <fred_faria at yahoo.com.br>
escreveu:
> Hi,
>
> I have needed yet some advice to use omniorb in 64
> bits. I compiled omni 4.0.5 using gcc 3.4.2 in a
> Solaris Sparc V9. ( with python 64 bits too ).
>
> At compile phase I need to pass 64 bits flags when
> I
> ran configure script because otherwise the configure
> output printed incorrect sizes to the long types for
> example.
> I used the following additional flags to configure
> script:
> -m64 -mcpu=v9
>
> The compilation process was fine. Late I compiled
> the
> Echo sample using the same 64 bits compilation
> flags.
> I linked with omni 64 bits static libraries.
>
> But when I run the "eg2_impl" application I
> received
> a core dumped in CORBA::ORB_init(argc, argv) call.
> But
> I did not find the error because when I use the ldd
> command I can see that it is linked with 64 bits
> libraries.
> Now I am going to install omniorb 4.0.6 according
> with Duncan suggestion. could It resolve this
> problem
> ?
> Below is the core dumped and the ldd output.
>
> Thank you,
>
> Frederico Faria
>
> This GDB was configured as "sparc-sun-solaris2.9"...
> (gdb) run
> Starting program:
>
/db02/export/home/temp/omniORB-4.0.5/src/examples/echo/eg2_impl
> procfs: target_wait (wait_for_stop) line 3931,
> /proc/27053: Value too large for defined data type.
> (gdb) bt
> #0 0x0000000000000000 in ?? ()
> (gdb)
>
>
> *** The ldd output to eg2_impl is:
>
> libsocket.so.1 =>
> /usr/lib/64/libsocket.so.1
> librt.so.1 => /usr/lib/64/librt.so.1
> libnsl.so.1 => /usr/lib/64/libnsl.so.1
> libm.so.1 => /usr/lib/64/libm.so.1
> libgcc_s.so.1 =>
> /usr/local/lib/sparcv9/libgcc_s.so.1
> libc.so.1 => /usr/lib/64/libc.so.1
> libaio.so.1 => /usr/lib/64/libaio.so.1
> libmd5.so.1 => /usr/lib/64/libmd5.so.1
> libdl.so.1 => /usr/lib/64/libdl.so.1
> libmp.so.2 => /usr/lib/64/libmp.so.2
>
>
/usr/platform/SUNW,Sun-Fire-880/lib/sparcv9/libc_psr.so.1
>
>
/usr/platform/SUNW,Sun-Fire-880/lib/sparcv9/libmd5_psr.so.1
>
>
>
>
>
>
> ----------------------------------------------------
> On Wednesday 11 May, Frederico Faria wrote:
>
> > Is necessary any change on omniorb 4.0.5
> source
> > distribution to compile to 64 bits Solaris
> platform
> ?
>
> You shouldn't need to change anything at all. Just
> run
> the configure
> script and let it figure everything out.
>
> I'd recommend that you use 4.0.6 rather than 4.0.5,
> though.
>
> Cheers,
>
> Duncan.
>
>
>
>
>
>
> ____________________________________________________
> Yahoo! Mail, cada vez melhor: agora com 1GB de
> espaço grátis! http://mail.yahoo.com.br
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
>
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>
____________________________________________________
Yahoo! Mail, cada vez melhor: agora com 1GB de espaço grátis! http://mail.yahoo.com.br
More information about the omniORB-list
mailing list