Will libbulldog work with this jdk jdk-8u51-linux-arm-vfp-hflt

35 views
Skip to first unread message

allen beckerdite

unread,
Jul 23, 2015, 4:57:30 PM7/23/15
to libbulldog
Hi

This (dk-8u51-linux-arm-vfp-hflt) is the JDK installed. When compiling I get this error
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/libbulldog/libbulldog-linux.so: /opt/libbulldog/libbulldog-linux.so: wrong ELF class: ELFCLASS32

I read this is because of softFP. The jdk I installed is Hardfp.

Thanks for the assistance..

-allen

Datenheld

unread,
Jul 23, 2015, 5:48:14 PM7/23/15
to libbulldog, spotless...@gmail.com
Hi,

which linux distribution are you running? Have you tried the hardfp version from the downloads page?

allen beckerdite

unread,
Jul 23, 2015, 5:54:43 PM7/23/15
to libbulldog, spotless...@gmail.com
Hi Datenheld,

Thanks for your reply. I have a Beaglebone Black running Debian Wheezy.. Yes I am using the hardfp libs.


Datenheld

unread,
Jul 23, 2015, 6:09:00 PM7/23/15
to libbulldog, spotless...@gmail.com
I gotta figure this out tomorrow. Meanwhile you can try the softp distro of both the jdk and libbulldog if you don't mind. Do you use a hardfp version of debian for sure? The binary should work..

allen beckerdite

unread,
Jul 24, 2015, 11:51:26 AM7/24/15
to libbulldog, spotless...@gmail.com
Hi,

As far as I know I am running a hard float distribution.

readelf -A /proc/self/exe | grep Tag_ABI_VFP_args
returns
Tag_ABI_VFP_args: VFP registers

I checked the following
 find -name libm.so.6
./lib/arm-linux-gnueabihf/libm.so.6
./lib/arm-linux-gnueabi/libm.so.6
root@beaglebone:/# readelf -a ./lib/arm-linux-gnueabif/libm.so.6 | grep FP
readelf: Error: './lib/arm-linux-gnueabif/libm.so.6': No such file
root@beaglebone:/# readelf -a ./lib/arm-linux-gnueabihf/libm.so.6 | grep FP
  Tag_FP_arch: VFPv3-D16
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_HardFP_use: SP and DP
  Tag_ABI_VFP_args: VFP registers


allen beckerdite

unread,
Jul 24, 2015, 12:07:50 PM7/24/15
to libbulldog, spotless...@gmail.com
Hi,

I have the library working. I am not sure what I did to get the code to compile and run.. Maybe I had duplicate .so files. Thanks again for your assistance..
Reply all
Reply to author
Forward
0 new messages