[omniORB] Problems while linking with omniORB on AIX6.1
Jayanth Venkatraj
jayanthv at cmsinc.com
Wed Oct 17 15:48:20 BST 2012
I compiled omniORB-4.1.4 on AIX6.1, and I am using XLC version 11.0 as the C++ compiler.
Maybe this has something to do with the C++ compiler, but I get these warnings when I try to link the binaries with the omniORB libs :
gmake
Building: libevaluate.a
xlC_r -qmkshrobj -DPTHREADS -D_REENTRANT -D_KERNEL_THREADS -D_THREAD_SAFE -DTHREAD -DAIX -DAIXV3 -DEV_AIX -D__EV_USE_NEW_NAMES__ -D__DELETE_LEGACY_CODE__ -DEV_AIX -DEV_RWSPV3 -DEV_POA -D_RW_MULTI_THREAD -D_RWCONFIG_rms -D__aix__ -D__powerpc__ -D__OSVERSION__=4 -DSVR4 /ev2/builds/cmaix61/test8.7/common/Toolbox/EVDecimalNumber.o /ev2/builds/cmaix61/test8.7/common/Toolbox/EVLogger.o
/ev2/builds/cmaix61/test8.7/common/Toolbox/evCORBA.o /ev2/builds/cmaix61/test8.7/common/Toolbox/TS_Field.o /ev2/builds/cmaix61/test8.7/common/Toolbox/TS_Row.o
/ev2/builds/cmaix61/test8.7/eValuateIdl/DMXML_c.o /ev2/builds/cmaix61/test8.7/eValuateIdl/DMGrid_c.o /ev2/builds/cmaix61/test8.7/eValuateIdl/DMChallenge_c.o
/ev2/builds/cmaix61/test8.7/eValuateIdl/EncryptionDynSK.o\
-o libevaluate.a -L/ev2/builds/cmaix61/test8.7/lib -L/cmsi1/tools/rw/rw_buildspace/lib -L/usr/citizens_prep/omnitest/omniORB-4.1.4/lib -ldbt43-rms -lthread22-rms -litc22-rms -lfunctor_list22-rms -lfunctor22-rms -lpointer22-rms -lsync22-rms -lthrexcept22-rms -ltrace22-rms -lnetwork16-rms -ltls76-rms -lstd22-rms /cmsi1/tools/rw/rw_buildspace/lib/rwor8rms.o -lor843-rms -L/opt/oracle/lib -lclntsh -lomnithread -lomniORB4 -lomniDynamic4 -lCOSDynamic4 -lomniCodeSets4 -lCOS4 -lomniConnectionMgmt4 -lpthread -lc_r -lnsl_r -lm_r -ldl -lC_r
And I get a whole bunch of warnings about string functions in the omniORB libraries:
ld: 0711-768 WARNING: Object /usr/citizens_prep/omnitest/omniORB-4.1.4/lib/libomniORB4.a[omniInternal.o], section 1, function .strcpy:
The branch at address 0xe04 is not followed by a recognized no-op
or TOC-reload instruction. The unrecognized instruction is 0x80610040.
ld: 0711-768 WARNING: Object /usr/citizens_prep/omnitest/omniORB-4.1.4/lib/libomniDynamic4.a[typecode.o], section 1, function .strcmp:
The branch at address 0x1749c is not followed by a recognized no-op
or TOC-reload instruction. The unrecognized instruction is 0x80010048.
ld: 0711-768 WARNING: Object /usr/citizens_prep/omnitest/omniORB-4.1.4/lib/libomniDynamic4.a[valueFactory.o], section 1, function .strcpy:
The branch at address 0x17c4 is not followed by a recognized no-op
or TOC-reload instruction. The unrecognized instruction is 0x80610040.
ld: 0711-768 WARNING: Object /usr/citizens_prep/omnitest/omniORB-4.1.4/lib/libomniDynamic4.a[typecode.o], section 1, function .strcpy:
The branch at address 0x1204 is not followed by a recognized no-op
or TOC-reload instruction. The unrecognized instruction is 0x80610040.
I found a link which says something about removing string.h from the source files, which I can't do it from the omni source. http://www-01.ibm.com/support/docview.wss?uid=swg1IZ82804
And when I link this libevaluate.a with other binaries, and execute them, they core dump saying Illegal instruction.
If anyone else has compiled omniORB on AIX6.1 with this specific compiler, can you tell me the exact build and linking flags you used?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20121017/93d92544/attachment.html>
More information about the omniORB-list
mailing list