[MacPorts] #64616: glm fails for ppc on 10.6.8 invoking a wrong compiler: #error "GLM requires GCC 4.6 or higher"

MacPorts noreply at macports.org
Sun Feb 6 12:49:47 UTC 2022


#64616: glm fails for ppc on 10.6.8 invoking a wrong compiler: #error "GLM requires
GCC 4.6 or higher"
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, snowleopard, rosetta
      Port:  glm           |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 After I added this to the port file:

 {{{
 compiler.blacklist  {clang < 600} gcc-4.0 gcc-4.2
 compiler.whitelist macports-gcc-7
 }}}

 `glm` built successfully:

 {{{
 Sergey-Fedorovs-Mac-mini:source svacchanda$ port -v installed glm
 The following ports are currently installed:
   glm @0.9.9.8_0 (active) requested_variants='' platform='darwin 10'
 archs='ppc' date='2022-02-06T20:48:44+0800'
 }}}

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


More information about the macports-tickets mailing list