[haiku-bugs] Re: [Haiku] #10240: PowerPC build broken after PM

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 03 Jul 2017 05:20:43 -0000

#10240: PowerPC build broken after PM
----------------------------+----------------------------
   Reporter:  kallisti5     |      Owner:  mmu_man
       Type:  bug           |     Status:  assigned
   Priority:  normal        |  Milestone:  Unscheduled
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:  ppc bootstrap
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  PowerPC
----------------------------+----------------------------

Comment (by pulkomandy):

 Does not look like a gcc bug to me. When there is no dedicated CPU
 instruction for an atomic operation, GCC will call an helper routine,
 which the OS should implement. That routine can do anything that's needed
 to emulate the behavior: do a syscall, disable interrupts, acquire some
 global mutex, ...

 On ARM this is the reason we've gone with ARMv7 first (it avoids us the
 boring task of implementing these). If you want PPC32 to run, you will
 need to implement them all.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10240#comment:27>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: