Subject: bin/5558: strip corrupts objects
To: None <gnats-bugs@gnats.netbsd.org>
From: Stefan Grefen <grefen@hprc.tandem.com>
List: netbsd-bugs
Date: 06/09/1998 15:57:26
>Number:         5558
>Category:       bin
>Synopsis:       strip -x objects get bogus entrys
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun  9 07:05:01 1998
>Last-Modified:
>Originator:     Stefan Grefen
>Organization:
Stefan Grefen                                Tandem Computers Europe Inc.
grefen@hprc.tandem.com                       High Performance Research Center
 --- Hacking's just another word for nothing left to kludge. ---
>Release:        Jun 8 1998
>Environment:
	
System: NetBSD hicks 1.3F NetBSD 1.3F (CPQ) #26: Tue Jun  9 13:51:04 CEST 1998
grefen@hicks:/usr/src/sys/arch/i386/compile/CPQ i386
UVM PMAP_NEW

>Description:
	After a strip -x the symbol table strings  are corrupted.
>How-To-Repeat:
	make a kernel with -g and nm the finished netbsd
	this fails on a PII with 64 MB and on a diskless 386
	I think this should be in Category kern ...
>Fix:
	I suspect a problem with mmap, so making strip use read/write
	may fix it, but the underlying problem should be fixed.
>Audit-Trail:
>Unformatted: