omniORB-4.3.2 linker errors on RHEL with GCC during static linkage

Jayapradeep Mohan via omniORB-list <[email protected]> Thu, 5 Dec 2024 09:31:15 +0000
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <PN0PR01MB594453E140BADFB1D2FD9046F2302@PN0PR01MB5944.INDPRD01.PROD.OUTLOOK.COM>
--===============5083062799044837561==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_PN0PR01MB594453E140BADFB1D2FD9046F2302PN0PR01MB5944INDP_"

--_000_PN0PR01MB594453E140BADFB1D2FD9046F2302PN0PR01MB5944INDP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Team,

We are trying to build OmniORB4.3.2 on RHEL 82 which has got gcc (GCC) 8.3.=
1 20191121 (Red Hat 8.3.1-5).

The version of python installed on the machine is Python 3.6.8.

We were able to build the omniORB4.3.2 without errors. When we integrate it=
 within our workspace, we see errors while linking the OmniORB4.3.2 on RHEL=
 8 with gcc compiler version mentioned above.

Example errors:
/opt/rh/gcc-toolset-12/root/usr/bin/ld: /disks/rhel82-austin1/checkpoints/6=
4/head/dev/lib/rhel82/libddv_omni-o-release-gcc12.a(CorbaOmniServer.o): in =
function `ddv::omni::CorbaOmniServer::run()':
CorbaOmniServer.cxx:(.text+0x4ac5): undefined reference to `CORBA::ORB_init=
(int&, char**, char const*, char const* (*) [2])'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text+0x4ae6):=
 undefined reference to `CORBA::Object::_nil()'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text+0x4b1d):=
 undefined reference to `omni::releaseObjRef(omniObjRef*)'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text+0x4b22):=
 undefined reference to `PortableServer::POA::_nil()'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: /disks/rhel82-austin1/checkpoints/6=
4/head/dev/lib/rhel82/libddv_omni-o-release-gcc12.a(CorbaOmniServer.o):Corb=
aOmniServer.cxx:(.text+0x55bc): more undefined references to `omni::release=
ObjRef(omniObjRef*)' follow
/opt/rh/gcc-toolset-12/root/usr/bin/ld: /disks/rhel82-austin1/checkpoints/6=
4/head/dev/lib/rhel82/libddv_omni-o-release-gcc12.a(CorbaOmniServer.o): in =
function `dsrv::omni::CorbaOmniServer::run()':
CorbaOmniServer.cxx:(.text+0x5621): undefined reference to `_CORBA_bound_ch=
eck_error()'

/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text.startup+=
0x1f): undefined reference to `omni_thread::init_t::~init_t()'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text.startup+=
0x39): undefined reference to `_omniFinalCleanup::_omniFinalCleanup()'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text.startup+=
0x40): undefined reference to `_omniFinalCleanup::~_omniFinalCleanup()'

/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x439):=
 undefined reference to `omni::ucheckFail(char const*, int, char const*)'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x469):=
 undefined reference to `omni::ucheckFail(char const*, int, char const*)'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x499):=
 undefined reference to `omni::ucheckFail(char const*, int, char const*)'

