Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135679 - bochs 2.2.6
Summary: bochs 2.2.6
Status: RESOLVED DUPLICATE of bug 121426
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 13:53 UTC by stefanie
Modified: 2006-06-05 14:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stefanie 2006-06-05 13:53:15 UTC
i ran into some problems with the bochs 2.2.6 ebuild. it appears that there are some issues with the configure flags --enable-debugger and --enable-gdb-stub being together. raises a mutual exclusion error.

"--enable-debugger and --enable-gdb-stub are mutually exclusive"

the offending line being :

use debugger && \
myconf=
Comment 1 stefanie 2006-06-05 13:53:15 UTC
i ran into some problems with the bochs 2.2.6 ebuild. it appears that there are some issues with the configure flags --enable-debugger and --enable-gdb-stub being together. raises a mutual exclusion error.

"--enable-debugger and --enable-gdb-stub are mutually exclusive"

the offending line being :

use debugger && \
myconf=$myconf enable-debugger enable-disasm \
enable-x86-debugger enable-iodebug \
enable-gdb-stub

the patch here http://bugs.gentoo.org/show_bug.cgi?id=121426 seems to do the trick, but apparently, --enable-gdb-stub with --enable-smp also isn't possible (at least for now)..

-----
In file included from iodev.h:32,
from devices.cc:30:
../bochs.h:381:2: #error GDB stub was written for single processor support. If multiprocessor support is added, then we can remove this check.
-----

as --enable-smp is always "on", i simply extended the path here http://bugs.gentoo.org/show_bug.cgi?id=121426 to include --disable-smp when gdb-stub is being built.
Comment 2 stefanie 2006-06-05 13:58:02 UTC
--- bochs-2.2.6.ebuild  2006-06-06 04:42:21.000000000 +0000
+++ overlay/app-emulation/bochs/bochs-2.2.6.ebuild      2006-06-06 04:52:17.000000000 +0000
@@ -67,8 +67,10 @@
                myconf="${myconf} --without-wx"
        use debugger && \
                myconf="$myconf --enable-debugger --enable-disasm \
-                               --enable-x86-debugger --enable-iodebug \
-                               --enable-gdb-stub"
+                               --enable-x86-debugger --enable-iodebug"
+       use debugger || \
+               myconf="$myconf --enable-gdb-stub --disable-smp"
+
        use vnc && \
                myconf="$myconf --with-rfb"

this is an interim fix though as i needed to get things up and ready immediately. since "-debugger" would automatically mean "--enable-gdb-stub", this would also mean that bochs would never be built with smp support. perhaps we can add a use flag "gdb" to resolve the three way mutex?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-05 14:01:31 UTC
Please, let's keep this in one bug. Thanks.

*** This bug has been marked as a duplicate of 121426 ***