[RTEMS Project] #4510: Fix ILP32 multilib variant in newlib for AArch64 (was: Add -DPREFER_SIZE_OVER_SPEED for AArch64 builds)

RTEMS trac trac at rtems.org
Thu Sep 9 13:42:54 UTC 2021


#4510: Fix ILP32 multilib variant in newlib for AArch64
--------------------------+---------------------
 Reporter:  Ryan Long     |       Owner:  (none)
     Type:  defect        |      Status:  new
 Priority:  normal        |   Milestone:  6.1
Component:  arch/aarch64  |     Version:  6
 Severity:  normal        |  Resolution:
 Keywords:                |  Blocked By:
 Blocking:                |
--------------------------+---------------------
Description changed by Joel Sherrill:

Old description:

> This flag is needed to force the generation of AArch64 assembly from C
> sources instead of using the hand-optimized code in newlib. The existing
> hand-optimized code does not support ILP32.

New description:

 This flag is needed to force the generation of AArch64 assembly from C
 sources instead of using the hand-optimized code in newlib. The existing
 hand-optimized code has bugs for ILP32. There are multiple technical
 options to address this and lots of discussion:

 * Update newlib from upstream ARM source code
 * Add -DPREFER_SIZE_OVER_SPEED and always use C versions on aarch64
 * Fix existing code

--

--
Ticket URL: <http://devel.rtems.org/ticket/4510#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list