#51359: qhull fails to build on 10.6.8 ---------------------------+--------------------- Reporter: dyne2meter@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: qhull | ---------------------------+--------------------- Comment (by braumann@…): Replying to [comment:10 mojca@…]:
clang worked for me last time I tested (but that was back in March). This is amazing, could you please try this one-liner on 10.5.8 PPC:
{{{ $ printf '#include<stdio.h> \n int main(void) {fprintf(stderr,"Hello, world\\n");}' | clang-mp-3.4 -arch ppc -mmacosx-version-min=10.5 -x c -o out.exe - && ./out.exe && rm -r out.exe }}} I obtain heaps of `Non-aligned pointer being freed` errors. So, while clang-3.4 can be built on PPC, there is still trouble. Unfortunately I find no time to look deeper into this issue, and as I was recommended, clang-3.7 would be the right version to start to tackle this PPC issues. Note that the command above works for cross compiling from a 10.6.8 Intel platform, and the resulting binary runs on 10.5.8 PPC, and also on 10.6.8 Intel using Rosetta.
I believe that this change requires an action in cmake or at least the cmake PortGroup rather than in this port alone.
This is beyond my expertise, what I would expect from a good solution is to not to block universal builds. -- Ticket URL: <https://trac.macports.org/ticket/51359#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X