22 messages in net.java.dev.jna.usersRe: [jna-users] JNA & Solaris 8
FromSent OnAttachments
Corey PuffaltJul 31, 2008 4:40 pm 
Timothy WallJul 31, 2008 6:53 pm 
Corey PuffaltAug 1, 2008 8:53 am 
Timothy WallAug 1, 2008 9:48 am 
Corey PuffaltAug 1, 2008 11:54 am 
Timothy WallAug 1, 2008 12:52 pm 
Corey PuffaltAug 1, 2008 1:17 pm 
Timothy WallAug 1, 2008 1:29 pm 
Corey PuffaltAug 1, 2008 2:07 pm 
Corey PuffaltAug 1, 2008 2:37 pm 
Corey PuffaltAug 1, 2008 2:47 pm 
Corey PuffaltAug 1, 2008 3:00 pm 
Timothy WallAug 1, 2008 4:13 pm 
Corey PuffaltAug 1, 2008 4:22 pm 
Timothy WallAug 5, 2008 10:56 am 
Dan RolloAug 6, 2008 12:45 am 
Corey PuffaltAug 6, 2008 8:12 am 
Timothy WallAug 6, 2008 8:47 am 
Corey PuffaltAug 6, 2008 11:18 am 
Timothy WallAug 6, 2008 12:17 pm 
Corey PuffaltAug 7, 2008 1:20 pm.log
Timothy WallAug 7, 2008 2:26 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] JNA & Solaris 8Actions...
From:Corey Puffalt (cpli@gmail.com)
Date:Aug 1, 2008 2:07:56 pm
List:net.java.dev.jna.users

Timothy,

On Fri, Aug 1, 2008 at 2:30 PM, Timothy Wall <twal@dev.java.net> wrote:

On Aug 1, 2008, at 4:18 PM, Corey Puffalt wrote:

From Googling around it seems to be the shared library that corresponds to the static library (libgcc.a) which I do have on my system. Not sure if there's a way for me to force the libffi.so to be statically linked to libgcc.a instead of dynamically linking to libgcc_s.so? Anyways, it looks like I'm going to have to pester the administrators to re-install the gnu toolchain and hope that resolves the issue...

Well, we need the static libffi, not the shared one. Maybe there's a flag to the libffi config like --disable-dynamic? You might also be able to force static linkage of gcc with -static-libgcc passed to the linker.

It looks like there might be a flag --disable-shared. After poking around a bit I found a FFI_CONFIG= variable in the Makefile in jnalib/native (I tried running the libffi configure directly but the JNA Makefile forbids that. Interestingly the FFI_CONFIG= variable contained a --disable-static directive?? Anyways, things are still blowing up. I seem to be in over my head in terms of getting this to work and may have abandon JNA completely unless someone else is able to produce a working build.

How would I go about passing -static-libgcc to the linker?

Thanks for your interest.

Corey