Build error -mpclmul -mpopcnt -mabm -mlwp -mfma -mfma4 -mxop -mno-bmi -mtbm -mavx -msse4.2 -msse4.1 -mtune=bdver1 -Wl,-O1 -Wl,--default-symver -Wl,-soname -Wl,libdb_stl-4.8.so -o .libs/libd b_stl-4.8.so .libs/bt_compress.o: file not recognized: File truncated collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status Makefile:787: recipe for target 'libdb_cxx-4.8.la' failed make: *** [libdb_cxx-4.8.la] Error 1 Makefile:804: recipe for target 'libdb_stl-4.8.la' failed make: *** [libdb_stl-4.8.la] Error 1 * ERROR: sys-libs/db-4.8.30-r2::gentoo failed (compile phase): * emake failed * Reproducible: Always
Created attachment 392800 [details] build.log
Created attachment 392802 [details] environment for the above build error
Created attachment 392804 [details] sudo emerge --info =db-4.8.30
Created attachment 392806 [details] emerge --info '=sys-libs/db-4.8.30-r2::gentoo'
changed the cflags to: export CFLAGS="-O2 -march=native -pipe" and it resolved the issue