Bug 52347 - fix build of emulators/bochs with CPU_LEVEL=4
Summary: fix build of emulators/bochs with CPU_LEVEL=4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Eric Anholt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-16 23:00 UTC by Giorgos Keramidas
Modified: 2003-05-20 19:04 UTC (History)
0 users

See Also:


Attachments
file.diff (2.57 KB, patch)
2003-05-16 23:00 UTC, Giorgos Keramidas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgos Keramidas freebsd_committer freebsd_triage 2003-05-16 23:00:31 UTC
	Building bochs with processor level < 5 fails because mmx
	instructions need to be disabled at configure time for such
	builds.  The third chunk of the attached patch fixes this error:

../config.h:719:2: #error With CPU level < 5, you must disable MMX support.
gmake[1]: *** [devices.o] Error 1
gmake[1]: Leaving directory `/usr/ports/emulators/bochs/work/bochs-2.0.2/iodev'
gmake: *** [iodev/libiodev.a] Error 2
*** Error code 2

	I've also added a few more WITH_XXX knobs to enable some of the
	features of bochs to my local copy.  WITH_BOCHS_TERM enables the
	terminal interface of bochs, WITH_BOCHS_VESA enables VESA BIOS
	extensions and WITH_BOCHS_READLINE enables readline support.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-05-19 19:49:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anholt

Over to maintainer
Comment 2 Eric Anholt freebsd_committer freebsd_triage 2003-05-20 19:03:02 UTC
State Changed
From-To: open->closed

Committed, thanks!  The readline option was unnecessary because it's 
automatically detected when the option that would use it (debugger) is enabled.