<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
p.emailquote, li.emailquote, div.emailquote
        {mso-style-name:emailquote;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:1.0pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:512838520;
        mso-list-type:hybrid;
        mso-list-template-ids:-775387742 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:1309476551;
        mso-list-type:hybrid;
        mso-list-template-ids:1635146754 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l2
        {mso-list-id:2031485518;
        mso-list-template-ids:338736944;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l2:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l2:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l2:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l2:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l2:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l2:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l2:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l2:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l3
        {mso-list-id:2132698945;
        mso-list-type:hybrid;
        mso-list-template-ids:-957848344 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l3:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l3:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l3:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l3:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l3:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l3:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l3:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l3:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l3:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Hi Serguei / Duncan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks for the information.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">As you suggested, I built the examples with “gcc 8.2.0 and C++ 17” and tried to run “<b>call_back</b>” example.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">I am getting the same issue below,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">bash-4.4$ <b>./cb_server</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">IOR:000000000000001249444c3a63622f5365727665723a312e30000000000000010000000000000064000102000000000c31302e34312e34362e393200d0da00000000000efe5cd3eeb462000000000000000000000000000200000000000000080000000041545400000000010000001c00000000000100010000000105010001000101090000000100010109<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">cb_server: Doing a single call-back: Hello!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;background:yellow;mso-highlight:yellow">terminate called after throwing an instance of 'omni::giopStream::CommFailure'</span><span style="color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">IOT/Abort trap (core dumped)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">bash-4.4$<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">bash-4.4$ <b>./cb_client</b> 'IOR:000000000000001249444c3a63622f5365727665723a312e30000000000000010000000000000064000102000000000c31302e34312e34362e393200d0da00000000000efe5cd3eeb462000000000000000000000000000200000000000000080000000041545400000000010000001c00000000000100010000000105010001000101090000000100010109'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">cb_client: server->one_time(call_back, "Hello!")<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">cb_client: call_back("Hello!")<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">cb_client: Returned.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;background:yellow;mso-highlight:yellow">terminate called after throwing an instance of 'omni::giopStream::CommFailure'</span><span style="color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">IOT/Abort trap (core dumped)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">bash-4.4$<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Details about our compilation:<o:p></o:p></span></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="color:windowtext;margin-left:0in;mso-list:l3 level1 lfo4">
<b>gcc 8.2.0</b> compiled with the below configuration options on <b>AIX 6.1</b> (<span style="color:black">powerpc-ibm-aix6.1.0.0)</span><o:p></o:p></li></ul>
<p class="MsoListParagraph"><span style="color:#843C0C;mso-style-textfill-fill-color:#843C0C;mso-style-textfill-fill-alpha:100.0%"><span style="color:windowtext">/disks/smithers3/workplaces/build/gcc-8.2/gcc-8.2.0/configure --prefix=/usr/local/gcc-8.2-powerpc-ibm-aix6.1.0.0
--build=powerpc-ibm-aix6.1.0.0 --without-gnu-as --with-as=/usr/bin/as --without-gnu-ld --with-ld=/usr/bin/ld --disable-nls --disable-shared --enable-languages=c++ --enable-checking=release --enable-bootstrap -enable-version-specific-runtime-libs<o:p></o:p></span></span></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="color:windowtext;margin-left:0in;mso-list:l3 level1 lfo4">
omniORB compiled with gcc 8.2.0 and <span style="color:black">c++17</span> on <b>
AIX 6.1</b> (<span style="color:black">powerpc-ibm-aix6.1.0.0)</span><o:p></o:p></li></ul>
<p class="MsoListParagraph" style="text-align:justify"><span style="color:#843C0C;mso-style-textfill-fill-color:#843C0C;mso-style-textfill-fill-alpha:100.0%"><span style="color:windowtext">$./configure --prefix=/usr/local/dev<o:p></o:p></span></span></p>
<p class="MsoListParagraph" style="text-align:justify"><span style="color:#843C0C;mso-style-textfill-fill-color:#843C0C;mso-style-textfill-fill-alpha:100.0%"><span style="color:windowtext">$make<o:p></o:p></span></span></p>
<p class="MsoListParagraph" style="text-align:justify"><span style="color:#843C0C;mso-style-textfill-fill-color:#843C0C;mso-style-textfill-fill-alpha:100.0%"><span style="color:windowtext">$make install<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Further examination, I copied the omniORB binaries (which is originally compiled with gcc 8.2.0 and
</span>c++17<span style="color:windowtext"> on <b>AIX 6.1</b>) into <b>AIX 7.1</b> platform and ran the call_back test. I am getting the same issue in AIX7.1 too.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">It would be helpful if you share your thoughts in that to proceed further.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks & Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">P. Prasath.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> Serguei Kolos <serguei.kolos@cern.ch>
<br>
<b>Sent:</b> Tuesday, April 23, 2019 4:21 PM<br>
<b>To:</b> Prasath Palaniappan <Prasath_Palaniappan@amat.com>; duncan@grisby.org; omniorb-list@omniorb-support.com<br>
<b>Cc:</b> Shankar Chinnusamy <Shankar_Chinnusamy@amat.com><br>
<b>Subject:</b> Re: [omniORB] [External] Re: OmniORB-4.2.2 compiled with gcc8 and C++14 leads into crash<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Prasath<br>
<br>
I still believe that the issue is not related to omniORB. In our project we have been using
<br>
omniORB-4.2.2 compiled with gcc 8.2.0 (using c++1z option which is a synonym of the c++17)
<br>
for the x86_64-pc-linux-gnu platform and it works flawlessly. It should be either a compiler
<br>
configuration issue or something inside your project.<br>
By the way did you try to run any of the omniORB examples compiled with gcc 8.2.0?<br>
<br>
Cheers,<br>
Serguei<br>
<br>
PS: Here is our compiler configuration<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">g++ -v<br>
Using built-in specs.<br>
COLLECT_GCC=g++<br>
Target: x86_64-pc-linux-gnu<br>
Configured with: configure --prefix=/gcc/8.2.0/x86_64-centos7 -with-system-zlib --disable-multilib --enable-languages=all --with-gnu-ld --with-ld=/binutils/2.30/x86_64-centos7/bin/ld --with-gnu-as --with-as=/binutils/2.30/x86_64-centos7/bin/as<br>
Thread model: posix<br>
gcc version 8.2.0 (GCC) <o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
On 4/23/19 12:05 PM, <a href="mailto:Prasath_Palaniappan@amat.com">Prasath_Palaniappan@amat.com</a> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">Hi Serguei,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks for the suggestion.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Actually I have done the same what you suggested. I have removed the
</span>'throw(...)' specifications completely<span style="color:windowtext"> from all the functions.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">I am getting the issue with that only.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks & Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">P. Prasath. </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> Serguei Kolos
<a href="mailto:serguei.kolos@cern.ch"><serguei.kolos@cern.ch></a> <br>
<b>Sent:</b> Tuesday, April 23, 2019 3:25 PM<br>
<b>To:</b> Prasath Palaniappan <a href="mailto:Prasath_Palaniappan@amat.com"><Prasath_Palaniappan@amat.com></a>;
<a href="mailto:duncan@grisby.org">duncan@grisby.org</a>; <a href="mailto:omniorb-list@omniorb-support.com">
omniorb-list@omniorb-support.com</a><br>
<b>Cc:</b> Shankar Chinnusamy <a href="mailto:Shankar_Chinnusamy@amat.com"><Shankar_Chinnusamy@amat.com></a><br>
<b>Subject:</b> Re: [omniORB] [External] Re: OmniORB-4.2.2 compiled with gcc8 and C++14 leads into crash</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Prasath<br>
<br>
You mentioned that in order to compile omniORB with c++17 option you have removed the 'throw'
<br>
specifications from some functions declarations. How did you actually do that? Could it be
<br>
that you have made this modification in the following way:<br>
<br>
void f() throw (BadParam) => void f() throw () <br>
<br>
The crash which you get normally happens in one of the two cases:<br>
<br>
1) A function declares 'throw(A)' but actually throws a different exception 'B'.<br>
2) A function is declared as not throwing any exception using 'throw()' declaration but actually throws an exception.<br>
<br>
So I would suggest you to check that you have removed the 'throw(...)' specifications completely<br>
from all the functions concerned and don't have 'throw()' terms left anywhere in these functions
<br>
declarations.<br>
<br>
Cheers,<br>
Serguei<br>
<br>
On 4/23/19 11:01 AM, Prasath via omniORB-list wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Hi Duncan, <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for the response. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Please find the answers below,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:#833C0B">Where did the compiler come from?
</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">gcc 8.2 (gcc-8.2.0.tar.gz) is downloaded from <a href="https://gcc.gnu.org/">
<span style="color:#0563C1">https://gcc.gnu.org/</span></a> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#833C0B"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:#833C0B">Did you compile it yourself?
</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Yes, we compiled it (gcc-8.2.0.tar.gz). Arguments to gcc configure script below,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">$./configure --prefix=/usr/local/gcc-8.2-powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0 --without-gnu-as --with-as=/usr/bin/as --without-gnu-ld --with-ld=/usr/bin/ld --disable-nls --disable-shared --enable-languages=c++ --enable-checking=release
--enable-bootstrap -enable-version-specific-runtime-libs<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">$make install<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:#833C0B">What does "g++ -v" report?</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">bash-4.4$ ./g++ -v<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Using built-in specs.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">COLLECT_GCC=./g++<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">COLLECT_LTO_WRAPPER=/usr/local/gcc-8.2-powerpc-ibm-aix6.1.0.0/libexec/gcc/powerpc-ibm-aix6.1.0.0/8.2.0/lto-wrapper<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Target: powerpc-ibm-aix6.1.0.0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Configured with: /disks/smithers3/workplaces/build/gcc-8.2/gcc-8.2.0/configure --prefix=/usr/local/gcc-8.2-powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-aix6.1.0.0 --without-gnu-as --with-as=/usr/bin/as --without-gnu-ld --with-ld=/usr/bin/ld
--disable-nls --disable-shared --enable-languages=c++ --enable-checking=release --enable-bootstrap -enable-version-specific-runtime-libs<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thread model: aix<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">gcc version 8.2.0 (GCC)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:#833C0B">How did you configure omniORB? What were the arguments to its configure script?</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">$./configure --prefix=/usr/local/dev<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">$make<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">$make install<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">As per your advice, we removed all the throw specifications and it got compiled successfully.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">And tested again but we are getting the same termination. For your reference, I have attached the completed log (it also has crash stack) with this mail.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Please provide your thoughts to proceed further.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks & Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">P. Prasath. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-----Original Message-----<br>
From: Duncan Grisby <a href="mailto:duncan@grisby.org"><duncan@grisby.org></a> <br>
Sent: Tuesday, April 16, 2019 5:58 PM<br>
To: Prasath Palaniappan <a href="mailto:Prasath_Palaniappan@amat.com"><Prasath_Palaniappan@amat.com></a>;
<a href="mailto:omniorb-list@omniorb-support.com">omniorb-list@omniorb-support.com</a><br>
Cc: Shankar Chinnusamy <a href="mailto:Shankar_Chinnusamy@amat.com"><Shankar_Chinnusamy@amat.com></a><br>
Subject: Re: [omniORB] [External] Re: OmniORB-4.2.2 compiled with gcc8 and C++14 leads into crash<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">CAUTION: EXTERNAL EMAIL. Verify before you click links or open attachments. Questions? Contact GIS.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">On Wed, 2019-04-10 at 11:03 +0000, Prasath via omniORB-list wrote:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> OmniORB-4.2.2 has dynamic exception specifications those are
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> unsupported in C++17.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> So we removed those unsupported dynamic exception specifications and
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> compiled the OmniORB-4.2.2 with "gcc8 and C++17".<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> virtual void visit(const char* value,Source source) throw (BadParam) =
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> 0;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Yes, that is the right thing to do. Just remove all the throw specifications. The only place that has those throw specifications is in the option processing code, which is not involved at all in the errors you are seeing. Whatever the problem
is, it has absolutely nothing to do with those throw specifications.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> Apart from those changes what else need to be done to compile the<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> OmniORB-4.2.2 with "gcc8 and C++17" properly?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Nothing. It works fine with just that change.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> Clarifications:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> As you mentioned that you have removed throw specifications in<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> OmniORB-4.3 to support future compilers and it is in development
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">> branch. If so, could you please let us know when it will be released?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">There is no current timeframe for omniORB 4.3 to be released, but that is irrelevant here. There are no other changes in 4.3 that are related to this.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The compiler has generated incorrect code, or the C++ runtime is faulty. An exception is being thrown but it not being caught as it should be by the exception handler.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Where did the compiler come from? Did you compile it yourself? What does "g++ -v" report?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">How did you configure omniORB? What were the arguments to its configure script?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Duncan.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">--<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-- Duncan Grisby --<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> -- <a href="mailto:duncan@grisby.org">duncan@grisby.org</a> --<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> -- <a href="http://www.grisby.org">http://www.grisby.org</a> --<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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.
<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>omniORB-list mailing list<o:p></o:p></pre>
<pre><a href="mailto:omniORB-list@omniorb-support.com">omniORB-list@omniorb-support.com</a><o:p></o:p></pre>
<pre><a href="http://www.omniorb-support.com/mailman/listinfo/omniorb-list">http://www.omniorb-support.com/mailman/listinfo/omniorb-list</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>