<div dir="ltr">Hi, <br>The issue of recursive calls of callocs was fixed in RTEMS mainline adding -fno-builtin in the calloc.c compilation, but we made a gcc patch in order to use -fno-builtin-calloc instead of -fno-builtin, this is more specific and disables only calloc builtin optimization.<br><br>Currently there is an open thread in the gcc mailing list discussing the best way to solve this issue:<br><a href="https://gcc.gnu.org/ml/gcc/2015-09/msg00300.html">https://gcc.gnu.org/ml/gcc/2015-09/msg00300.html</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 5, 2015 at 12:09 PM, Daniel Gutson <span dir="ltr"><<a href="mailto:daniel.gutson@tallertechnologies.com" target="_blank">daniel.gutson@tallertechnologies.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Nov 5, 2015 at 11:52 AM, Sebastian Huber<br>
<span class=""><<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br>
><br>
><br>
> On 05/11/15 15:50, Daniel Gutson wrote:<br>
>><br>
>> On Thu, Nov 5, 2015 at 11:41 AM, Sebastian Huber<br>
>> <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>>  wrote:<br>
>>><br>
>>> >Hello,<br>
>>> ><br>
>>> >I would like to add the tools for RTEMS 4.12 to the RSB. The question is<br>
>>> >which GCC version should we use? Since our release process is so slow I<br>
>>> > tend<br>
>>> >to use GCC 6 since it includes support for OpenMP and C++11 threads out<br>
>>> > of<br>
>>> >the box. I use it currently for development and it works quite good at<br>
>>> > least<br>
>>> >on ARM and PowerPC.<br>
>><br>
>> Out of curiosity: OpenMP on ARM? Could you detail the core name?<br>
><br>
><br>
> What do you mean with core name? The Altera Cyclone V and Xilinx Zynq use<br>
> Cortex-A9 MPCore if this is what you mean.<br>
<br>
</span>Yes, thanks.<br>
<span class=""><br>
><br>
>><br>
>> Thanks,<br>
>><br>
>>     Daniel.<br>
>><br>
>> ps: we're successfully using gcc 5.2 with custom patches that make<br>
>> RTEMS compile. We are currently working with the gcc community to<br>
>> finish one of them. We can provide them here meanwhile.<br>
>><br>
><br>
> What is the problem with 5.2? I didn't experience problems with this GCC<br>
> branch.<br>
<br>
</span>We use C++14. The problems I can remember where the recursive call to<br>
calloc and the global register.<br>
Guys? Marcos, Andrés? Please comment.<br>
<span class="im HOEnZb"><br>
><br>
><br>
> --<br>
> Sebastian Huber, embedded brains GmbH<br>
><br>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
> Phone   : +49 89 189 47 41-16<br>
> Fax     : +49 89 189 47 41-09<br>
> E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a><br>
> PGP     : Public key available on request.<br>
><br>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
><br>
<br>
<br>
<br>
</span><span class="im HOEnZb">--<br>
<br>
Daniel F. Gutson<br>
Chief Engineering Officer, SPD<br>
<br>
San Lorenzo 47, 3rd Floor, Office 5<br>
Córdoba, Argentina<br>
<br>
Phone:   +54 351 4217888 / +54 351 4218211<br>
Skype:    dgutson<br>
LinkedIn: <a href="http://ar.linkedin.com/in/danielgutson" rel="noreferrer" target="_blank">http://ar.linkedin.com/in/danielgutson</a><br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:16px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"><img src="http://www.tallertechnologies.com/templates/tallertechnologies/images/signature.png" width="200" height="78"><br></span></p><br><span style="font-size:16px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:16px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"><font size="4"><span style="font-family:verdana,sans-serif">Gabriel Alejandro Ibarra</span></font><br></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:verdana,sans-serif;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline">Software Engineer</span></font><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline"></span></p><br><span style="font-size:15px;font-family:Arial;color:#000000;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline">San Lorenzo 47, 3rd Floor, Office 5</span></font></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline">Córdoba, Argentina </span></font></p><font size="1"><br><span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span></font><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline">Phone:</span><span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"> +54 351 4217888<br></span></font></p></div></div>
</div>