The configure script for bochs-2.3.6 requires --enable-sse=2 when the --enable-x86-64 option is used, or it dies with an error: [...] checking for FPU emulation... yes checking for VME support... yes checking for MMX support... yes checking for 3DNow! support... no checking for SSE support... SSE1 configure: error: x86-64 needs SSE2 support !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-emulation/bochs-2.3.6/work/bochs-2.3.6/config.log * * ERROR: app-emulation/bochs-2.3.6 failed. In other words, on amd64, the ebuild must completely ignore the sse USE flag (put it in package.use.mask), and *always* pass in "--enable-sse=2"
Created attachment 142948 [details] fixed bochs-2.3.6.ebuild Ebuild that makes configure not die on amd64.
Actually: there is also a similar problem on non-amd64 architectures if USE=sse (in that case, the configure script requires the cpu-level to be set to 6, or it dies).
Created attachment 142951 [details] ebuild to fix both issues Better ebuild, now fixes configure issues both on amd64 and on x86 with USE=sse.
*** Bug 209523 has been marked as a duplicate of this bug. ***
the ebuild changes from 2.3.6 are significative when compared to 2.3.5 and so the use of --enable-x86-64 with all the different added CPU emulation flags will need to be adjusted further as shown by trial/error in this bug. the safest option will be to just remove x86_64 support all together hoping that the right combinations of flags can be abstracted correctly for all possible combinations. USE="debugger" might need also additional testing.
Even though I have sse in make.conf and/or precede an emerge of bochs with env USE="sse", it shows (-sse) as the use flag. Thus there appears no way to emerge this for me on an opteron system.
if there is a "--enable-sse=2" then where is the sse2 useflag? that would also fix it for amd64: i could set the sse2 useflag, and bochs would compile.
same issue here
got fixed with 2.3.7, close it.
(In reply to Patrizio Bassi from comment #9) > got fixed with 2.3.7, close it.