-
Notifications
You must be signed in to change notification settings - Fork 40
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
Rock head no longer compiles on Win32 #469
Comments
(oh also, poke @Shamanas) |
Just as a reference, rock 0.9.3 (from the -source distrib on Files here) does compile on Win32 with a few tweaks. Here's what you need:
After those changes, rock builds itself fine (the last two changes aren't necessary to obtain a c_rock.exe but you won't be able to bootstrap otherwise) Afaik, all those issues have been fixed in HEAD, but other have been introduced that make c_rock crash. I haven't run gdb yet so no ideas why. |
I'll have a look :D |
Good! Because I can't get Windows 7 to stop barfing all over VirtualBox. :D |
On my platform, c_rock managed to compile rock with bootstrap rock-0.9.4-prealpha4-bootstrap-only.tar.bz2, will try to recompile rock with rock as soon as I sort some pathing issues. |
@nddrylliog I think the error may be related to ROCK_BUILD_DATE and ROCK_BUILD_TIME, though they seem to be passed alright :-/ |
Dammit, we should look for a way to include the build date / build time other than using that But I thought you managed to get c_rock to compile rock? I never even got that far.. Also, keep in mind rock 0.9.3 passes ROCK_BUILD_{DATE,TIME} exactly in the same fashion (afaict) but compiles fine on Win32. What's your config exactly? Here's mine:
|
|
I'm compiling through msys |
@nddrylliog Btw, in build/Makefile, pthreads is always linked although not needed on win32 |
@Shamanas That's a good point. I guess the make driver should be fixed to avoid that. |
Will be done as soon as I figure out why reverting back to score == -1 in FunctionCall suggest breaks #315 (but not the rest of the FuncType scoring) |
I don't seem to have a problem, I managed to bootstrap rock :-/ |
Note: I have built and installed pthreads-win32 on my system (Everything executed in the msys prompt)
Now, to recompile rock with rock
That's it! :D |
@Shamanas Okay.. now I'm really confused. I ran 'make rescue' in a cloned rock repo and everything worked fine. WHAT. Did you fix the issue that I had up there in the first place? |
Nope, I guess something must have gone wrong in the unpacking or downloading of the bootstrap (...maybe?) |
No I don't have any GC issues at all. For me the issue is just no longer there. Also I think it's time I upload a new bootstrap-only. Let me do that right now. |
Ok, go ahead. Btw, I think I will be releasing 0.9.4 after fixing a couple more bugs (hopefully some generic access related ones) |
@Shamanas I was about to ask that :) Releasing 0.9.4 + updating the brew formula to the latest (and the AUR package) would be nice. |
I have no idea how to update a brew formula or an AUR package, who is usually responsible of those tasks? ^^' |
Also, I guess I'm closing this |
@Shamanas I'll do the brew (it's just about sending a pull request to mxcl/homebrew) as for the AUR package I'll ask @HappyDawn. |
Running
make rescue
on HEAD just crashes in c_rock.I tried reverting to 28062d6 but it fails with:
So.. I'm not sure what's wrong. I might try with the 0.9.3 release again, just to be sure.
The text was updated successfully, but these errors were encountered: