Created attachment 448844 [details, diff] Patch using grep against 2.0.12-r1 Some projects like guile and gnutls use gnulib's AC_LIB_HAVE_LINKFLAGS, which does silly things by default when trying to locate dependencies that break cross-compiling. configure:46419: checking for libltdl configure:46441: armv7a-hardfloat-linux-gnueabi-gcc -o conftest -mcpu=cortex-a9 -mfpu=neon -O3 -pipe -Wl,-O1 -Wl,--as-needed conftest.c /usr/lib/libltdl.so /usr/lib/libdl.so >&5 /usr/lib/libltdl.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status Sane behaviour can be restored by passing the various --without-*-prefix options. This makes it trust the toolchain like most software does and this is beneficial for native, multilib, cross, and prefix situations. To reduce the maintenance burden of having to check the list of flags on each release, you can do this instead. $(./configure --help | grep -o -e '--without-[^ ]*-prefix\b') I've included two patches with each approach so just pick the one you prefer.
Created attachment 448846 [details, diff] Patch without grep against 2.0.12-r1
committer Amy Winston <amynka@gentoo.org> 2016-10-02 19:58:33 (GMT) commit b8dc70338e454eff146c7c5584a6b053ef37ea6b dev-scheme/guile: fix cross compiling bug #595942 Thanks ! :)