Bug 121426 - app-emulation/bochs does not build the GDB stub
|
Bug#:
121426
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: REOPENED
|
Severity: normal
|
Priority: P2
|
|
Resolution:
|
Assigned To: lu_zero@gentoo.org
|
Reported By: creideiki+gentoo-bugzilla@lysator.liu.se
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: app-emulation/bochs does not build the GDB stub
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-02-03 06:02 0000
|
app-emulation/bochs can be built with either an internal debugger or a GDB
stub. The USE flag "debugger" currently enables or disables the internal
debugger, but the GDB stub is never built. It should be, with USE="-debugger".
--- bochs-2.2.5-r1.ebuild 2006-01-25 22:32:38.000000000 +0100
+++ bochs-2.2.5-r2.ebuild 2006-02-03 14:51:32.000000000 +0100
@@ -65,6 +65,8 @@
use debugger && \
myconf="$myconf --enable-debugger --enable-disasm \
--enable-x86-debugger --enable-iodebug"
+ use debugger || \
+ myconf="$myconf --enable-gdb-stub"
use vnc && \
myconf="$myconf --with-rfb"
*** Bug 135679 has been marked as a duplicate of this bug. ***
Makes sense. Committed, thanks
Reopening because as noted, bochs now fails to build with USE=-debugger
*** Bug 144442 has been marked as a duplicate of this bug. ***
*** Bug 154048 has been marked as a duplicate of this bug. ***
this is "fixed" for >=app-emulation/bochs-2.2.6 by never enabling SMP as shown
in the Changelog :
26 Nov 2006; Luca Barbato <lu_zero@gentoo.org> bochs-2.2.6.ebuild:
remove smp since it breaks gdb stub
--enable-smp has been validated to work in amd64 when USE="debugger" though
starting with >=app-emulation/bochs-2.3.5 for USE="-debugger" smp is now
unconditionally disabled to prevent a build failure as suggested here.
there is no way yet to enable smp for the ebuild (unless it is done only for
USE="debugger") but that is arguably a different bug as there is currently no
way to break the build unless the ebuild is modified, and modified in the wrong
place ;)
The bug is still present in app-emulation/bochs-2.3.7
I've modified the ebuild so that all supported combinations of SMP, GDB stub
and internal debugger can be selected using the flags smp, gdbstub and
debugger.
It disables smp and shows a warning with USE="smp gdbstub" and aborts with an
error message if USE="gdbstub debugger" is used.
This ebuild also fixes the QA warning from #258141.