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

  • From: "zeusk" <trac@xxxxxxxxxxxx>
  • Date: Sun, 20 Apr 2014 10:12:50 -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 zeusk):

 It (bsd's stdatomic) doesn't use syscall, It uses trap functions like
 linux does and my previous patch. I was recommended against such
 implementation and was asked to use the haiku's atomic syscalls which
 works without any modifications to the kernel for any CPU regardless if it
 is ARMv5 or ARMv6. As for efficiency, you can improve those functions in
 my patch if you think there is a more efficient way to do things.

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

Other related posts: