Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 135679
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 121426
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: stefanie <amerei@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 135679 depends on: Show dependency tree
Bug 135679 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: 2006-06-05 13:53 0000
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 From stefanie 2006-06-05 13:53:15 0000 -------
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 From stefanie 2006-06-05 13:58:02 0000 -------
--- 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 From Jakub Moc (RETIRED) 2006-06-05 14:01:31 0000 -------
Please, let's keep this in one bug. Thanks.

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

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