also compile poly1305.c with -O0 on vax to address ssh login failure from/to

some hosts
This commit is contained in:
rin 2017-02-14 09:59:16 +00:00
parent 06ad9416fa
commit 72128ffa3a
2 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.20 2017/02/14 09:00:03 rin Exp $
# $NetBSD: Makefile,v 1.21 2017/02/14 09:59:16 rin Exp $
.include <bsd.own.mk>
@ -117,7 +117,8 @@ COPTS.channels.c+= -fno-strict-aliasing
# XXX
.if ${MACHINE} == "vax"
COPTS.umac.c+=-O0
COPTS.poly1305.c+= -O0
COPTS.umac.c+= -O0
.endif
.include <bsd.lib.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: HACKS,v 1.181 2017/02/14 09:07:35 rin Exp $
# $NetBSD: HACKS,v 1.182 2017/02/14 09:59:16 rin Exp $
#
# This file is intended to document workarounds for currently unsolved
# (mostly) compiler bugs.
@ -549,12 +549,13 @@ port vax
kcah
hack libssh miscompile
date Tue Feb 14 17:58:06 JST 2017
cdate Tue Feb 14 17:58:06 JST 2017
mdate Tue Feb 14 18:57:39 JST 2017
who rin
file crypto/external/bsd/openssh/lib/Makefile : 1.20
descr
umac.c is miscompiled, which results in login failure to/from
external hosts via ssh.
poly1305.c and umac.c are miscompiled, which results in login
failure to/from external hosts via ssh.
kcah
hack mandoc miscompile