-
Notifications
You must be signed in to change notification settings - Fork 10
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
maru.9 eval0 built but fail to generate eval1 (MacOS X - llvm) #2
Comments
it would be nice if i could reproduce this, but last time i was running macos in a VM under linux it was a lot of pain (mouse is sometimes offset, i can't move it where i want to, stuff like that). i welcome any recommendations about this if you have experience. last time i tried i was using debian stable. now i'm on guix, which probably has much newer qemu stuff. ideas:
|
Before getting a MacBook, I installed BigSur with this guide https://osxdaily.com/2021/07/15/how-install-macos-virtualbox-windows/ and it was quite ok.
I tried LLVM with target CPU x86_64, but I get a different error always in eval0 built from maru.9
|
@TheFausap it's not the same problem: |
Yes, I noticed that sorry. |
do you mean maru.8 is working fine on macos with the llvm backend? that would be somewhat surprising, because it seems to be doing pretty much the same as maru.10:
|
yes maru.8 is working. It uses the code from maru.7 that do not need any change in the struct, because maru.7 do not uses the opaque struct for stin, stdout and stderr. Maru.8 code itself need both changes, in the descriptor names and in the struct, but at the end it compiles itself without any problem. In maru.9, if I understood correcly, there's the platform idea not present in maru.8, so maybe this breaks some compatibility.
|
I have also to add that the idea to build the eval0 32bit version under darwin is deprecated now. I suppose in the very near future all the 32bit support will be totally removed by xcode. So it should be better for MacOS using directly the 64bit version. In maru.9 Makefile the eval0 i686 is commented out, but it's back in maru.10 Makefile, why? ---- MARU.10
---- MARU.9
|
I cleaned up a little bit all the old build directories, and relaunched the make test-bootstrap-llvm and now the error is different.
|
the fastest version of Maru is 32 bit LLVM, that's the reason i have hardwired eval0 to it. IIRC, there were some issues at one point, maybe that's why i commented it out. feel free to conditionalize it on darwin if needed (but add a comment, please). the entire |
the other issue i don't understand. somehow this gets called with the wrong type of argument:
although, here's something i have noticed: there seems to be a space missing here: please note that in the makefile TABs and spaces have different meaning. and specifically, unfortunately, the errors resulting from such mistakes can often be cryptic. i've been there a few times due to empty Makefile variables... |
Hello,
I did some changes in my forked repo, in order to compile up to maru.8 everything under Mac OS X BigSur.
Maru.9 compile eval.l in eval0 using the maru.8 binaries, but when it starts compiling again to generate eval1 I got this error:
Any idea where can I look to fix this?
thanks,
Fausto
The text was updated successfully, but these errors were encountered: