<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi Duncan,</div>
<div><font face="Calibri"> </font></div>
<div>Sorry for bothering you.</div>
<div><font face="Calibri"> </font></div>
<div>As you are aware, we have been facing issue on using omniORB-4.2.0 library in gcc-8 due to that exception is not caught properly after we upgraded from gcc-4.8 to gcc-8.2.</div>
<div>Then we found the reason for the issue is gcc when using it on AIX. So, we raised this issue to gcc (please see the below mail) but we didn’t get any valid fix till now.</div>
<div> </div>
<div>Meanwhile, we understand that the new released omniORB-4.2.4 version has fixes which is related to exception specifier to support latest C++17. </div>
<div>So, we believed the latest version might have been tested with gcc-8.2 on AIX and we tried to check whether the exception handling issue (when we use with gcc-8.2 on AIX) is fixed within omniORB in the latest version.</div>
<div>We compiled and checked the call_back examples and facing the same termination issue on throwing COMM_FAILURE exception. </div>
<div><font face="Calibri"> </font></div>
<a name="_MailEndCompose"></a>
<div>Could you please let us know whether the latest omniORB-4.2.4 provides support to gcc-8.2 on AIX? If not, what is the maximum supported and tested gcc version on AIX?</div>
<div>Or do you have any plan for supporting that latest gcc version on AIX?</div>
<div><font face="Calibri"> </font></div>
<div>We are eagerly waiting for your response. Kindly suggest us to move forward in this issue.</div>
<div> </div>
<div>Thanks & Regards,</div>
<div>P. Prasath.</div>
<div><font face="Calibri">_____________________________________________<br>

<b>From:</b> Prasath Palaniappan <br>

<b>Sent:</b> Thursday, December 12, 2019 2:56 PM<br>

<b>To:</b> Duncan Grisby <duncan@grisby.org>; omniorb-list@omniorb-support.com<br>

<b>Cc:</b> Shankar Chinnusamy <Shankar_Chinnusamy@amat.com><br>

<b>Subject:</b> RE: [External] Re: [omniORB] Exception not caught - omniORB-4.2.0</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">Hi Duncan, </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">We posted this query to gcc and got the response i.e. this is a bug in gcc on AIX. Please find the below link,</font></div>
<div><font face="Calibri"><a href="https://www.spinics.net/lists/gcchelp/msg49970.html"><font color="#0563C1"><u>https://www.spinics.net/lists/gcchelp/msg49970.html</u></font></a></font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">Thank you so much for your prompt support.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">Thanks & Regards,</font></div>
<div><font face="Calibri">P. Prasath.</font></div>
<div><font face="Calibri">_____________________________________________<br>

<b>From:</b> Prasath Palaniappan <br>

<b>Sent:</b> Wednesday, December 11, 2019 7:32 PM<br>

<b>To:</b> 'Duncan Grisby' <<a href="mailto:duncan@grisby.org"><font color="#0563C1"><u>duncan@grisby.org</u></font></a>>; <a href="mailto:omniorb-list@omniorb-support.com"><font color="#0563C1"><u>omniorb-list@omniorb-support.com</u></font></a><br>

<b>Cc:</b> Shankar Chinnusamy <<a href="mailto:Shankar_Chinnusamy@amat.com"><font color="#0563C1"><u>Shankar_Chinnusamy@amat.com</u></font></a>><br>

