Message12202

Author jeff.allen
Recipients jeff.allen, tpearson-raptor
Date 2018-12-11.23:21:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544570480.25.0.788709270274.issue2718@psf.upfronthosting.co.za>
In-reply-to
Content
Is this simply a case of adding a JFFI stub JAR and including it around here to the build?
https://hg.python.org/jython/file/tip/build.xml#l591

As the build file indicates, we get these from https://github.com/jnr/jffi/tree/master/archive . We cite ppc64le, but there doesn't seem to be a JAR for ppc64el in the jffi distribution.

From what I have read, these two names designate the same architecture but there has been confusion over the preferred name (e.g. what uname should return, or os.arch equal). I think this may be for jnr/jffi to deal with. Selection of the right stub happens here:
https://github.com/jnr/jffi/blob/master/src/main/java/com/kenai/jffi/internal/StubLoader.java#L179
I may be barking up the wrong tree, of course.

If jnr/jffi can't help and there's a work-around in Jython's scope, we would consider doing so. What is it you do to create a standalone JAR that works for you?
History
Date User Action Args
2018-12-11 23:21:20jeff.allensetmessageid: <1544570480.25.0.788709270274.issue2718@psf.upfronthosting.co.za>
2018-12-11 23:21:20jeff.allensetrecipients: + jeff.allen, tpearson-raptor
2018-12-11 23:21:20jeff.allenlinkissue2718 messages
2018-12-11 23:21:18jeff.allencreate