[RTEMS Project] #3438: GCC multilibs for ARM don't support FPU synonyms
RTEMS trac
trac at rtems.org
Tue May 29 11:29:16 UTC 2018
#3438: GCC multilibs for ARM don't support FPU synonyms
-------------------------------+---------------------
Reporter: munster | Owner: (none)
Type: defect | Status: new
Priority: low | Milestone:
Component: tool/gcc | Version:
Severity: normal | Resolution:
Keywords: multilibs,GCC,ARM | Blocked By:
Blocking: |
-------------------------------+---------------------
Comment (by munster):
Replying to [comment:2 Sebastian Huber]:
> I think we just have to teach GCC (in t-rtems) that it should use the
> thumb/armv7-a/neon/hard;@mthumb at march=armv7-a at mfpu=neon at mfloat-abi=hard
> multilib if your application uses -mfpu=neon-fp16.
I think it's not enough. Some people would like to use ARM (not Thumb
mode), some people may need `-mfloat-abi=softfp`, and suddenly you're
looking at **12** multilibs only for ARMv7-A.
Please also look at gcc-7.3.0/gcc/config/arm/t-rmprofile - it contains 20
multilibs.
To combat that rapid expansion, I suggest to create a GCC's configure
option `--with_multilib_list=<cpu1>,...` and add sub-sections into t-rtems
for each individual cpu. This way anybody could choose necessary platform
without having to patch t-rtems.
--
Ticket URL: <http://devel.rtems.org/ticket/3438#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list