[omniORB-dev] Compilation Error: OmniORB 4.3.2 on AIX7.2 with xlClang Compiler
Sasimohan_Chandran at amat.com
Sasimohan_Chandran at amat.com
Thu Dec 19 11:22:10 UTC 2024
Looping @omniorb-list at omniorb-support.com<mailto:omniorb-list at omniorb-support.com>
Thanks & Regards,
-----
Sasimohan Chandran
DevOps Engineer
Automation Products Group
Mobile +91 9677756730
Applied Materials | Make Possible®
________________________________
From: Sasimohan Chandran
Sent: Thursday, December 19, 2024 4:44 PM
To: omniorb-dev at omniorb-support.com <omniorb-dev at omniorb-support.com>; duncan at grisby.org <duncan at grisby.org>
Subject: Compilation Error: OmniORB 4.3.2 on AIX7.2 with xlClang Compiler
Hi Team,
We are attempting to build OmniORB 4.3.2 on AIX 7.2 using the xlClang compiler.
Compiler Version:
IBM XL C/C++ for AIX, V16.1.0 (5725-C72, 5765-J12)
Version: 16.01.0000.0007
We encountered the following error during the compilation process.
+ rm -f _omniidlmodule.so.4.3
+ /opt/freeware/lib/python2.7/config/ld_so_aix xlclang++ -L/usr/local/dev/HEAD/xlClang-16.1-aix7-powerpc64/lib/debug -L/usr/local/dev/HEAD/xlClang-16.1-aix7-powerpc64/lib -q64 -qthreaded -qalias=ansi -qrtti -qfullpath -qsuppress=1500-029 -g -D_GLIBCXX_DEBUG -I/usr/local/dev/HEAD/xlClang-16.1-aix7-powerpc64/include -qlanglvl=extended0x -qnamemangling=v5 -I/usr/opt/freeware/include -o _omniidlmodule.so.4.3 -e init_omniidl -bI:/opt/freeware/lib/python2.7/config/python.exp -Wl,-blibpath:/lib:/usr/lib:/usr/local/dev/HEAD/xlClang-16.1-aix7-powerpc64/lib -L../../../../lib -L../../../../lib y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o idlscope.o idlexpr.o idlast.o idlvalidate.o idldump.o idlconfig.o idlfixed.o idlpython.o
ld: 0711-418 ERROR: Import or export file _omniidlmodule.so.4.exp at line 11:
A symbol name may only be followed by an export attribute
or an address. The line is being ignored.
ld: 0711-418 ERROR: Import or export file _omniidlmodule.so.4.exp at line 20:
A symbol name may only be followed by an export attribute
or an address. The line is being ignored.
ld: 0711-418 ERROR: Import or export file _omniidlmodule.so.4.exp at line 21:
A symbol name may only be followed by an export attribute
or an address. The line is being ignored.
However, we were able to successfully compile using the xlC_r 16.1.0 compiler on the same AIX 7.2 machine.
It appears that different library paths and flags are being used based on the compiler being used. Please refer to the log provided below for more information.
+ rm -f _omniidlmodule.so.4.3
+ xlC_r -L/usr/local/dev/HEAD/xlClang-16.1-aix7-powerpc64/lib/debug -L/usr/local/dev/HEAD/xlClang-16.1-aix7-powerpc64/lib -q64 -qthreaded -qalias=ansi -
qrtti -qfullpath -qsuppress=1500-029 -g -D_GLIBCXX_DEBUG -I/usr/local/dev/HEAD/xlClang-16.1-aix7-powerpc64/include -qlanglvl=extended0x -qnamemangling=v5 -
I/usr/opt/freeware/include -q64 -qthreaded -qalias=ansi -qrtti -qfullpath -qsuppress=1500-029 -g -D_GLIBCXX_DEBUG -L/usr/local/dev/HEAD/xlClang-16.1-aix7-p
owerpc64/lib/debug -L/usr/local/dev/HEAD/xlClang-16.1-aix7-powerpc64/lib -G -qmkshrobj -bnoipath -blibpath:/usr/lib:/usr/local/dev/HEAD/xlClang-16.1-aix
7-powerpc64/lib -o _omniidlmodule.so.4.3 -L../../../../lib -L../../../../lib y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o idlscope.o idlexpr.o id
last.o idlvalidate.o idldump.o idlconfig.o idlfixed.o idlpython.o
+ /opt/freeware/bin/install -c -m 0644 _omniidlmodule.so.4.3 ../../../../lib
+ cd ../../../../lib
+ rm -f _omniidlmodule.so.4
+ ln -s _omniidlmodule.so.4.3 _omniidlmodule.so.4
+ rm -f _omniidlmodule.so
+ ln -s _omniidlmodule.so.4 _omniidlmodule.so
make[4]: Leaving directory '/disks/dolph1/workplaces/dev/build/dev/build/xlClang-16.1/HEAD/64/omniorb/omniORB-4.3.2/src/tool/omniidl/cxx'
I would like to confirm if OmniORB 4.3.2 is compatible with the xlClang compiler. If it is, please provide us with instructions on how to proceed.
NOTE: "src\tool\omniidl\cxx\cccp\dir.mk" file includes a guard specifically for xlC_r, but there is no such guard for xlClang.
[cid:45ef8a35-ba08-4bd9-868c-2493e21e4bba]
Thanks & Regards,
-----
Sasimohan Chandran
DevOps Engineer
Automation Products Group
Mobile +91 9677756730
Applied Materials | Make Possible®
The content of this message is APPLIED MATERIALS CONFIDENTIAL. If you are not the intended recipient, please notify me, delete this email and do not use or distribute this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-dev/attachments/20241219/531241df/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 21167 bytes
Desc: image.png
URL: <https://www.omniorb-support.com/pipermail/omniorb-dev/attachments/20241219/531241df/attachment-0001.png>
More information about the omniORB-dev
mailing list