Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 04:35:40 +0800 (CST)
From:      Leland Wang <llwang@infor.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38124: emulators/bochs does not build
Message-ID:  <200205152035.g4FKZeTi007045@leland.infor.org>

next in thread | raw e-mail | index | archive | help

>Number:         38124
>Category:       ports
>Synopsis:       emulators/bochs does not build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 15 13:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Leland Wang
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
National Taiwan University
>Environment:
System: FreeBSD leland.infor.org 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Apr 21 07:09:29 CST 2002 llwang@leland.infor.org:/home/mp3/obj/usr/src/sys/LELAND i386


	
>Description:
This is actually bug #545176 in bochs' sourceforge bug tracking system.
Line 1177 of main.cc must be patched so that it will build with certain
configuration.
	
>How-To-Repeat:
cd /usr/ports/emulators/bochs; make WITH_BOCHS_CPU_LEVEL=6 build
	
>Fix:
diff -urN bochs.orig/files/patch-main.cc bochs/files/patch-main.cc
--- bochs.orig/files/patch-main.cc	Thu Jan  1 08:00:00 1970
+++ bochs/files/patch-main.cc	Thu May 16 04:27:47 2002
@@ -0,0 +1,11 @@
+--- main.cc.orig	Thu May 16 04:26:43 2002
++++ main.cc	Thu May 16 04:26:55 2002
+@@ -1174,7 +1174,7 @@
+   BX_MEM(0)->load_ROM(bx_options.vgarom.Opath->getptr (), 0xc0000);
+   BX_CPU(0)->init (BX_MEM(0));
+ #if BX_SUPPORT_APIC
+-  BX_CPU(0)->local_apic.set_id (i);
++  BX_CPU(0)->local_apic.set_id (0);
+ #endif
+   BX_CPU(0)->reset(BX_RESET_HARDWARE);
+ #else

	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205152035.g4FKZeTi007045>