/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x12f5)=
: undefined reference to `CORBA::Any::Any()'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x131a)=
: undefined reference to `CORBA::Any::~Any()'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x15b5)=
: undefined reference to `_CORBA_bad_param_freebuf()'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x15c9)=
: undefined reference to `_CORBA_bad_param_freebuf()'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x15d9)=
: undefined reference to `_CORBA_bad_param_freebuf()'

There were many errors, but am not listing all those here.

The flags used during compilation were:
scl enable gcc-toolset-12 -- g++ -ansi -m64 -pthread -Wl,-export-dynamic -s=
td=3Dc++23 -o ./ddv.bin.optimise-release-gcc12.rhel82
.obj/rhel82/o-release-gcc12/main.o
.obj/rhel82/o-release-gcc12/version.o
-s
-L/disks/rhel82-austin1/checkpoints/64/head/dev/lib/rhel82
-L""/usr/local/dev/HEAD/gcc-12-rhel82-amd64""/lib
-L""/usr/local/dev/HEAD/gcc-12-rhel82-amd64-dev""/lib
-L"/usr/local/apfdev"/HEAD/gcc-12-rhel82-amd64/lib
-lomniCodeSets4 -lomniConnectionMgmt4 -lomniDynamic4 -lomniORB4 -lomnithrea=
d -lomniZIOP4 -lomniZIOPDynamic4
-lddv-o-release-gcc12 -lddv_omni-o-release-gcc12 -lddv_common-o-release-gcc=
12
-lssl -lcrypto -lssh2 -lz -ldl -lcrypt  -lm


Please note that we had the below libs in the install (/usr/local/apfdev/HE=
AD/gcc-12-rhel82-amd64/lib) directory. We had removed the .so files generat=
ed to avoid default linking (as we know .so hs got priority than .a).

debug             libgd.a    libomniCodeSets4.a        libomniORB4.a    lib=
omniZIOPDynamic4.a  libssh2.a      libxerces-c.a
libCOS4.a         libgd.la   libomniConnectionMgmt4.a  libomnithread.a  lib=
png16.a             libxalan-c.a   pkgconfig
libCOSDynamic4.a  libgd.lai  libomniDynamic4.a         libomniZIOP4.a   lib=
png.a               libxalanMsg.a  python3.9

We have included the libs in the below order in the Makefile (also we swapp=
ed the order as well to see if we can get through).
EXTRA_LDFLAGS   +=3D -lomniCodeSets4
EXTRA_LDFLAGS   +=3D -lomniConnectionMgmt4
EXTRA_LDFLAGS   +=3D -lomniDynamic4
EXTRA_LDFLAGS   +=3D -lomniORB4
EXTRA_LDFLAGS   +=3D -lomnithread
EXTRA_LDFLAGS   +=3D -lomniZIOP4
EXTRA_LDFLAGS   +=3D -lomniZIOPDynamic4

The fact is that, when we keep the .so files in the libs (/usr/local/apfdev=
/HEAD/gcc-12-rhel82-amd64/lib) directory, we were not seeing any errors and=
 the binary generation was successful.

debug                libCOSDynamic4.so.3.2    libomniConnectionMgmt4.a     =
  libomniORB4.a         libomniZIOP4.a              libpng16.a
libCOS4.a            libgd.a                  libomniConnectionMgmt4.so    =
  libomniORB4.so        libomniZIOP4.so             libpng.a
libCOS4.so           libgd.la                 libomniConnectionMgmt4.so.3  =
  libomniORB4.so.3      libomniZIOP4.so.3           libssh2.a
libCOS4.so.3         libgd.lai                libomniConnectionMgmt4.so.3.2=
  libomniORB4.so.3.2    libomniZIOP4.so.3.2         libxalan-c.a
libCOS4.so.3.2       libomniCodeSets4.a       libomniDynamic4.a            =
  libomnithread.a       libomniZIOPDynamic4.a       libxalanMsg.a
libCOSDynamic4.a     libomniCodeSets4.so      libomniDynamic4.so           =
  libomnithread.so      libomniZIOPDynamic4.so      libxerces-c.a
libCOSDynamic4.so    libomniCodeSets4.so.3    libomniDynamic4.so.3         =
  libomnithread.so.4    libomniZIOPDynamic4.so.3    pkgconfig
libCOSDynamic4.so.3  libomniCodeSets4.so.3.2  libomniDynamic4.so.3.2       =
  libomnithread.so.4.3  libomniZIOPDynamic4.so.3.2  python3.9

We wanted to have the binary generation with static linkage (without the .s=
o files) on RHEL. Is it possible?

Could you help suggesting the order of the libs to generate the integrated =
binary?

Note:
We had set up omniORB-4.2.0 on AIX XLC and GCC long back with the static li=
nkage (without .so) files and there were no linker errors.
We did see this linker errors only on RHEL.


Thanks.

Regards,
Jayapradeep Mohan.



The content of this message is APPLIED MATERIALS CONFIDENTIAL. If you are n=
ot the intended recipient, please notify me, delete this email and do not u=
se or distribute this email.

--_000_PN0PR01MB594453E140BADFB1D2FD9046F2302PN0PR01MB5944INDP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
Hi Team,</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
We are trying to build <b>OmniORB4.3.2</b>&nbsp;on <b>RHEL 82</b>&nbsp;whic=
h has got <b>gcc
</b>(GCC) 8.3.1 20191121 (Red Hat 8.3.1-5).</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
The version of python installed on the machine is <b>Python 3.6.8</b>.</div=
>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
We were able to build the omniORB4.3.2 without errors. When we integrate it=
 within our workspace, we see errors while linking the OmniORB4.3.2 on RHEL=
 8 with gcc compiler version mentioned above.</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<i><u>Example errors:</u></i></div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: /disks/rhel82-austin1/checkpoints/6=
4/head/dev/lib/rhel82/libddv_omni-o-release-gcc12.a(CorbaOmniServer.o): in =
function `ddv::omni::CorbaOmniServer::run()':</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
CorbaOmniServer.cxx:(.text+0x4ac5): undefined reference to `CORBA::ORB_init=
(int&amp;, char**, char const*, char const* (*) [2])'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text+0x4ae6):=
 undefined reference to `CORBA::Object::_nil()'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text+0x4b1d):=
 undefined reference to `omni::releaseObjRef(omniObjRef*)'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text+0x4b22):=
 undefined reference to `PortableServer::POA::_nil()'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: /disks/rhel82-austin1/checkpoints/6=
