1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.2.2/glibc-nss-noopt.patch Sat May 19 22:52:47 2007 +0000
1.3 @@ -0,0 +1,26 @@
1.4 +--- glibc-2.2.2/nss/Makefile.orig Tue May 20 16:02:47 2003
1.5 ++++ glibc-2.2.2/nss/Makefile Tue May 20 16:03:52 2003
1.6 +@@ -41,6 +41,10 @@
1.7 +
1.8 + tests = test-netdb
1.9 +
1.10 ++# Disable optimization when building nss to avoid crash described in
1.11 ++# http://gcc.gnu.org/ml/gcc-bugs/1998-06/msg00168.html
1.12 ++default_cflags := -g -O0
1.13 ++
1.14 + include ../Makeconfig
1.15 +
1.16 + ifeq (yes,$(build-static-nss))
1.17 +--- glibc-2.2.2/locale/Makefile.orig Tue May 20 17:29:11 2003
1.18 ++++ glibc-2.2.2/locale/Makefile Tue May 20 17:29:39 2003
1.19 +@@ -66,6 +66,10 @@
1.20 + GPERF = gperf
1.21 + GPERFFLAGS = -acCgopt -k1,2,5,9,$$ -L ANSI-C
1.22 +
1.23 ++# Disable optimization when building locale or nss to avoid crash described in
1.24 ++# http://gcc.gnu.org/ml/gcc-bugs/1998-06/msg00168.html
1.25 ++default_cflags := -g -O0
1.26 ++
1.27 + include ../Rules
1.28 +
1.29 + programs/%-kw.h: programs/%-kw.gperf