Subject: pkg/12282: cannot build boehm-gc on vax
To: None <gnats-bugs@gnats.netbsd.org>
From: Shinmyoh Koji <yesu@rb3.so-net.ne.jp>
List: netbsd-bugs
Date: 02/25/2001 21:55:45
>Number:         12282
>Category:       pkg
>Synopsis:       cannot build boehm-gc on vax
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 25 04:57:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Shinmyoh Koji
>Release:        NetBSD-1.5S
>Organization:
>Environment:
	
System: NetBSD flanker 1.5S NetBSD 1.5S (FLANKER) #172: Fri Feb 23 13:21:18 JST 2001 yesu@cougar:/usr/src/sys/arch/vax/compile/FLANKER vax
Architecture: vax
Machine: vax
>Description:
	packages depending on boehm-gc (such as w3m) cannot build
>How-To-Repeat:
	
>Fix:

*** gc/gcconfig.h.orig	Fri Feb 11 02:35:15 2000
--- gc/gcconfig.h	Fri Feb 11 02:22:33 2000
***************
*** 70,75 ****
--- 70,79 ----
  #    endif
  #    define mach_type_known
  # endif
+ # if defined(__NetBSD__) && defined(__vax__)
+ #    define VAX
+ #    define mach_type_known
+ # endif
  # if defined(mips) || defined(__mips)
  #    define MIPS
  #    if defined(ultrix) || defined(__ultrix) || defined(__NetBSD__)
***************
*** 561,566 ****
--- 565,574 ----
  #   ifdef ULTRIX
  #	define OS_TYPE "ULTRIX"
  #	define STACKBOTTOM ((ptr_t) 0x7fffc800)
+ #   endif
+ #   ifdef NETBSD
+ #	define OS_TYPE "NETBSD"
+ #	define HEURISTIC2
  #   endif
  # endif
  
>Release-Note:
>Audit-Trail:
>Unformatted: