[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
Sun Apr 3 11:29:05 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 harens):

 Thanks for the logs. The key error seems to be this:

 {{{
 /opt/local/lib/gcc11/gcc/ppc-apple-
 darwin10/11.2.0/include/stdatomic.h:40:1: sorry, unimplemented: '_Atomic'
 in Objective-C
 1766    :info:build    40 | typedef _Atomic _Bool atomic_bool;
 }}}

 I'll do some digging. In the meantime, before you try the `VFLAGS` fix
 above for ppc32 Leopard, would you mind sharing the output of
 `/opt/local/bin/gcc-mp-7 -v`. Thanks.

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


More information about the macports-tickets mailing list