<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>Maybe something you can report back to Intel so that they can fix
it in their next compiler update?<br>
</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">Johnny Willemsen
Remedy IT
<a class="moz-txt-link-freetext" href="http://www.remedy.nl">http://www.remedy.nl</a>
</pre>
<div class="moz-cite-prefix">On 3/16/20 12:11 PM, Yorick wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPbzRUYXnbieixy8V+whz3DW8Nh+3_cGObWUH-RTau4g-Wp+NA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div>Hi All,</div>
<div><br>
</div>
<div>Just to give an update so this issue can be closed.</div>
<div><br>
</div>
<div>We figured out after investigation that there must be a
bug in the Intel Compiler we are using.</div>
<div>Reducing the optimization from -O3 to -O2 solved this
issue.</div>
<div><br>
</div>
<div><font face="monospace">---
ACE_wrappers/include/makeinclude/platform_linux_icc.GNU
Fri Nov 22 09:26:59 2019<br>
+++
ACE_wrappers/include/makeinclude/platform_linux_icc.GNU
Fri Mar 13 13:07:57 2020<br>
@@ -84,7 +84,7 @@<br>
LIBS += -lrt<br>
endif<br>
<br>
-OCFLAGS += -O3<br>
+OCFLAGS += -O2<br>
<br>
# Disable floating point optimizer solves problem with<br>
# min/max float values in the TAO_IDL compiler tests</font><br>
</div>
<div><br>
</div>
<div>I hope this helps anyone encountering the same issue.</div>
<div><br>
</div>
<div>Many thanks for the quick responses.</div>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div><br>
Yorick Bosman</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Op do 12 mrt. 2020 om 17:02
schreef Yorick <<a href="mailto:yorick.bosman@gmail.com"
moz-do-not-send="true">yorick.bosman@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Hi Johnny and Adam,</div>
<div><br>
</div>
<div>Thanks for the quick reply.</div>
<div>With valgrind I could eventually found out an issue
with ACE / our code (not sure where the responsibility
lies)<br>
</div>
<div><br>
</div>
<div>So, the issue is when we call CORBA::ORB_init with
some strange variables:</div>
<div><br>
</div>
<div><font face="monospace">char* argv[5];<br>
argv[0] = "argument0";<br>
argv[1] = "argument1";<br>
argv[2] = "argument2";<br>
argv[3] = "argument3";<br>
argv[4] = "argument4";<br>
<br>
int argc = 3;<br>
<br>
// The issue occurs here, argv has more values after
the count of 3 (specified by argc)<br>
CORBA::ORB_init ( argc, argv, "something" );<br>
</font><br>
</div>
<div>When I force argv[3][0] = "\0"; it seems to work,
although i get an other issues somewhere else.</div>
<div><br>
</div>
<div>To be complete: everything works just fine with ACE
5.5.4. Unit tests seem to work just fine.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Yorick</div>
<div><br>
</div>
</div>
</blockquote>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ace-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ace-users@list.isis.vanderbilt.edu">ace-users@list.isis.vanderbilt.edu</a>
<a class="moz-txt-link-freetext" href="http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-users">http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-users</a></pre>
</blockquote>
</body>
</html>