[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 15:03:12 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:1 harens]:
 > Hi there! Thanks for opening this ticket and for your comments on the
 original commit.
 >
 > > To begin with, -latomic must be added for darwin powerpc
 >
 > Good to know. I'll make this change.

 Thank you. If you don't mind, condition it on `build.arch` being `ppc
 ppc64` - that won't prevent building on 10.6 PPC and 10.6.8 Rosetta
 (conditioning on `os.arch` will break it for Rosetta).


 > For your machine, I would've thought that the header file would be in
 `/usr/include/errno.h`.

 How should I fix that? In build files?
 Headers should be standard, this is on 10.5.8 with Xcode 3.1.4, nothing
 weird.

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


More information about the macports-tickets mailing list