[MacPorts] #64913: vlang fails for PowerPC: -latomic flag needed, Header file <sys/errno.h>, needed for module `sync` was not found

MacPorts noreply at macports.org
Thu Mar 31 17:33:53 UTC 2022


#64913: vlang fails for PowerPC: -latomic flag needed, Header file <sys/errno.h>,
needed for module `sync` was not found
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  harens
      Type:  defect        |     Status:  accepted
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc, leopard, snowleopard
      Port:  vlang         |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:3 harens]:
 > I'm happy to do that. Would you mind explaining a bit more why it breaks
 for Rosetta? Does it cause a build failure if the condition isn't applied
 here? Also, there are [https://github.com/macports/macports-
 ports/search?q=powerpc+%22-latomic%22&type=code at least 4 different
 ports] that apply `-latomic` based on `os.arch`. These might need to be
 changed.

 Thank you!

 I meant it likely just won't be used because `os.arch` will be x86_64, and
 then build gonna fail since ppc needs `-latomic`. I will need to test that
 specifically to say for sure (now on PPC machine and away from Intel).

-- 
Ticket URL: <https://trac.macports.org/ticket/64913#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list