NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/38956 (rb tree corruption?)



The following reply was made to PR kern/38956; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost, 
gnats-admin%NetBSD.org@localhost,
        yamt%NetBSD.org@localhost, martin%duskware.de@localhost, 
stix%stix.id.au@localhost,
        tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/38956 (rb tree corruption?)
Date: Sun, 22 Jun 2008 03:50:48 +0900

 > rb_tree code in subr_lockdebug.c is also problematic?
 
 At least on news68k, the following patch fixes problems
 on both kern/subr_lockdebug.c and uvm/uvm_page.c:
 
 ---
 Index: lib/libkern/Makefile
 ===================================================================
 RCS file: /cvsroot/src/sys/lib/libkern/Makefile,v
 retrieving revision 1.88
 diff -u -r1.88 Makefile
 --- lib/libkern/Makefile       15 Jun 2008 20:34:18 -0000      1.88
 +++ lib/libkern/Makefile       21 Jun 2008 18:44:47 -0000
 @@ -57,6 +57,9 @@
  
  SRCS+=        rb.c
  COPTS.rb.c+=  -Wno-missing-field-initializers
 +.if ${MACHINE_ARCH} == "m68k"
 +COPTS.rb.c+=  -fno-gcse
 +.endif
  
  # Files to clean up
  CLEANFILES+= lib${LIB}.o lib${LIB}.po
 ---
 
 I have not tracked which gcc or rb.c has the problem though.
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index