4/head/dev/lib/rhel82/libddv_omni-o-release-gcc12.a(CorbaOmniServer.o):Corb=
aOmniServer.cxx:(.text+0x55bc): more undefined references to `omni::release=
ObjRef(omniObjRef*)' follow</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: /disks/rhel82-austin1/checkpoints/6=
4/head/dev/lib/rhel82/libddv_omni-o-release-gcc12.a(CorbaOmniServer.o): in =
function `dsrv::omni::CorbaOmniServer::run()':</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
CorbaOmniServer.cxx:(.text+0x5621): undefined reference to `_CORBA_bound_ch=
eck_error()'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text.startup+=
0x1f): undefined reference to `omni_thread::init_t::~init_t()'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text.startup+=
0x39): undefined reference to `_omniFinalCleanup::_omniFinalCleanup()'</div=
>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: CorbaOmniServer.cxx:(.text.startup+=
0x40): undefined reference to `_omniFinalCleanup::~_omniFinalCleanup()'</di=
v>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x439):=
 undefined reference to `omni::ucheckFail(char const*, int, char const*)'</=
div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x469):=
 undefined reference to `omni::ucheckFail(char const*, int, char const*)'</=
div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x499):=
 undefined reference to `omni::ucheckFail(char const*, int, char const*)'</=
div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x12f5)=
: undefined reference to `CORBA::Any::Any()'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x131a)=
: undefined reference to `CORBA::Any::~Any()'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x15b5)=
: undefined reference to `_CORBA_bad_param_freebuf()'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x15c9)=
: undefined reference to `_CORBA_bad_param_freebuf()'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
/opt/rh/gcc-toolset-12/root/usr/bin/ld: OmniRTDSMWrapper.cxx:(.text+0x15d9)=
: undefined reference to `_CORBA_bad_param_freebuf()'</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
There were many errors, but am not listing all those here.</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
The flags used during compilation were:</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
scl enable gcc-toolset-12 -- g++ -ansi -m64 -pthread -Wl,-export-dynamic -s=
td=3Dc++23 -o ./ddv.bin.optimise-release-gcc12.rhel82 &nbsp; &nbsp; &nbsp;<=
/div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
.obj/rhel82/o-release-gcc12/main.o &nbsp; &nbsp;</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
.obj/rhel82/o-release-gcc12/version.o &nbsp;</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
-s</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
-L/disks/rhel82-austin1/checkpoints/64/head/dev/lib/rhel82</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
-L&quot;&quot;/usr/local/dev/HEAD/gcc-12-rhel82-amd64&quot;&quot;/lib</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
-L&quot;&quot;/usr/local/dev/HEAD/gcc-12-rhel82-amd64-dev&quot;&quot;/lib</=
div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
-L&quot;/usr/local/apfdev&quot;/HEAD/gcc-12-rhel82-amd64/lib</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
-lomniCodeSets4 -lomniConnectionMgmt4 -lomniDynamic4 -lomniORB4 -lomnithrea=
d -lomniZIOP4 -lomniZIOPDynamic4 &nbsp;</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
-lddv-o-release-gcc12 -lddv_omni-o-release-gcc12 -lddv_common-o-release-gcc=
12</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
-lssl -lcrypto -lssh2 -lz -ldl -lcrypt &nbsp;-lm</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
Please note that we had the below libs in the install (/usr/local/apfdev/HE=
AD/gcc-12-rhel82-amd64/lib) directory. We had removed the .so files generat=
ed to avoid default linking (as we know .so hs got priority than .a).</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
debug &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; libgd.a &nbsp; &nbsp;libomn=
iCodeSets4.a &nbsp; &nbsp; &nbsp; &nbsp;libomniORB4.a &nbsp; &nbsp;libomniZ=
IOPDynamic4.a &nbsp;libssh2.a &nbsp; &nbsp; &nbsp;libxerces-c.a</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
libCOS4.a &nbsp; &nbsp; &nbsp; &nbsp; libgd.la &nbsp; libomniConnectionMgmt=
4.a &nbsp;libomnithread.a &nbsp;libpng16.a &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; libxalan-c.a &nbsp; pkgconfig</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
libCOSDynamic4.a &nbsp;libgd.lai &nbsp;libomniDynamic4.a &nbsp; &nbsp; &nbs=
p; &nbsp; libomniZIOP4.a &nbsp; libpng.a &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
 &nbsp; &nbsp; libxalanMsg.a &nbsp;python3.9</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
