Hi,
Has someone been able to build ruby on HP-UX?
I am trying to build ruby 2.1.9 on HP-UX:
CFLAGS=“-mt -g +DD64”
Ruby build is giving the below error:
./tool/mkconfig.rb:11: [BUG] Segmentation fault at 0xffffffffffffffe9
ruby 2.1.9p490 (2016-03-30 revision 54437) [ia64-hpux11.31]
– Control frame information
c:0003 p:---- s:0029 e:000028 CFUNC :require
c:0002 p:0098 s:0025 E:0001c0 EVAL ./tool/mkconfig.rb:11 [FINISH]
c:0001 p:0000 s:0002 E:002348 TOP [FINISH]
./tool/mkconfig.rb:11:in <main>' ./tool/mkconfig.rb:11:in
require’
– Other runtime information
-
Loaded script: ./tool/mkconfig.rb
-
Loaded features:
0 enumerator.so
[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
sh: 14751 Abort(coredump)
*** Error exit code 134
However, Ruby behaves differently upon setting the below to 6 in
compile.c
#define CPDEBUG 6
The error then is:
[compile step: finish]
[new_child_iseq]< ---------------------------------------
== iter caller
DBG> : NODE_SCOPE (0)
./tool/mkconfig.rb: [BUG] iseq_compile_each: unknown node: NODE_SCOPE
ruby 2.1.9p490 (2016-03-30 revision 54437) [ia64-hpux11.31]
– Control frame information
c:0001 p:0000 s:0002 E:002348 TOP [FINISH]
– Other runtime information
-
Loaded script: ./tool/mkconfig.rb
-
Loaded features:
0 enumerator.so
[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
Please can you check and suggest ways to get around this. I will be
happy to share more information if needed.
Thanks