[RTEMS Project] #3943: i386: unknown register name 'fpcr' in 'asm'

RTEMS trac trac at rtems.org
Wed Apr 8 10:18:02 UTC 2020


#3943: i386: unknown register name 'fpcr' in 'asm'
------------------------------+------------------------
  Reporter:  Sebastian Huber  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  normal           |  Milestone:  Indefinite
 Component:  arch/i386        |    Version:
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+------------------------
 There is a compile error with GCC 10 for the i386/pcp4 and i386/pc586-sse
 BSPs:
 {{{
 In file included from cpukit/include/config.h:6,
                  from ../../../cpukit/score/src/threadrestart.c:20:
 ../../../cpukit/score/src/threadrestart.c: In function
 '_Thread_Life_action_handler':
 ../../../cpukit/score/cpu/i386/include/rtems/score/cpu.h:615:5: error:
 unknown register name 'fpcr' in 'asm'
   615 |     __asm__ __volatile__(                      \
       |     ^~~~~~~
 ../../../cpukit/include/rtems/score/context.h:143:4: note: in expansion of
 macro '_CPU_Context_restore_fp'
   143 |    _CPU_Context_restore_fp( _fp )
       |    ^~~~~~~~~~~~~~~~~~~~~~~
 ../../../cpukit/score/src/threadrestart.c:360:5: note: in expansion of
 macro '_Context_Restore_fp'
   360 |     _Context_Restore_fp( &executing->fp_context );
       |     ^~~~~~~~~~~~~~~~~~~
 }}}

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


More information about the bugs mailing list