#33862: qemu: error: redefinition of ‘flush_icache_range’ --------------------------------+------------------------------------------- Reporter: trog24@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: qemu --------------------------------+------------------------------------------- Comment(by khepler@…): Replying to [comment:7 ironstorm@…]:
Found the Portfile attached here (thanks btw), looks like the patch- tcg-target-h.diff patch needs to be skipped on OSX 10.8/intel.
Thanks for testing! Sorry it took a little time, but I tracked the actual problem down to the --enable-tcg-interpreter configure flag. Removing this flag fixes the issue I thought I was solving with the tcg- target-h.patch file, but it appears to be required for the clang/llvm toolchain (e.g. Xcode 4). Regardless, that patch seems to produces broken binaries on my system even though it completed the build, so it's right out. (see: "Needs testing" :) I'm increasing the port's revision number in case anyone else built the broken version. This was entirely my fault; I slightly misread the compiler error. Sorry about that. Would you be kind enough to test this new Portfile on 10.8? It also needs to be tested on 10.6 and 10.7, if anyone could oblige... -- Ticket URL: <https://trac.macports.org/ticket/33862#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS