Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209307 - app-emulation/bochs-2.3.6 fails configure on amd64 or when USE=sse
Summary: app-emulation/bochs-2.3.6 fails configure on amd64 or when USE=sse
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
: 209523 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-08 00:56 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2014-05-18 07:06 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixed bochs-2.3.6.ebuild (bochs-2.3.6.ebuild,2.87 KB, text/plain)
2008-02-08 00:58 UTC, Alexandre Rostovtsev (RETIRED)
Details
ebuild to fix both issues (bochs-2.3.6.ebuild,3.05 KB, text/plain)
2008-02-08 01:33 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-02-08 00:56:42 UTC
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"
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-02-08 00:58:46 UTC
Created attachment 142948 [details]
fixed bochs-2.3.6.ebuild

Ebuild that makes configure not die on amd64.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-02-08 01:29:07 UTC
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).
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-02-08 01:33:07 UTC
Created attachment 142951 [details]
ebuild to fix both issues

Better ebuild, now fixes configure issues both on amd64 and on x86 with USE=sse.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-10 13:47:44 UTC
*** Bug 209523 has been marked as a duplicate of this bug. ***
Comment 5 Carlo Marcelo Arenas Belon 2008-02-13 09:41:55 UTC
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.
Comment 6 Fred Krogh 2008-02-13 23:01:10 UTC
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.
Comment 7 Sven 2008-02-21 13:19:23 UTC
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.
Comment 8 Patrizio Bassi 2008-03-01 15:33:55 UTC
same issue here
Comment 9 Patrizio Bassi 2008-09-21 10:37:09 UTC
got fixed with 2.3.7, close it.
Comment 10 Pacho Ramos gentoo-dev 2014-05-18 07:06:52 UTC
(In reply to Patrizio Bassi from comment #9)
> got fixed with 2.3.7, close it.