We have included the libs in the below order in the Makefile (also we swapp=
ed the order as well to see if we can get through).</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
EXTRA_LDFLAGS &nbsp; +=3D -lomniCodeSets4</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
EXTRA_LDFLAGS &nbsp; +=3D -lomniConnectionMgmt4</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
EXTRA_LDFLAGS &nbsp; +=3D -lomniDynamic4</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
EXTRA_LDFLAGS &nbsp; +=3D -lomniORB4</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
EXTRA_LDFLAGS &nbsp; +=3D -lomnithread</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
EXTRA_LDFLAGS &nbsp; +=3D -lomniZIOP4</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
EXTRA_LDFLAGS &nbsp; +=3D -lomniZIOPDynamic4</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
The fact is that, when we keep the .so files in the libs (/usr/local/apfdev=
/HEAD/gcc-12-rhel82-amd64/lib) directory, we were not seeing any errors and=
 the binary generation was successful.</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
debug &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;libCOSDynamic4=
.so.3.2 &nbsp; &nbsp;libomniConnectionMgmt4.a &nbsp; &nbsp; &nbsp; libomniO=
RB4.a &nbsp; &nbsp; &nbsp; &nbsp; libomniZIOP4.a &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp;libpng16.a</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
libCOS4.a &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;libgd.a &nbsp; &nbsp; &n=
bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;libomniConnectionMgmt4.so &nb=
sp; &nbsp; &nbsp;libomniORB4.so &nbsp; &nbsp; &nbsp; &nbsp;libomniZIOP4.so =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; libpng.a</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
libCOS4.so &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; libgd.la &nbsp; &nbsp; &nbsp;=
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; libomniConnectionMgmt4.so.3 &nbsp; &nbs=
p;libomniORB4.so.3 &nbsp; &nbsp; &nbsp;libomniZIOP4.so.3 &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; libssh2.a</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
libCOS4.so.3 &nbsp; &nbsp; &nbsp; &nbsp; libgd.lai &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp;libomniConnectionMgmt4.so.3.2 &nbsp;libomniO=
RB4.so.3.2 &nbsp; &nbsp;libomniZIOP4.so.3.2 &nbsp; &nbsp; &nbsp; &nbsp; lib=
xalan-c.a</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
libCOS4.so.3.2 &nbsp; &nbsp; &nbsp; libomniCodeSets4.a &nbsp; &nbsp; &nbsp;=
 libomniDynamic4.a &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;libomnit=
