NetBSD Problem Report #1074

From gnats  Sun May 21 10:46:49 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id KAA05153 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sun, 21 May 1995 10:46:49 -0700
Message-Id: <m0sDF5k-0007V2C@daisy.ee.und.ac.za>
Date: Sun, 21 May 95 19:47 GMT+0200
From: barrett@ee.und.ac.za
Reply-To: barrett@ee.und.ac.za
To: gnats-bugs@NetBSD.ORG
Subject: genassym should depend on Makefile and be removed by "make clean"
X-Send-Pr-Version: 3.2

>Number:         1074
>Category:       port-i386
>Synopsis:       genassym should depend on Makefile and be removed by "make clean"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 21 10:50:02 +0000 1995
>Closed-Date:    Sun Aug 13 04:17:35 +0000 1995
>Last-Modified:  Sun Aug 13 04:18:11 +0000 1995
>Originator:     Alan Barrett
>Release:        NetBSD-current 1995-05-20
>Organization:
not much
>Environment:
System: NetBSD daisy.ee.und.ac.za 1.0A NetBSD 1.0A (DAISY) #0: Sun Jan 29 18:06:13 GMT+0200 1995 barrett@daisy.ee.und.ac.za:/usr/src/sys/arch/i386/compile/DAISY i386

>Description:
	When the kernel configuration is changed, the "genassym" program
	should be rebuilt, because it depends on configuration options.
	Also, "make clean" in teh kernel compile directory should remove
	"genassym".

	I noticed these problems when I added COMPAT_LINUX to my i386
	configuration, but other architectures also appear to have one
	or both of these problems.

>How-To-Repeat:
	Build an i386 kernel without COMPAT_LINUX.
	Add COMPAT_LINUX to the kenel config file and run config.
	Go to the compile directory, and do "make clean && make depend
	&& make locore.o".

	Because the old genassym is not removed by make clean or
	rebuilt by make, there will be errors in making locore.o.

>Fix:
*** Makefile.i386.old	Wed May 17 12:06:22 1995
--- Makefile.i386	Sun May 21 19:29:20 1995
***************
*** 103,107 ****
  clean:
  	rm -f eddep *netbsd netbsd.gdb tags vnode_if.[ch] *.o locore.i \
! 		[a-z]*.s [Ee]rrs linterrs makelinks

  lint: /tmp param.c
--- 103,107 ----
  clean:
  	rm -f eddep *netbsd netbsd.gdb tags vnode_if.[ch] *.o locore.i \
! 		[a-z]*.s [Ee]rrs linterrs makelinks genassym

  lint: /tmp param.c
***************
*** 130,133 ****
--- 130,136 ----
  # depend on maxusers
  assym.s: Makefile
+ 
+ # depend on configuration
+ genassym: Makefile

  # depends on KDB (cons.o also depends on GENERIC)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Sun Aug 13 00:17:35 EDT 1995 
State-Changed-Why:  
This has been fixed for quite a while. 
>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.