Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 1995 19:10:04 -0700
From:      starkhome!gene@sbstark.cs.sunysb.edu (Gene Stark)
To:        freebsd-bugs
Subject:   bin/300: __fdnlist fails on kernels created by cc -g; strip -x
Message-ID:  <199504060210.TAA08285@freefall.cdrom.com>
In-Reply-To: Your message of Wed, 5 Apr 1995 22:02:43 -0400 <199504060202.WAA00290@starkhome.cs.sunysb.edu>

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

>Number:         300
>Category:       bin
>Synopsis:       __fdnlist fails on kernels created by cc -g and strip -x
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr  5 19:10:03 1995
>Originator:     Gene Stark
>Organization:
>Release:        FreeBSD 2.1.0-Development i386
>Environment:

>Description:

	After making a kernel with "make DEBUG=-g", then
	applying "strip -x" to the result, then "make install",
	and finally booting from that kernel, what happens
	is that savecore, ifconfig, and kvm_mkdb exit on signal 11
	during bootup.  They die within a strcmp in __fdnlist
	trying to look up symbols in the kernel.  They apparently
	seg fault following a bad pointer in the mmap()'ed kernel
	image.

	Apparently, there is some incompatibility with the output
	produced by "make DEBUG=-g; strip -x kernel", and what
	__fdnlist expects to see.

>How-To-Repeat:

	cd /sys/compile/YOURSYS
	make DEBUG=-g
	strip -x kernel
	make install
	reboot

>Fix:
>Audit-Trail:
>Unformatted:





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