Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 1996 04:01:10 +0000 (GMT)
From:      Adam David <adam@veda.is>
To:        freebsd-current@freebsd.org
Subject:   config -g KERNEL
Message-ID:  <199603070401.EAA14075@veda.is>

next in thread | raw e-mail | index | archive | help
I tried making a kernel with debug symbols, using config -g and strip -x.
While booting from this kernel, there were problems running some of the
programs during /etc/rc processing, and LKMs failed to load. These same LKMs
and programs work fine when the same kernel is built without debug symbols.
Is support for this currently broken, or is there some important factor which
I have overlooked?

# cd /sys/i386/conf
# config -g KERNEL
# cd ../../compile/KERNEL
# make depend && make all
# cp kernel ../kernel.debug
# strip -x kernel
# make install

Ideas?

--
Adam David <adam@veda.is>



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