Module Name: src Committed By: skrll Date: Tue Jul 23 14:52:07 UTC 2013
Modified Files: src/doc: HACKS src/sys/lib/libkern: Makefile.libkern Log Message: Another codegen bug that fixes (in this case lots of) atf tests. rump_server doesn't die so much now. To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133 src/doc/HACKS cvs rdiff -u -r1.25 -r1.26 src/sys/lib/libkern/Makefile.libkern Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/doc/HACKS diff -u src/doc/HACKS:1.132 src/doc/HACKS:1.133 --- src/doc/HACKS:1.132 Tue Jul 23 14:47:54 2013 +++ src/doc/HACKS Tue Jul 23 14:52:07 2013 @@ -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 @@ port hp700 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 Index: src/sys/lib/libkern/Makefile.libkern diff -u src/sys/lib/libkern/Makefile.libkern:1.25 src/sys/lib/libkern/Makefile.libkern:1.26 --- src/sys/lib/libkern/Makefile.libkern:1.25 Sat Jun 29 16:02:01 2013 +++ src/sys/lib/libkern/Makefile.libkern Tue Jul 23 14:52:07 2013 @@ -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 @@ unwanted_file := ${SRCS:M${check_file:.S SRCS := ${SRCS:N${unwanted_file}} .endif .endfor + +.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "hppa" +COPTS.md5c.c += ${${ACTIVE_CC} == "gcc" :? -O0 :} +.endif