OpendJDK Darwin Binaries Unable to convolve src image

Michael Franz mvfranz at gmail.com
Mon Oct 13 20:38:30 PDT 2008


Greg,

I had looked into creating a macro to do the concatenation, but that did not
work.  What you suggest makes sense from what I did read, just never figured
it out.

Having it put the string together at compile time is a better solution.

Michael

On Mon, Oct 13, 2008 at 11:14 PM, Greg Lewis <glewis at eyesbeyond.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081013/dd4352c9/attachment.html 


More information about the bsd-port-dev mailing list