<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:"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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
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;}
span.im
{mso-style-name:im;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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 lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Joel,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I am using RSB 4.12 it picks “gcc-6-20160124” which is already supporting aarch64. Do you see still I have to try building gcc by hand?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Till now couldn’t understand the meaning of this error<o:p></o:p></span></p>
<p class="MsoNormal">"configure: error: GAS does not know what format to use for target aarch64-unknown-rtems4.12"<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">With Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> Raghav<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Joel Sherrill [mailto:joel@rtems.org]
<br>
<b>Sent:</b> Thursday, February 25, 2016 1:35 AM<br>
<b>To:</b> Raghav Nayak<br>
<b>Cc:</b> Gedare Bloom; users@rtems.org<br>
<b>Subject:</b> Re: RTEMS ARMv8 Query<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Wed, Feb 24, 2016 at 1:43 PM, Raghav Nayak <<a href="mailto:raghav.nayak@nxp.com" target="_blank">raghav.nayak@nxp.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Joel,<br>
<br>
Could you please tell me the path in source-builder where I need to add support for armv8.<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">This is not an RSB option. It will require modification of GCC. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Looking at gcc/config.gcc, there is some code which looks like --with-multilib-list=aprofile<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">MIGHT work. The file config/arm/t-rtems has the usual set of RTEMS multilib variants.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The file config/arm/t-aprofile has another different set which includes armv8.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Alternatively, an experiment would be to edit gcc/config.gcc and look for arm*-*-rtems*<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">where it says to use t-rtems and change that to t-aprofile. That may or may not work<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">either but if it works, it should change the multilib set to include armv8.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">This is strictly something in gcc related to the files "t-*" in the target specific configuration<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">directory. In this case, it is either adding to config/arm/t-rtems or switching to <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">config/arm/t-aprofile. Building gcc by hand and experimenting is unfortunately the<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">way to do this.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><span class="im">With Regards</span><br>
<span class="im"> Raghav</span><br>
<br>
<span class="im">-----Original Message-----</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">From: users [mailto:<a href="mailto:users-bounces@rtems.org">users-bounces@rtems.org</a>] On Behalf Of Raghav Nayak<br>
Sent: Thursday, February 25, 2016 12:06 AM<br>
To: Gedare Bloom; Joel Sherrill<br>
Cc: <a href="mailto:users@rtems.org">users@rtems.org</a><br>
Subject: RE: RTEMS ARMv8 Query<br>
<br>
Hey Gedare/Joel,<br>
<br>
I don’t have experience with building toolchain. It would be great if you briefly explain me how to add armv8-a multilib option<br>
<br>
With Regards<br>
Raghav<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:gedare@gwmail.gwu.edu">gedare@gwmail.gwu.edu</a> [mailto:<a href="mailto:gedare@gwmail.gwu.edu">gedare@gwmail.gwu.edu</a>] On Behalf Of Gedare Bloom<br>
Sent: Wednesday, February 24, 2016 11:53 PM<br>
To: Raghav Nayak<br>
Cc: Xu Ray; <a href="mailto:users@rtems.org">users@rtems.org</a><br>
Subject: Re: RTEMS ARMv8 Query<br>
<br>
Hi Raghav,<br>
<br>
On Wed, Feb 24, 2016 at 1:20 PM, Raghav Nayak <<a href="mailto:raghav.nayak@nxp.com">raghav.nayak@nxp.com</a>> wrote:<br>
> Hey,<br>
><br>
> I am trying to build toolchain for armv8 getting following error<br>
> "configure: error: GAS does not know what format to use for target aarch64-unknown-rtems4.12"<br>
><br>
See Joel's email. To build a correct compiler toolchain for RTEMS, you have to modify binutils and gcc.<br>
<br>
> Could anybody please help me to resolve this issue. Thanks in advance<br>
><br>
><br>
> With Regards<br>
> Raghav<br>
><br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:gedare@gwmail.gwu.edu">gedare@gwmail.gwu.edu</a> [mailto:<a href="mailto:gedare@gwmail.gwu.edu">gedare@gwmail.gwu.edu</a>] On Behalf<br>
> Of Gedare Bloom<br>
> Sent: Wednesday, February 24, 2016 4:55 PM<br>
> To: Raghav Nayak<br>
> Cc: Xu Ray; <a href="mailto:users@rtems.org">users@rtems.org</a><br>
> Subject: Re: RTEMS ARMv8 Query<br>
><br>
> On Wed, Feb 24, 2016 at 5:42 AM, Raghav Nayak <<a href="mailto:raghav.nayak@nxp.com">raghav.nayak@nxp.com</a>> wrote:<br>
>> Hey Ray,<br>
>><br>
>><br>
>><br>
>> Thanks for the info. Do you have any documentation to build toolchain<br>
>> for V8 through source builder?<br>
>><br>
><br>
> RTEMS Source Builder simplifies/scripts the procedures to build the toolchain using as much as possible the upstream (gcc, newlib, binutils, etc) sources. RTEMS needs some customization in the compiler to add the -rtems target. Since support has never been
added for v8, there will not be any such compiler support available yet. So the first step has to look at adding that support:<br>
> <a href="https://docs.rtems.org/doc-current/share/rtems/html/porting/index.html" target="_blank">
https://docs.rtems.org/doc-current/share/rtems/html/porting/index.html</a><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>