Forum: Ruby-core [Rejected] HP-UX compilation

Posted by mame (Yusuke Endoh) (Guest)
on 2012-11-05 14:54
(Received via mailing list)
Issue #3600 has been updated by mame (Yusuke Endoh).

Status changed from Feedback to Rejected

HP-UX is not supported.  I'm sorry, but please create a patch yourself.
If you provide us the patch and it looks benign to other platforms, we 
may apply it to trunk.

--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #3600: HP-UX compilation
https://bugs.ruby-lang.org/issues/3600#change-32423

Author: graza (Graham Agnew)
Status: Rejected
Priority: Low
Assignee:
Category:
Target version: next minor
ruby -v: ruby 1.9.2dev (2010-07-11 revision 28618) [ia64-hpux11.23]


=begin
 Hi,

 I've had reasonable success with compiling 1.9.1 on HP-UX.  But 1.9.2 
has been problematic since preview3 came out.  It seems the main issue 
is with threads.  A very simple example (as follows) works fine on 1.9.1 
but the thread never seems to start on 1.9.2-rc2.

 <code>
 thr = Thread.new { puts "thr start"; sleep 1; puts "thr exit" }
 puts "main join"
 thr.join
 puts "main exit"
 </code>

 Sometimes it blocks indefinitely, and when I press control-C to stop 
it, I get a bus error:

 <trace>
 try_thread.rb: [BUG] Bus Error
 ruby 1.9.2dev (2010-07-11 revision 28618) [ia64-hpux11.23]

 -- control frame ----------
 c:0001 p:0000 s:0002 b:0002 l:002708 d:002708 TOP
 ---------------------------

 [NOTE]
 You may have encountered a bug in the Ruby interpreter or extension 
libraries.
 Bug reports are welcome.
 For details: http://www.ruby-lang.org/bugreport.html

 Abort(coredump)
 </trace>

 Some other times I get a seg-fault.  Can anyone point me to changes to 
threading in 1.9.2 so that I can investigate this more quickly and maybe 
find a solution?

 Thanks,
 Graham.
=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.