<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 1:43 PM, Raghav Nayak <span dir="ltr"><<a href="mailto:raghav.nayak@nxp.com" target="_blank">raghav.nayak@nxp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Joel,<br>
<br>
Could you please tell me the path in source-builder where I need to add support for armv8.<br>
<span class="im HOEnZb"><br></span></blockquote><div><br></div><div>This is not an RSB option. It will require modification of GCC. </div><div><br></div><div>Looking at gcc/config.gcc, there is some code which looks like --with-multilib-list=aprofile</div><div>MIGHT work. The file config/arm/t-rtems has the usual set of RTEMS multilib variants.</div><div>The file config/arm/t-aprofile has another different set which includes armv8.</div><div><br></div><div>Alternatively, an experiment would be to edit gcc/config.gcc and look for arm*-*-rtems*</div><div>where it says to use t-rtems and change that to t-aprofile. That may or may not work</div><div>either but if it works, it should change the multilib set to include armv8.</div><div><br></div><div>This is strictly something in gcc related to the files "t-*" in the target specific configuration</div><div>directory. In this case, it is either adding to config/arm/t-rtems or switching to </div><div>config/arm/t-aprofile. Building gcc by hand and experimenting is unfortunately the</div><div>way to do this.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="im HOEnZb">
With Regards<br>
  Raghav<br>
<br>
-----Original Message-----<br>
</span><div class="HOEnZb"><div class="h5">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" rel="noreferrer" target="_blank">https://docs.rtems.org/doc-current/share/rtems/html/porting/index.html</a><br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>