Module Name: src
Committed By: rin
Date: Tue Feb 14 09:00:04 UTC 2017
Modified Files:
src/crypto/external/bsd/openssh/lib: Makefile
src/doc: HACKS
Log Message:
add hack for libssh on vax
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/crypto/external/bsd/openssh/lib/Makefile
cvs rdiff -u -r1.178 -r1.179 src/doc/HACKS
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/openssh/lib/Makefile
diff -u src/crypto/external/bsd/openssh/lib/Makefile:1.19 src/crypto/external/bsd/openssh/lib/Makefile:1.20
--- src/crypto/external/bsd/openssh/lib/Makefile:1.19 Tue Aug 2 13:45:13 2016
+++ src/crypto/external/bsd/openssh/lib/Makefile Tue Feb 14 09:00:03 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2016/08/02 13:45:13 christos Exp $
+# $NetBSD: Makefile,v 1.20 2017/02/14 09:00:03 rin Exp $
.include <bsd.own.mk>
@@ -115,4 +115,9 @@ COPTS.${f}.c+= -Wno-pointer-sign
# XXX
COPTS.channels.c+= -fno-strict-aliasing
+# XXX
+.if ${MACHINE} == "vax"
+COPTS.umac.c+=-O0
+.endif
+
.include <bsd.lib.mk>
Index: src/doc/HACKS
diff -u src/doc/HACKS:1.178 src/doc/HACKS:1.179
--- src/doc/HACKS:1.178 Mon Feb 13 22:31:09 2017
+++ src/doc/HACKS Tue Feb 14 09:00:03 2017
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.178 2017/02/13 22:31:09 rin Exp $
+# $NetBSD: HACKS,v 1.179 2017/02/14 09:00:03 rin Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@@ -548,6 +548,15 @@ port vax
to the PR. As a workaround, compile dse.c with -O0.
kcah
+ hack libssh miscompile
+ date Tue Feb 14 17:58:06 JST 2017
+ who rin
+ file crypto/external/bsd/openssh/lib/Makefile : 1.20
+ descr
+ umac.c is miscompiled, which results in login to/from external
+ hosts via ssh fails.
+ kcah
+
port arm
hack gcc-unsigned-compare