hread.a &nbsp; &nbsp; &nbsp; libomniZIOPDynamic4.a &nbsp; &nbsp; &nbsp; lib=
xalanMsg.a</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
libCOSDynamic4.a &nbsp; &nbsp; libomniCodeSets4.so &nbsp; &nbsp; &nbsp;libo=
mniDynamic4.so &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; libomnithread.so &=
nbsp; &nbsp; &nbsp;libomniZIOPDynamic4.so &nbsp; &nbsp; &nbsp;libxerces-c.a=
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
libCOSDynamic4.so &nbsp; &nbsp;libomniCodeSets4.so.3 &nbsp; &nbsp;libomniDy=
namic4.so.3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; libomnithread.so.4 &nbsp; &n=
bsp;libomniZIOPDynamic4.so.3 &nbsp; &nbsp;pkgconfig</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
libCOSDynamic4.so.3 &nbsp;libomniCodeSets4.so.3.2 &nbsp;libomniDynamic4.so.=
3.2 &nbsp; &nbsp; &nbsp; &nbsp; libomnithread.so.4.3 &nbsp;libomniZIOPDynam=
ic4.so.3.2 &nbsp;python3.9</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"direction: ltr; font-family: Aptos, =
Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; fo=
nt-size: 12pt; color: rgb(0, 0, 0);">
We wanted to have the binary generation with static linkage (without the .s=
o files) on RHEL. Is it possible?</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
Could you help suggesting the order of the libs to generate the integrated =
binary?</div>
<div class=3D"elementToProof" style=3D"direction: ltr; font-family: Aptos, =
Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; fo=
nt-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"direction: ltr; font-family: Aptos, =
Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; fo=
nt-size: 12pt; color: rgb(0, 0, 0);">
Note:</div>
<div class=3D"elementToProof" style=3D"direction: ltr; text-align: left; te=
xt-indent: 0px; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_=
MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(=
0, 0, 0);">
We had set up omniORB-4.2.0 on AIX XLC and GCC long back with the static li=
nkage (without .so) files and there were no linker errors.</div>
<div class=3D"elementToProof" style=3D"direction: ltr; text-align: left; te=
xt-indent: 0px; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_=
MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(=
0, 0, 0);">
We did see this linker errors only on RHEL.</div>
<div class=3D"elementToProof" style=3D"direction: ltr; font-family: Aptos, =
Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; fo=
nt-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
Thanks.</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
Regards,</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
Jayapradeep Mohan.</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<div style=3D"direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos=
_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb=
(0, 0, 0);">
<br>
</div>
<p><span style=3D"font-size: 11pt; font-family: Calibri, sans-serif; color:=
 #000000;">The content of this message is APPLIED MATERIALS CONFIDENTIAL. I=
f you are not the intended recipient, please notify me, delete this email a=
nd do not use or distribute this email.
</span></p>
</body>
</html>

--_000_PN0PR01MB594453E140BADFB1D2FD9046F2302PN0PR01MB5944INDP_--


--===============5083062799044837561==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
omniORB-list mailing list
[email protected]
https://www.omniorb-support.com/mailman/listinfo/omniorb-list

--===============5083062799044837561==--