OpendJDK Darwin Binaries Unable to convolve src image

Greg Lewis glewis at eyesbeyond.com
Mon Oct 13 20:14:37 PDT 2008


G'day Michael,

On Mon, Oct 13, 2008 at 12:54:33PM -0400, Michael Franz wrote:
> Would this be a workable solution? (see attachment)
> 
> I re-use the definition of JNI_LIB_PREFIX and JNI_LIB_SUFFIX to create the
> correct name for the platform.  I think that the sun4v logic could be in a
> sun block but it still works without one.

I don't think you need to do what you're doing in the patch.  Just
replacing

"libmlib_image.so"

with

JNI_LIB_PREFIX "mlib_image" JNI_LIB_SUFFIX

will work just fine since they're all string literals and the compiler
will concatenate them together.  Let me do a pass through the code and look
for all the calls to dlopen to see if there are any others that need
doing.

I haven't got the compile set up on my MacBook at work yet, but hopefully
shortly.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the bsd-port-dev mailing list