On 8/4/13 2:00 PM, Jeremy Huddleston Sequoia wrote: > On Aug 4, 2013, at 10:53, dev...@macports.org wrote: > >> +configure.compiler macports-gcc-4.7 > Why? Can you please add comments including radars and or llvm.org bug > reports for why clang won't work? > > Thanks, > Jeremy > As you have indicated in the Portfile, the problem is an outstanding one reported upstream here:
https://bugs.freedesktop.org/show_bug.cgi?id=55733 The problem has to do with the processing of extended inline assembly in src/pulsecore/svolume_mmx.c where patterns of the form movd (%q1, %3, 4), %%mm0 appear (8 times) Clang always allocates register %rcx for %q1 regardless of arch flags settings. This is fine for x86_64 but fails for i386 where that register is not available. Should be something like %ecx for that arch. gcc47 does this correctly. I don't know if this is a bug (feature?) in clang but it seems it might be. I'm guessing clang is processing based on platform arch rather than target arch. Building on 10.8.4 on an x86_64 Mac Mini with Xcode 4.6.3. Dave _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev