NetBSD Problem Report #1131

From gnats  Mon Jun 19 22:45:06 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id WAA18786 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 19 Jun 1995 22:44:18 -0400
Message-Id: <199506151743.KAA17451@toccata.fugue.com>
Date: Thu, 15 Jun 1995 10:43:17 -0700
From: Ted Lemon <mellon@fugue.com>
Reply-To: mellon@fugue.com
To: gnats-bugs@NetBSD.ORG
Subject: Makefile for gnu/usr.bin includes toolchain on mips.
X-Send-Pr-Version: 3.2

>Number:         1131
>Category:       bin
>Synopsis:       Makefile for gnu/usr.bin includes toolchain on mips.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 19 22:50:11 +0000 1995
>Closed-Date:    Tue Jun 20 09:52:36 +0000 1995
>Last-Modified:  
>Originator:     Ted Lemon
>Release:        NetBSD-current, June 15, 1995
>Organization:
>Environment:
System: NetBSD toccata 1.0A NetBSD 1.0A (TOCCATA) #158: Wed Jun 14 12:49:57 PDT 1995 mellon@toccata:/sandbox/NetBSD-current/sys/arch/pmax/compile/TOCCATA pmax


>Description:
	The GNU toolchain in the NetBSD source tree doesn't work for the
	pmax port, but is still being built.
>How-To-Repeat:
	On a NetBSD/pmax machine, cd to the top of the source tree and
	type make build.   It will try (and fail) to build gas.
>Fix:
	Apply the following patch (or one of your choosing which has a
	similar effect):

diff -c -r1.22 Makefile
*** Makefile	1995/04/23 07:50:55	1.22
--- Makefile	1995/06/15 17:36:12
***************
*** 4,11 ****
  SUBDIR+=	gzip rcs sdiff send-pr sort tar

  # some ports don't use the tool chain in /usr/src
! .if (${MACHINE_ARCH} != "alpha")
  SUBDIR+=	gas gcc2 gdb groff ld
  .endif

  # XXX alpha still needs the /usr/bin/cpp script.
--- 4,15 ----
  SUBDIR+=	gzip rcs sdiff send-pr sort tar

  # some ports don't use the tool chain in /usr/src
! .if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "mips")
  SUBDIR+=	gas gcc2 gdb groff ld
+ .endif
+ 
+ .if ${MACHINE_ARCH} == "mips")
+ SUBDIR+=	groff
  .endif

  # XXX alpha still needs the /usr/bin/cpp script.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cgd 
State-Changed-When: Tue Jun 20 05:52:36 EDT 1995 
State-Changed-Why:  
so what was suggested, but slightly differently. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.