Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 1999 21:19:52 +0200 (CEST)
From:      n_hibma@freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/11204: config -g -> no kernel, only kernel.debug
Message-ID:  <199904181919.VAA00423@hare.plazza.it>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904181919.VAA00423>