RTEMS ARMv8 Query

Raghav Nayak raghav.nayak at nxp.com
Thu Feb 25 03:29:04 UTC 2016


Hi Joel,

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?
Till now couldn’t understand the meaning of this error
"configure: error: GAS does not know what format to use for target aarch64-unknown-rtems4.12"

With Regards
  Raghav

From: Joel Sherrill [mailto:joel at rtems.org]
Sent: Thursday, February 25, 2016 1:35 AM
To: Raghav Nayak
Cc: Gedare Bloom; users at rtems.org
Subject: Re: RTEMS ARMv8 Query



On Wed, Feb 24, 2016 at 1:43 PM, Raghav Nayak <raghav.nayak at nxp.com<mailto:raghav.nayak at nxp.com>> wrote:
Hi Joel,

Could you please tell me the path in source-builder where I need to add support for armv8.

This is not an RSB option. It will require modification of GCC.

Looking at gcc/config.gcc, there is some code which looks like --with-multilib-list=aprofile
MIGHT work. The file config/arm/t-rtems has the usual set of RTEMS multilib variants.
The file config/arm/t-aprofile has another different set which includes armv8.

Alternatively, an experiment would be to edit gcc/config.gcc and look for arm*-*-rtems*
where it says to use t-rtems and change that to t-aprofile. That may or may not work
either but if it works, it should change the multilib set to include armv8.

This is strictly something in gcc related to the files "t-*" in the target specific configuration
directory. In this case, it is either adding to config/arm/t-rtems or switching to
config/arm/t-aprofile. Building gcc by hand and experimenting is unfortunately the
way to do this.

With Regards
  Raghav

-----Original Message-----
From: users [mailto:users-bounces at rtems.org<mailto:users-bounces at rtems.org>] On Behalf Of Raghav Nayak
Sent: Thursday, February 25, 2016 12:06 AM
To: Gedare Bloom; Joel Sherrill
Cc: users at rtems.org<mailto:users at rtems.org>
Subject: RE: RTEMS ARMv8 Query

Hey Gedare/Joel,

I don’t have experience with building toolchain. It would be great if you briefly explain me how to add armv8-a multilib option

With Regards
  Raghav

-----Original Message-----
From: gedare at gwmail.gwu.edu<mailto:gedare at gwmail.gwu.edu> [mailto:gedare at gwmail.gwu.edu<mailto:gedare at gwmail.gwu.edu>] On Behalf Of Gedare Bloom
Sent: Wednesday, February 24, 2016 11:53 PM
To: Raghav Nayak
Cc: Xu Ray; users at rtems.org<mailto:users at rtems.org>
Subject: Re: RTEMS ARMv8 Query

Hi Raghav,

On Wed, Feb 24, 2016 at 1:20 PM, Raghav Nayak <raghav.nayak at nxp.com<mailto:raghav.nayak at nxp.com>> wrote:
> Hey,
>
> I am trying to build toolchain for armv8 getting following error
> "configure: error: GAS does not know what format to use for target aarch64-unknown-rtems4.12"
>
See Joel's email. To build a correct compiler toolchain for RTEMS, you have to modify binutils and gcc.

> Could anybody please help me to resolve this issue. Thanks in advance
>
>
> With Regards
>   Raghav
>
>
> -----Original Message-----
> From: gedare at gwmail.gwu.edu<mailto:gedare at gwmail.gwu.edu> [mailto:gedare at gwmail.gwu.edu<mailto:gedare at gwmail.gwu.edu>] On Behalf
> Of Gedare Bloom
> Sent: Wednesday, February 24, 2016 4:55 PM
> To: Raghav Nayak
> Cc: Xu Ray; users at rtems.org<mailto:users at rtems.org>
> Subject: Re: RTEMS ARMv8 Query
>
> On Wed, Feb 24, 2016 at 5:42 AM, Raghav Nayak <raghav.nayak at nxp.com<mailto:raghav.nayak at nxp.com>> wrote:
>> Hey Ray,
>>
>>
>>
>> Thanks for the info. Do you have any documentation to build toolchain
>> for V8 through source builder?
>>
>
> 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:
> https://docs.rtems.org/doc-current/share/rtems/html/porting/index.html
_______________________________________________
users mailing list
users at rtems.org<mailto:users at rtems.org>
http://lists.rtems.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160225/ecc09a04/attachment-0002.html>


More information about the users mailing list