Comments
-
Greg Hurrell
Thanks for the report. I haven't seen this error before, but then, of late I've been compiling against a newer version of Ruby.
I would expect that MakeMakefile should do the right thing and not attempt to compile in pthread support if it doesn't know how, but maybe something else is required beyond just checking the headers. I do vaguely recall that older versions of Ruby — up until the 1.9 era, I think — are not compiled with pthread support unless you take explicit action to make them do so (and there are a few downsides to doing so, if I recall correctly).
Here are a couple links about the problems of using pthreads with 1.8:
- https://access.redhat.com/site/solutions/383883
- https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/307462
I am not sure what the best solution is here. We could just hard-code 1.8.7 to not use pthreads, or we could try to come up with a heuristic for deciding when to pass special linker flags through like you did. Thoughts?
-
Greg Hurrell
I'm going to close this and merge it into bug #2135 to try and keep all pthread-related bugs in one place.
-
Greg Hurrell
Status changed:
- From: new
- To: closed
Add a comment
Comments are now closed for this issue.