Source-Changes-HG archive

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

[src/trunk]: src Another codegen bug that fixes (in this case lots of) atf te...



details:   https://anonhg.NetBSD.org/src/rev/f8afa8c854a4
branches:  trunk
changeset: 788846:f8afa8c854a4
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jul 23 14:52:07 2013 +0000

description:
Another codegen bug that fixes (in this case lots of) atf tests.
rump_server doesn't die so much now.

diffstat:

 doc/HACKS                        |  9 ++++++++-
 sys/lib/libkern/Makefile.libkern |  6 +++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r e38b71a3c11f -r f8afa8c854a4 doc/HACKS
--- a/doc/HACKS Tue Jul 23 14:47:54 2013 +0000
+++ b/doc/HACKS Tue Jul 23 14:52:07 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.132 2013/07/23 14:47:54 skrll Exp $
+# $NetBSD: HACKS,v 1.133 2013/07/23 14:52:07 skrll Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -813,3 +813,10 @@
                corruption.
        kcah
 
+       hack    compiler error with gcc 4.5.x
+       cdate   Tue Jul 23 07:42:28 BST 2013
+       who     skrll
+       file    src/sys/lib/libkern/Makefile.libkern: 1.26
+       descr
+               workaround for unanalysed codegen bug affecting md5c.c.
+       kcah
diff -r e38b71a3c11f -r f8afa8c854a4 sys/lib/libkern/Makefile.libkern
--- a/sys/lib/libkern/Makefile.libkern  Tue Jul 23 14:47:54 2013 +0000
+++ b/sys/lib/libkern/Makefile.libkern  Tue Jul 23 14:52:07 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.libkern,v 1.25 2013/06/29 16:02:01 rmind Exp $
+#      $NetBSD: Makefile.libkern,v 1.26 2013/07/23 14:52:07 skrll Exp $
 
 # 
 # Variable definitions for libkern.  
@@ -111,3 +111,7 @@
 SRCS := ${SRCS:N${unwanted_file}}
 .endif
 .endfor
+
+.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "hppa"
+COPTS.md5c.c +=                ${${ACTIVE_CC} == "gcc" :? -O0 :}
+.endif



Home | Main Index | Thread Index | Old Index