Hi, I'm trying to cross-compile an arm system. sys-libs/gdbm-1.8.3-r4 is failing like this : > armv7a-hardfloat-linux-gnueabi-gcc -shared dbminit.lo delete.lo fetch.lo store.lo seq.lo close.lo dbmopen.lo dbmdelete.lo dbmfetch.lo dbmstore.lo dbmseq.lo dbmclose.lo dbmdirfno.lo dbmpagfno.lo dbmrdonly.lo -Wl,--as-needed -L/usr/lib -L/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/gdbm-1.8.3-r4/image//usr/lib -lgdbm -Wl,-O1 -Wl,-soname -Wl,libgdbm_compat.so.3 -o .libs/libgdbm_compat.so.3.0.0 > /usr/lib/libgdbm.so: file not recognized: File format not recognized > collect2: error: ld returned 1 exit status > libtool: install: error: relink `libgdbm_compat.la' with the above command before installing it > make: *** [install-compat] Error 1 > emake failed Full build log attached below. Removing gdbm-1.8.3-compat-linking.patch from the ebuild and tweaking gdbm-1.8.3-build.patch accordingly makes it build. Please see also https://bugs.gentoo.org/show_bug.cgi?id=165263#c4 Thanks. Reproducible: Always
Created attachment 365532 [details] build.log
use gdbm-1.10. it'll go stable at some point.