-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make error in Mountain Lion #16
Comments
This is a bug in llvm-gcc that's supplied by Xcode. The alternative is to get a pure version of GCC or build with Clang. |
From what I've gathered so far, it is not currently possible to compile SheepShaver using Apple's clang (default compiler from Xcode). You'll have to use gcc (I recommend using homebrew (http://mxcl.github.com/homebrew/) to install it). Se my issue (#11) for more informations. You'll also find here my way of compiling SheepShaver. If you succeed in compiling a working version of SheepShaver on Mac OS X Mountain Lion, I would be more than interested in knowing how you achieved that! |
I haven't tested on OS X, but on linux you can build with clang just fine, with one caveat, you can't enable JIT as it uses global registers which are not supported by clang |
Part of the issue with OS X ML is that it uses Position Independent code by default: you have to disable it or set the minimum Mac OS to SL or earlier. |
So I tried compiling with the following:
I no longer get the crash report from Apple during configure telling me pagezero crashed.
For the record, here the end of the output of configure:
|
I don't think configure passes the LDFlags to making the pagezero test app. |
Though there is definitely a change because pagezero does not crash anymore when I set the CFLAGS :/ |
Did you make sure to remove the old lowmem binaries? Try 'rm Darwin/lowmem Darwin/pagezero' and then reconfigure. |
Thousands of Colors mode is still broken, however, Millions of Colors does work, which did not before this commit.
Added Bundle Identifier
I'm using OS X 10.8 and I am trying to compile SheepSaver.
I run the script; ./autogen.sh and when I run make, I get the following error;
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp: In function ‘void op_mov_ad_A0_im()’:
../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp:79: internal compiler error: in EmitLV_DECL, at llvm-convert.cpp:7475
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://developer.apple.com/bugreporter for instructions.
make: *** [obj/basic-dyngen-ops.o] Error 1
Thank you.
The text was updated successfully, but these errors were encountered: