Re: armv7 targeting via poudriere-devel: devel/R-cran-rJava failed for lack of linker finding the library for -ljvm
Date: Sun, 05 Jun 2022 21:45:23 UTC
Le dim. 5 juin 22 à 22:57:16 +0200, Mark Millard <marklmi@yahoo.com> écrivait : > Note: This was using an armv7 poudriere jail on a aarch64 machine able to > run armv7 code. > > work/rJava/config.log reports: > > configure:3852: checking whether JNI programs can be compiled > configure:3865: cc -o conftest -O2 -pipe -DLIBICONV_PLUG -g -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I/usr/local/openjdk8/jre/../include -I/usr/local/openjdk8/jre/../ > include/freebsd -Wl,-rpath=/usr/local/openjdk8/jre/lib/armv7/server conftest.c -Wl,-rpath=/usr/local/openjdk8/jre/lib/armv7/server -L/usr/local/openjdk8/jre/lib/armv7/server -ljvm -lpthread >&5 > ld: error: unable to find library -ljvm > cc: error: linker command failed with exit code 1 (use -v to see invocation) > configure:3865: $? = 1 There is a problem with OpenJDK-8 on aarch64: see the following PRs: - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264154 - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264065 - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260872 -- Th. Thomas.