Subject: bin/1131: Makefile for gnu/usr.bin includes toolchain on mips.
To: None <gnats-admin@sun-lamp.pc.cs.cmu.edu>
From: Ted Lemon <mellon@fugue.com>
List: netbsd-bugs
Date: 06/19/1995 22:50:12
>Number: 1131
>Category: bin
>Synopsis: Makefile for gnu/usr.bin includes toolchain on mips.
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jun 19 22:50:11 1995
>Originator: Ted Lemon
>Organization:
>Release: NetBSD-current, June 15, 1995
>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.
>Audit-Trail:
>Unformatted: