Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 209307
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Luca Barbato <lu_zero@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexandre Rostovtsev <tetromino@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bochs-2.3.6.ebuild fixed bochs-2.3.6.ebuild text/plain Alexandre Rostovtsev 2008-02-08 00:58 0000 2.87 KB Details
bochs-2.3.6.ebuild ebuild to fix both issues text/plain Alexandre Rostovtsev 2008-02-08 01:33 0000 3.05 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 209307 depends on: Show dependency tree
Bug 209307 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-08 00:56 0000
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 From Alexandre Rostovtsev 2008-02-08 00:58:46 0000 -------
Created an attachment (id=142948) [details]
fixed bochs-2.3.6.ebuild

Ebuild that makes configure not die on amd64.

------- Comment #2 From Alexandre Rostovtsev 2008-02-08 01:29:07 0000 -------
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 From Alexandre Rostovtsev 2008-02-08 01:33:07 0000 -------
Created an attachment (id=142951) [details]
ebuild to fix both issues

Better ebuild, now fixes configure issues both on amd64 and on x86 with
USE=sse.

------- Comment #4 From Jakub Moc (RETIRED) 2008-02-10 13:47:44 0000 -------
*** Bug 209523 has been marked as a duplicate of this bug. ***

------- Comment #5 From Carlo Marcelo Arenas Belon 2008-02-13 09:41:55 0000 -------
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 From Fred Krogh 2008-02-13 23:01:10 0000 -------
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 From Sven 2008-02-21 13:19:23 0000 -------
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 From Patrizio Bassi 2008-03-01 15:33:55 0000 -------
same issue here

------- Comment #9 From Patrizio Bassi 2008-09-21 10:37:09 0000 -------
got fixed with 2.3.7, close it.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug