<p dir="ltr"><br>
On Feb 24, 2016 9:29 PM, "Raghav Nayak" <<a href="mailto:raghav.nayak@nxp.com">raghav.nayak@nxp.com</a>> wrote:<br>
><br>
> Hi Joel,<br>
><br>
> <br>
><br>
> 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?<br>
><br>
> Till now couldn’t understand the meaning of this error<br>
><br>
> "configure: error: GAS does not know what format to use for target aarch64-unknown-rtems4.12"</p>
<p dir="ltr">That means the gas configure script hasn't been taught the target name yet. Usually just a matter of editing a switch statement.</p>
<p dir="ltr">I am sending an email to a GCC arm maintainer for advice on the best path forward. Should be a matter of the right tweaks.</p>
<p dir="ltr">> <br>
><br>
> With Regards<br>
><br>
> Raghav<br>
><br>
> <br>
><br>
> From: Joel Sherrill [mailto:<a href="mailto:joel@rtems.org">joel@rtems.org</a>] <br>
> Sent: Thursday, February 25, 2016 1:35 AM<br>
> To: Raghav Nayak<br>
> Cc: Gedare Bloom; <a href="mailto:users@rtems.org">users@rtems.org</a><br>
><br>
> Subject: Re: RTEMS ARMv8 Query<br>
><br>
> <br>
><br>
> <br>
><br>
> <br>
><br>
> On Wed, Feb 24, 2016 at 1:43 PM, Raghav Nayak <<a href="mailto:raghav.nayak@nxp.com">raghav.nayak@nxp.com</a>> wrote:<br>
>><br>
>> Hi Joel,<br>
>><br>
>> Could you please tell me the path in source-builder where I need to add support for armv8.<br>
><br>
> <br>
><br>
> This is not an RSB option. It will require modification of GCC. <br>
><br>
> <br>
><br>
> Looking at gcc/config.gcc, there is some code which looks like --with-multilib-list=aprofile<br>
><br>
> MIGHT work. The file config/arm/t-rtems has the usual set of RTEMS multilib variants.<br>
><br>
> The file config/arm/t-aprofile has another different set which includes armv8.<br>
><br>
> <br>
><br>
> Alternatively, an experiment would be to edit gcc/config.gcc and look for arm*-*-rtems*<br>
><br>
> where it says to use t-rtems and change that to t-aprofile. That may or may not work<br>
><br>
> either but if it works, it should change the multilib set to include armv8.<br>
><br>
> <br>
><br>
> This is strictly something in gcc related to the files "t-*" in the target specific configuration<br>
><br>
> directory. In this case, it is either adding to config/arm/t-rtems or switching to <br>
><br>
> config/arm/t-aprofile. Building gcc by hand and experimenting is unfortunately the<br>
><br>
> way to do this.<br>
><br>
> <br>
>><br>
>> With Regards<br>
>> Raghav<br>
>><br>
>> -----Original Message-----<br>
>><br>
>> 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">https://docs.rtems.org/doc-current/share/rtems/html/porting/index.html</a><br>
>><br>
>> _______________________________________________<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">http://lists.rtems.org/mailman/listinfo/users</a><br>
><br>
> </p>