#36041: gimp2: build fails on 10.5.8 PPC ------------------------------+---------------------- Reporter: michael.klein@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc Port: gimp2 | ------------------------------+---------------------- Comment (by michael.klein@…): Replying to [comment:7 prynhart@…]:
I have hit this issue on 10.5.8 PPC. Cruically, the "-faltivec" flag seems to work due to the following: :info:build /usr/lib/gcc/powerpc-apple- darwin9/4.0.1/include/altivec.h:44:2: warning: #warning Ignoring <altivec.h> because "-faltivec" specified
i.e. the compiler doesn't hit the bit of code that it's unhappy with.
I think the warning can be safely ignored. It seems the preferred way to enable Altivec is to compile with "-maltivec" and include altivec.h, but compiling with "-faltivec" instead should do more or less the same. I compiled both gegl and gimp with -faltivec. I have no idea whether they make use of Altivec intrinsics, but it seems everything seems to work ok.
You might also need to build with +quartz +no_x11 -x11 to hit this issue. (Can the OP confirm whether their variant.conf file has these options, or whether they're manually specifying quartz.)
no, none of these variants is used here -- Ticket URL: <https://trac.macports.org/ticket/36041#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X