From owner-freebsd-bugs Sun Apr 18 12:32:27 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E7EEF14CEC for ; Sun, 18 Apr 1999 12:32:25 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id MAA40828; Sun, 18 Apr 1999 12:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ns.skylink.it (ns.skylink.it [194.177.113.1]) by hub.freebsd.org (Postfix) with ESMTP id 74962154FC for ; Sun, 18 Apr 1999 12:24:54 -0700 (PDT) (envelope-from nick.hibma@jrc.it) Received: from heidi.plazza.it ([194.185.55.84]) by ns.skylink.it (8.9.1/8.8.8) with ESMTP id VAA20650 for ; Sun, 18 Apr 1999 21:23:51 +0200 Received: from hare.plazza.it (hare.plazza.it [10.1.0.3]) by heidi.plazza.it (8.8.8/8.8.5) with ESMTP id VAA03448 for ; Sun, 18 Apr 1999 21:19:35 +0200 (CEST) Received: (from n_hibma@localhost) by hare.plazza.it (8.9.3/8.8.7) id VAA00423; Sun, 18 Apr 1999 21:19:52 +0200 (CEST) (envelope-from n_hibma) Message-Id: <199904181919.VAA00423@hare.plazza.it> Date: Sun, 18 Apr 1999 21:19:52 +0200 (CEST) From: n_hibma@freebsd.org Reply-To: n_hibma@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/11204: config -g -> no kernel, only kernel.debug Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11204 >Category: i386 >Synopsis: config -g -> no kernel, only kernel.debug >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 18 12:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Nick Hibma (hare) >Release: FreeBSD 4.0-CURRENT i386 >Organization: n.a >Environment: Current as of date specified: are:toor# uname -a FreeBSD hare.plazza.it 3.0-CURRENT FreeBSD 3.0-CURRENT #4: Mon Jan 11 22:52:23 CET 1999 toor@hare.plazza.it:/usr/src/sys/compile/HARE i386 hare:toor# date Sat Apr 17 23:38:49 CEST 1999 >Description: When compiling a kernel with the -g flag to config, only the file 'kernel.debug' is created but not 'kernel'. This means you will have to install the huge kernel.debug in the root dir. >How-To-Repeat: cd /sys/i386/conf config -gr GENERIC cd ../../compile/GENERIC make make install >Fix: cd /sys/i386/conf config -gr GENERIC cd ../../compile/GENERIC make make kernel make install but better would be to either specify the rule .MAIN: all in /sys/i386/conf/Makefile.i386 right before the '%LOAD' line, or otherwise have a good look at the Makefile config produces. It might be that the function do_load(f) could be changed to implement this properly: /usr/src/usr.sbin/config/mkmakefile.c No patch applied because the change would be trivial and is most probably wrong. I don't know no nothing about config. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message