Subject: port-sparc/13143: named codegen bugs
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/08/2001 17:39:15
>Number:         13143
>Category:       port-sparc
>Synopsis:       named faults in ns_resp.c
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 08 17:42:00 PDT 2001
>Originator:     glen mccready
>Release:        1.5.1_BETA2 (and -r HEAD) as of 6/7/01 14:30 Pacific
	Petting Zoo
System: NetBSD 1.5.1_BETA2 NetBSD 1.5.1_BETA2 (PETTING-ZOO) #3: Fri Jun 8 14:04:33 PDT 2001 gkm@sparcy:/usr/src/sys/arch/sparc/compile/PETTING-ZOO sparc

	named faults at ns_resp.c:459 due to code generation bugs when
	compiled -O1 or -O2.  (/usr/src/dist/bind updated to -r HEAD)
	also faulted with the shipped named off the 1.5.1_BETA2 snapshot.

	gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
	disassmble the code and you'll find the problem.

17:17 <bleeh> this looks like codegen bugs.
17:17 <sommerfeld> 20:14 <sommerfeld> this looks like codegen spaz.
17:17 <sommerfeld> like i said ;-)

	compile ns_resp.c with -g without -O.