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=
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.
--- 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?
Please, let's keep this in one bug. Thanks. *** This bug has been marked as a duplicate of 121426 ***