NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/56318: sshd fails to start on NetBSD/pmax 9.2 R3000 3MIN
The following reply was made to PR lib/56318; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: lib/56318: sshd fails to start on NetBSD/pmax 9.2 R3000 3MIN
Date: Tue, 10 Aug 2021 07:11:41 +0900
> This also happens on SPARC station 2 (sun4c) + NetBSD/sparc 9.2:
:
> (gdb) bt
> #0 abort () at /usr/src/lib/libc/stdlib/abort.c:80
> #1 0xeda19fc8 in __assert13 (
> file=0xedda9630 "/usr/src/crypto/external/bsd/openssl/dist/crypto/bn/bn_div.c", line=line@entry=439, function=<optimized out>,
> failedexpr=0xedda9670 "(*wnumtop) == 0")
> at /usr/src/lib/libc/gen/assert.c:72
On the SPARC station 2, reverting
src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/bn.inc r1.2
solves the assertion.
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/bn.inc#rev1.2
--- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/bn.inc 2014/03/02 09:02:43 1.1
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/bn.inc 2020/06/21 22:16:08 1.2
@@ -1,6 +1,5 @@
-.if ${MACHINE} == "sparc64"
.PATH.S: ${.PARSEDIR}
# XXX bn-sparcv8plus.S doesn't work well. why?
BN_SRCS = bn-sparcv8.S
-.endif
+AFLAGS.bn-sparcv8.S+= -Wa,-Av9
.include "../../bn.inc"
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index