Created attachment 452094 [details] build.log After installing cross-toolchain with crossdev, cross-emerge of net-nds/ldap: [ebuild R ] net-nds/openldap-2.4.38-r2 to /usr/armv7a-hardfloat-linux-gnueabi/ USE="berkdb crypt ipv6 minimal ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -odbc -overlays -perl -samba -sasl (-selinux) -slp -smbkrb5passwd" fails during configure, with the following error: configure: error: crossing compiling: use --with-yielding_select=yes|no|manual For completeness, I've added the build.log and emerge.info as attachments, although the error cause, and fix in this case seem trivial: Adding the following, as suggested by the error message, to function multilib_src_configure() in the ebuild, solves the problem: if [ "${CHOST}" != "${CBUILD}" ]; then myconf+=( --with-yielding_select=yes ) fi
Created attachment 452096 [details] armv7a-hardfloat-linux-gnueabi-emerge --info
Created attachment 452098 [details, diff] patch to allow cross-compiling
Thank you for the patch
*** This bug has been marked as a duplicate of bug 463966 ***