[RTEMS Project] #3438: GCC multilibs for ARM don't support FPU synonyms

RTEMS trac trac at rtems.org
Mon May 28 17:22:38 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    |   Keywords:  multilibs,GCC,ARM
Blocked By:            |   Blocking:
-----------------------+-------------------------------
 There are two issues with the ARM multilibs.
 1. When a program is compiled with option -mfpu=neon-fp16, the default
 runtime (ARMv4T, no FP) is selected which results of course in linking
 errors.
 2. When there are two object files compiled with different but compatible
 FPU options, the linker fails to understand this.
 Both issues could be fixed with appropriate `MULTILIB_MATCHES` in file
 ''gcc/config/arm/t-rtems''. I have attached the patch with fixes for
 **ARMv7-A** only. It was made by cutting and pasting from ''t-aprofile''.

 I understand that there are many ARM platforms for which this issue
 wouldn't matter, so maybe the better approach would be to have a command
 line argument for GCC's configure script along the lines of
 https://gcc.gnu.org/ml/gcc-patches/2015-11/msg03400.html
 This would allow everybody to select the precise multilibs for the
 platform they have with a minimum hassle.

--
Ticket URL: <http://devel.rtems.org/ticket/3438>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list