Created attachment 664924 [details] build.log.gz /bin/sh ./libtool --tag=CC --mode=link m68k-unknown-linux-gnu-gcc -O2 -pipe -fomit-frame-pointer -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 -Wmissing-declarations -Wwrite-strings -Wbad-function-cast -Wnested-externs -Wcomment -Winline -Wchar-subscripts -Wcast-align -Wsequence-point -Wold-style-definition -Wextra -Wno-format-nonliteral -Wno-expansion-to-defined -Wl,-O1 -Wl,--as-needed -o q q-main.o q-q.o q-qatom.o q-qcheck.o q-qdepends.o q-qfile.o q-qgrep.o q-qkeyword.o q-qlist.o q-qlop.o q-qmerge.o q-qpkg.o q-qsearch.o q-qsize.o q-qtbz2.o q-quse.o q-qxpak.o q-qmanifest.o q-qtegrity.o ./libq/libq.la ./autotools/gnulib/libgnu.a -fopenmp -lssl -lcrypto -lb2 -lz -L/usr/lib64 -lgpgme -lassuan -lgpg-error libtool: link: m68k-unknown-linux-gnu-gcc -O2 -pipe -fomit-frame-pointer -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 -Wmissing-declarations -Wwrite-strings -Wbad-function-cast -Wnested-externs -Wcomment -Winline -Wchar-subscripts -Wcast-align -Wsequence-point -Wold-style-definition -Wextra -Wno-format-nonliteral -Wno-expansion-to-defined -Wl,-O1 -Wl,--as-needed -o q q-main.o q-q.o q-qatom.o q-qcheck.o q-qdepends.o q-qfile.o q-qgrep.o q-qkeyword.o q-qlist.o q-qlop.o q-qmerge.o q-qpkg.o q-qsearch.o q-qsize.o q-qtbz2.o q-quse.o q-qxpak.o q-qmanifest.o q-qtegrity.o -fopenmp ./libq/.libs/libq.a ./autotools/gnulib/libgnu.a -lssl -lcrypto -lb2 -lz -L/usr/lib64 -lgpgme -lassuan -lgpg-error -fopenmp /usr/lib64/libssl.so: file not recognized: file format not recognized collect2: error: ld returned 1 exit status
it looks like it is gpgme that unnecessarily adds -L/usr/lib64 to the searchpath, but I'm not sure I entirely understand that cross setup.
do you have gpgme-config in the target root, what does it's --libs config say?
Its hard to say now, I've rebuilt the whole chroot under qemu-m68k since then, so I suspect based on what you've said, attempts at cross-dev *may* work now. I'll attempt a non-install re-cross sometime soon and see what it delivers.
I ran into the same problem - build host x86_64, target armv7a-hardfloat-linux-gnueabi. gpgme-config in the target environment reports -lgpgme -lassuan -lgpg-error but the gpgme-config in the main (x86_64) host system adds the -L/usr/lib64.