<b>Subject:</b> RE: [External] Re: [omniORB] Exception not caught - omniORB-4.2.0</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">Hi Duncan, </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">As you suggested, I am looking into it on compiler and C++ runtime.</font></div>
<div><font face="Calibri">I recompiled the gcc-8.2.0 with "--enable-threads" option in order to fix the issue as mentioned in gcc page <a href="https://gcc.gnu.org/install/configure.html"><font color="#0563C1"><u>https://gcc.gnu.org/install/configure.html</u></font></a></font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">I compiled omniORB and examples with this newly built gcc and tested the call_back example and ran into the same issue. </font></div>
<div><font face="Calibri">Gone through the traces and observed that omniDynamic library is not linked but this library does get linked and get initialized when we run the omniORB which is compiled with gcc-4.8.3.</font></div>
<div><font face="Calibri"><u>omniORB with gcc-4.8.3:</u></font></div>
<div><font face="Calibri" color="#833C0B">omniORB: Initialising omniDynamic library.</font></div>
<div><font face="Calibri"><u>omniORB with gcc-8.2.0:</u></font></div>
<div><font face="Calibri" color="#833C0B">omniORB: (0) 2019-12-11 01:33:35.484672: Information: the omniDynamic library is not linked.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">I agree this is an information, but curious to know whether it impacts anything since it is named as dynamic library.</font></div>
<div><font face="Calibri">I looked into forum and found the same post in below link,</font></div>
<div><font face="Calibri"><a href="https://omniorb-list.realvnc.narkive.com/3WcwVC6I/omniorb-information-the-omnidynamic-library-is-not-linked"><font color="#0563C1"><u>https://omniorb-list.realvnc.narkive.com/3WcwVC6I/omniorb-information-the-omnidynamic-library-is-not-linked</u></font></a></font></div>
<div><font face="Calibri">and tried your solution by setting "export ORBendPointPublish=ipv4". </font></div>
<div><font face="Calibri">It gets reflected in configuration as below but still the omniDynamic is not linked.</font></div>
<div><font face="Calibri" color="#833C0B">omniORB:   endPointPublish = ipv6</font></div>
<div><font face="Calibri">And also another query in below link which seems the same, but not answered yet.</font></div>
<div><font face="Calibri"><a href="https://www.omniorb-support.com/pipermail/omniorb-list/2010-February/030534.html"><font color="#0563C1"><u>https://www.omniorb-support.com/pipermail/omniorb-list/2010-February/030534.html</u></font></a></font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">I am not blaming omni code. I am looking forward to you throwing some light to proceed further in this issue.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">Thanks & Regards,</font></div>
<div><font face="Calibri">P. Prasath.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">-----Original Message-----<br>

From: Duncan Grisby <<a href="mailto:duncan@grisby.org"><font color="#0563C1"><u>duncan@grisby.org</u></font></a>>
<br>

Sent: Wednesday, November 6, 2019 9:53 PM<br>

To: Prasath Palaniappan <<a href="mailto:Prasath_Palaniappan@amat.com"><font color="#0563C1"><u>Prasath_Palaniappan@amat.com</u></font></a>>; <a href="mailto:omniorb-list@omniorb-support.com"><font color="#0563C1"><u>omniorb-list@omniorb-support.com</u></font></a><br>

Cc: Shankar Chinnusamy <<a href="mailto:Shankar_Chinnusamy@amat.com"><font color="#0563C1"><u>Shankar_Chinnusamy@amat.com</u></font></a>><br>

Subject: [External] Re: [omniORB] Exception not caught - omniORB-4.2.0</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">CAUTION: EXTERNAL EMAIL. Verify before you click links or open attachments. Questions? Contact GIS.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">On Tue, 2019-11-05 at 18:06 +0000, Prasath via omniORB-list wrote:</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">[...]</font></div>
<div><font face="Calibri">> But when we run the omniORB + application which is compiled with gcc- </font></div>
<div><font face="Calibri">> 8.2.0, omniORB gets crashed because it unable to catch the Exception </font></div>
<div><font face="Calibri">> “CommFailure” and lead into termination.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">This is exactly the same thing you reported back in April:</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"><a href="https://www.omniorb-support.com/pipermail/omniorb-list/2019-April/032050.html">https://www.omniorb-support.com/pipermail/omniorb-list/2019-April/032050.html</a></font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">The answer now is the same as the answer then. omniORB's code is correct. It has code that catches the exception. For some reason in your system it is not being caught, but that is not omniORB's fault.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">[...]</font></div>
<div><font face="Calibri">> But the exception does not get caught with the catch when compiled </font></div>
<div><font face="Calibri">> omniORB with gcc-8.2.0.</font></div>
<div><font face="Calibri">> Could you please clarify us the cause for this issue and why ominORB </font></div>
<div><font face="Calibri">> unable to handle the exception if gcc-8.2.0 and also provide your </font></div>
<div><font face="Calibri">> suggestions to fix this issue?</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">Why do you insist on thinking that omniORB is to blame here?  As you say yourself, the same code works totally fine when you use gcc 4.8.3.</font></div>
<div><font face="Calibri">The one thing you have changed is the compiler version. THAT is the culprit, not omniORB. My suggestion to fix the issue is to find a compiler that works.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">Duncan.</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">--</font></div>
<div><font face="Calibri"> -- Duncan Grisby         --</font></div>
<div><font face="Calibri">  -- <a href="mailto:duncan@grisby.org">duncan@grisby.org</a>     --</font></div>
<div><font face="Calibri">   -- <a href="http://www.grisby.org">http://www.grisby.org</a> --</font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri"> </font></div>
<div><font face="Calibri">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. </font></div>
</span></font>
</body>
</html>