[haiku-bugs] Re: [Haiku] #10241: ARM builds broken after PM, missing built-in atomics in libgcc for Haiku

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 20 Apr 2014 10:09:04 -0000

#10241: ARM builds broken after PM, missing built-in atomics in libgcc for Haiku
----------------------------+----------------------------
   Reporter:  kallisti5     |      Owner:  bonefish
       Type:  bug           |     Status:  new
   Priority:  high          |  Milestone:  Unscheduled
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:  arm bootstrap
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  arm
----------------------------+----------------------------

Comment (by pulkomandy):

 Mentionning this here after discussing with zeusk over IRC: the stdatomic
 I imported from FreeBSD works well for ARMv6+, but on ARMv5, it uses a
 syscall to implement atomic operations, which we can avoid by using the
 patch he attached here.

 However, the ARMv6+ implementation from FreeBSD is likely more efficient,
 so we want to keep that, and I think it would make sense to keep
 everything in libroot rather than putting them on gcc side.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10241#comment:13>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: