java-native-access / jna

Java Native Access
Other
8.55k stars 1.68k forks source link

FreeBSD aarch64 support #1309

Open time-killer-games opened 3 years ago

time-killer-games commented 3 years ago

are there plans for this any time soon?

matthiasblaesing commented 3 years ago

This is not the place for questions - as indicated in the issue template that would be the maiinglist (as you might notice I begin to get cranky about this, as people don't take the five seconds to read).

To answer the question: No that is not planned. Crossbuilding for linux can be done in a cross arch changeroot (qemu-static), for the BSDs I use a Virtual Machine in VirtualBox and build amd64+i386 "native". I don't see me setting up yet another machine. Other architectures are build on public build machines, but not many.

time-killer-games commented 3 years ago

That's ok, sorry for not taking the time to read. Feel free to close this as it doesn't sound like this will change. Thank you for being kind despite this ticket might've been annoying for reasons you mentioned.

Edit:

If it isn't too difficult, I just might compile it myself and provide you some binaries. Although I'm not sure what ABI compatibility will look like across FreeBSD versions. I only have access to FreeBSD-13.0-CURRENT aarch64 at this time.

matthiasblaesing commented 3 years ago

I'm reluctant to rely on third parties for support of JNA. At this point in time I'm able to rebuild all the native parts, for all currently supported architectures. I'm willing to merge outside binaries, but it would be better to be able to do it myself, else I'd have to worry at each native change to get all binary providers to build new ones.

If you come up with a qemu recipe, that gives me a usable system, I'm willing to give it a try, but last time I fiddled with QEmu, it was less than pleasant and I really missed the niceness of VirtualBox.

time-killer-games commented 3 years ago

I'll give that a shot within a few days and we'll see how it goes

mnd999 commented 3 years ago

It's in the freebsd ports collection as devel/jna and it works for me on aarch64 there. I shall be submitting a patch to update to 5.7.0 in the next few days, hopefully.

time-killer-games commented 3 years ago

It's in the freebsd ports collection as devel/jna and it works for me on aarch64 there. I shall be submitting a patch to update to 5.7.0 in the next few days, hopefully.

Thank you!