![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.0.RC1 |
Assignee:
|
Thomas E Enebo
|
Created:
|
05/Oct/12 11:03 AM
|
Description:
|
The 1.7 version of JRuby seems to be throwing errors on 64-bit Solaris JVMs. This was not an issue with JRuby 1.67.
To recreate on my Solaris 64-bit SPARC environment:
First, showing things work with JRuby 1.67:
export JRUBY_HOME=/export/home/mlbetl/jruby/jruby-1.6.7
export PATH=$PATH:$JRUBY_HOME/bin
This then succeeds:
jruby -e "File.stat('test.txt').gid"
But with JRuby 1.7:
export JRUBY_HOME=/export/home/mlbetl/jruby/jruby-1.7.0.RC1
export PATH=$PATH:$JRUBY_HOME/bin
This then fails:
jruby -e "File.stat('test.txt').gid"
java.lang.ExceptionInInitializerError
at com.kenai.jffi.Foreign.getInstance(Foreign.java:95)
at com.kenai.jffi.Type$BuiltinTypeInfo.<clinit>(Type.java:265)
at com.kenai.jffi.Type$Builtin.size(Type.java:216)
at jnr.ffi.provider.jffi.NativeRuntime$TypeDelegate.size(NativeRuntime.java:153)
...
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: /var/tmp/jffi5414035864272799945.tmp: ld.so.1: java: fatal: / var/tmp/jffi5414035864272799945.tmp: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
|
Environment:
|
jruby 1.7.0.RC1 (1.9.3p203) 2012-09-25 8e849de on Java HotSpot(TM) Client VM 1.6.0_30-b12 [SunOS-sparc], java version "1.6.0_30", Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Rob Goretsky
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email