Subject: toolchain/15191: kernel library build scheme shouldn't use
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/09/2002 12:45:49
>Number:         15191
>Category:       toolchain
>Synopsis:       kernel library build scheme shouldn't use
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 09 09:47:01 PST 2002
>Originator:     Todd Vierling
>Release:        -current 9 Jan 2002
>Organization:  Pointing out the obvious since 1994.



The libraries in src/sys/lib use a very odd recursion trick with <> in
order to do their dirty work.  This build mechanism has some serious problems,
only the least of which is that the .o.o symbol-strip hack (not needed for
kernels) doesn't necessarily work when the target object format isn't the
"default" for a platform.


Build a GENERIC32 kernel for sparc64.


Ideally, the $MAKE recursion should go away entirely, and libraries should be
built using rules lifted right into  Alternatively, a fragment could be created.