Date: Tue, 4 Jan 2000 12:05:10 +1100 From: peter.jeremy@ALCATEL.COM.AU To: freefall-gnats@gsmx07.alcatel.com.au Subject: kern/15870: PicoBSD Kernel link fails Message-ID: <00Jan4.120511est.40325@border.alcanet.com.au>
next in thread | raw e-mail | index | archive | help
>Number: 15870 >Category: kern >Synopsis: PicoBSD Kernel link fails >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 3 17:20:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Peter Jeremy >Release: FreeBSD 4.0-CURRENT i386 >Organization: Alcatel Australia Limited >Environment: Host is pre-signal-change -current building PicoBSD from the latest -current. >Description: When building PicoBSD, the build script defines a global variable $SIZE to hold the MFS size. The same variable is used by the kernel Makefile to refer to the size(1) command. This causes the kernel link step to fail as follows: linking kernel 2400: not found *** Error code 127 The fix is to unset SIZE before the kernel build. In addition, the command `make depend all' is not safe because the updated dependency list will not be re-read between the `depend' and `all' steps. This should be run as two separate makes. >How-To-Repeat: # ed /usr/src/release/picobsd/dial/PICOBSD g/wd/s/^/# /wcd0/s/^/# w q # cd /usr/src/release/picobsd/build # sh build.sh Select "just build it" >Fix: Index: src/release/picobsd/build/Makefile.conf =================================================================== RCS file: /home/CVSROOT/src/release/picobsd/build/Makefile.conf,v retrieving revision 1.4 diff -u -r1.4 Makefile.conf --- Makefile.conf 1999/11/30 21:41:11 1.4 +++ Makefile.conf 1999/12/22 20:25:24 @@ -17,5 +17,6 @@ (cd ${CONF}; \ config ${CONFFILE}; \ cd ${COMPILE}; \ - make depend all) + unset SIZE; \ + make depend && make all) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00Jan4.120511est.40325>