[RTEMS Project] #2830: throwing std::runtime on PC BSP fails.

RTEMS trac trac at rtems.org
Fri Sep 11 22:58:24 UTC 2020

#2830: throwing std::runtime on PC BSP fails.
 Reporter:  Chris Johns  |       Owner:  Needs Funding
     Type:  defect       |      Status:  assigned
 Priority:  normal       |   Milestone:  Indefinite
Component:  unspecified  |     Version:  5
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |

Comment (by Michael Davidsaver):

 > Could someone please try this test case with -march=i486 as the compiler

 This seems to have the desired effect (emits a 'lock' instruction instead
 of calling `__atomic_fetch_add_4`).

 I'm still perplexed that the 'pentiumpro' version of libstdc++.a appears
 to be built with '-march=i386'.  All 6 versions seem to be.  Is this how
 gcc's multilib is meant to work?

Ticket URL: <http://devel.rtems.org/ticket/2830#comment:9>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list