On Wed, Jan 2, 2013 at 3:12 AM, Charles Davis cdavis5x@gmail.com wrote:
What kind of undefined symbol errors? Other than the ones I got because as(1) from cctools can't grok CFI pseudo-ops (and probably never will because of Clang), I don't know of any symbol problems building Wine with Clang on Mac OS. Might have something to do with my system version (I'm still on 10.6, and I probably won't move until I find some way to run -arch ppc apps since Apple gutted Rosetta from 10.7...)
I think I simply forgot to add the -c flag, silly me. Patch seems to work, I'm getting some compile errors but I suppose it's a different problem:
avifile.DPJO1m.s:443:2: error: invalid operand for instruction lretw ^ avifile.DPJO1m.s:580:2: error: invalid operand for instruction lretw ^
Do you actually not have the Wine vs. Mach cpu_type_t issue with Clang? I'd find that interesting.
Yes, it doesn't appear with clang, and also not with gcc-mp-4.x from macports. I could open a radar myself (only have free membership), but I don't mind it too much since the default gcc compiler doesn't work anyway (wine bug 28030), so it might just as well get an error compiling if we get clang working.
Regards,