Created attachment 392728 [details] emerge info make[1]: Entering directory '/var/tmp/portage/app-emulation/bochs-2.6/work/bochs-2.6/iodev/sound' /bin/sh ../../libtool --mode=compile --tag CXX x86_64-pc-linux-gnu-g++ -c -I.. -I../.. -I./.. -I./../.. -I../../instrument/stubs -I./../../instrument/stubs -march=core-avx2 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT soundmod.cc -o soundmod.lo mkdir .libs x86_64-pc-linux-gnu-g++ -c -I.. -I../.. -I./.. -I./../.. -I../../instrument/stubs -I./../../instrument/stubs -march=core-avx2 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT soundmod.cc -fPIC -DPIC -o .libs/soundmod.o /bin/sh ../../libtool --mode=link --tag CXX x86_64-pc-linux-gnu-g++ -module soundmod.lo -o libbx_soundmod.la -rpath /usr/lib64 x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/crtbeginS.o .libs/soundmod.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../lib64/crtn.o -Wl,-soname -Wl,libbx_soundmod.so.0 -o .libs/libbx_soundmod.so.0.0.0 (cd .libs && rm -f libbx_soundmod.so.0 && ln -s libbx_soundmod.so.0.0.0 libbx_soundmod.so.0) (cd .libs && rm -f libbx_soundmod.so && ln -s libbx_soundmod.so.0.0.0 libbx_soundmod.so) creating libbx_soundmod.la (cd .libs && rm -f libbx_soundmod.la && ln -s ../libbx_soundmod.la libbx_soundmod.la) make[1]: Leaving directory '/var/tmp/portage/app-emulation/bochs-2.6/work/bochs-2.6/iodev/sound' echo done done * ERROR: app-emulation/bochs-2.6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/bochs-2.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/bochs-2.6::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/bochs-2.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/bochs-2.6/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/bochs-2.6/work/bochs-2.6' * S: '/var/tmp/portage/app-emulation/bochs-2.6/work/bochs-2.6' >>> Failed to emerge app-emulation/bochs-2.6, Log file: >>> '/var/tmp/portage/app-emulation/bochs-2.6/temp/build.log' * Messages for package app-emulation/bochs-2.6: * ERROR: app-emulation/bochs-2.6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/bochs-2.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/bochs-2.6::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/bochs-2.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/bochs-2.6/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/bochs-2.6/work/bochs-2.6' * S: '/var/tmp/portage/app-emulation/bochs-2.6/work/bochs-2.6'
Created attachment 392730 [details] build.log
Created attachment 392736 [details, diff] bochs-libs.patch
I also experience this with portage and with the source (on both gentoo and arch). I similarly found the solution is to manually add -lpthread.
please retry with 2.6.8