Subject: toolchain/15001: lint.7 is not built when objdirs are in use.
To: None <>
From: Nathan J. Williams <nathanw@speedy-gonzales.putnam>
List: netbsd-bugs
Date: 12/18/2001 17:46:04
>Number:         15001
>Category:       toolchain
>Synopsis:       lint.7 is not built when objdirs are in use.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 18 14:47:00 PST 2001
>Originator:     Nathan J. Williams
>Release:        NetBSD 1.5Z
System: NetBSD speedy-gonzales.putnam 1.5Z NetBSD 1.5Z (SPEEDY) #132: Fri Dec 14 16:09:33 EST 2001 nathanw@speedy-gonzales.putnam:/u1/build/SPEEDY macppc
Architecture: powerpc
Machine: macppc

When objdirs are in use in the build system, the lint.7 man
page gets created incorrectly; rev 1.21 of
src/usr.bin/xlint/lint1/Makefile stopped using ${.OBJDIR} to find
lint1, but didn't replace it with anything better.


Run with objdirs set up in /etc/mk.conf:


Note that the installed lint.7 page is a stub, and doesn't actually
list any of the errors (usually generated from "lint1 -m" output).


Use the host-tool lint1 to generate lint.7 to solve this and
be cross-compile safe.

(PR bin/11563 is also open on the topic of lint's cross-safety)