Opened 3 years ago

Last modified 3 years ago

#64616 closed defect

glm fails for ppc on 10.6.8 invoking a wrong compiler: #error "GLM requires GCC 4.6 or higher" — at Version 1

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, snowleopard, rosetta Cc:
Port: glm

Description (last modified by barracuda156)

The log has following errors:

error: #error "GLM requires GCC 4.6 or higher"
error: #error "GLM_COMPILER undefined, your compiler may not be supported by GLM. Add #define GLM_COMPILER 0 to ignore this message."

I have gcc7 and gcc6 installed, it should have tried using those. Instead, gcc-4.2.1 is invoked, which fails.

In fact port file permits that, banning only early clang:

compiler.blacklist {clang < 600}

Instead gcc < 4.6 must be blacklisted as well.

Change History (2)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 3 years ago by barracuda156

Description: modified (diff)
Note: See TracTickets for help on using tickets.