Build broken on OSX PPC
Reported by cremes | February 14th, 2008 @ 09:43 PM | in 1.0 preview
makecontext/swapcontext are multiply defined which prevents archive.c from compiling correctly. Looks like the build broke sometime on 20080213. Here is a snippet from the 'rake build' output:
I had performed 'git pull; rake distclean; rake build' to get this failure. Failure has persisted through 20080214.
Comments and changes to this ticket
-
Dirkjan Bussink February 16th, 2008 @ 05:17 AM
- → State changed from new to open
What version are you on? Tiger / Leopard? Having the uname -a would also help :).
-

cremes February 16th, 2008 @ 05:34 AM
~ cremes$ uname -v
Darwin Kernel Version 9.2.0: Tue Feb 5 16:15:19 PST 2008; root:xnu-1228.3.13~1/RELEASE_PPC
I'm going to try and do a 'git bisect' to figure out where things started breaking, but my inexperience with git will likely make that a slow process.
-
Dirkjan Bussink February 16th, 2008 @ 05:44 AM
Well, I'm investigating this, and I know where the problem lies, but since I don't have a PPC machine, debugging is difficult
-

cremes February 16th, 2008 @ 09:01 AM
The plot thickens...
I went back to a daily tarball from 2 weeks ago and tried to build it. It failed the same way as HEAD. This made me suspicious. The only environment change has been the upgrade from OSX 10.5.1 to 10.5.2. To verify if this caused a problem, I rebooted into my old 10.5.1 partition and tried again.
The daily tarballs from 2 weeks ago and HEAD all compile just fine.
Therefore, there was some change introduced in the 10.5.2 update which is breaking rubinius on PPC.
I did the obvious and ran 'diff -u' on /usr/include/ucontext.h between the two releases and found no change. Any other suggestions on where to look? I'll sign on to IRC shortly to see if anyone wants to work with me (or any other interested parties) on getting this patched up.
-
Wilson Bilkovich February 28th, 2008 @ 07:32 AM
- → Assigned user changed from to Wilson Bilkovich
Could you try running this again?
I believe this is now fixed.
-

cremes February 28th, 2008 @ 09:41 AM
Yes, the build is working. There are 10 known failures related to 64-bit FFI problems, but it's otherwise fine.
Feel free to close this one.
-
Wilson Bilkovich February 28th, 2008 @ 10:35 AM
- → State changed from open to resolved
OK, then I am going to close this one. We can reopen it if further woes crop up.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
