| Summary: | app-emulation/bochs does not build the GDB stub | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Karl-Johan Karlsson <creideiki+gentoo-bugzilla> |
| Component: | Current packages | Assignee: | Luca Barbato <lu_zero> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | amerei, carenas, jesuswaffle, klempner, the_unknown, truedfx, uzytkownik2, weme24 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Ebuild with additional USE flags for selecting SMP, GDB stub and debugger support | ||
*** Bug 135679 has been marked as a duplicate of this bug. *** Makes sense. Committed, thanks This fix isn't sufficient for -debugger; --disable-smp is also necessary, per http://bugs.gentoo.org/show_bug.cgi?id=135679 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. Created attachment 189726 [details]
Ebuild with additional USE flags for selecting SMP, GDB stub and debugger support
please retry with 2.6.8, it looks to handle debugger again |
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"