Hi,
Since the inclusion of sparcv9a-mont.s/.pl, I get a SIGBUS error when
running bntest. Package is openssl 1.0.0 with sparcv9a on Linux 2.6.34
with a sparcv9 environment (64-bit kernel, 32-bit userspace/v8/v8plus)
on a sun4v US T1 CPU. I am aware of the FPU implications - openssl just
chooses sparcv9a by default, so I stumbled across this.
Any insight would be appreciated.
Program received signal SIGBUS, Bus error.
bn_mul_mont_fpu () at sparcv9a-mont.s:80
80 ldda [%o4+2]%asi,%f0
Current language: auto
The current source language is "auto; currently asm".
(gdb) bt
#0 bn_mul_mont_fpu () at sparcv9a-mont.s:80
#1 0xf7e67744 in BN_mod_mul_montgomery (r=0xffffd8f0, a=0xffffd8c8,
b=0xffffd8b4, mont=0x2c5a8, ctx=0x2c008) at bn_mont.c:140
#2 0x00013dd8 in test_mont (bp=0x2c038, ctx=0x2c008) at bntest.c:755
#3 0x00011e84 in main (argc=0, argv=0xffffda88) at bntest.c:243
(gdb) info registers
g0 0x0 0
g1 0x0 0
g2 0x22000 139264
g3 0x2c2b8 180920
g4 0x807ffff 134742015
g5 0x0 0
g6 0x10 16
g7 0xf7ff3620 -134269408
o0 0xaf2f975d -1355835555
o1 0xe0b68eb5 -524906827
o2 0xffffd8b4 -10060
o3 0x2c920 182560
o4 0x2c2a8 180904
o5 0x2c200 180736
sp 0xffffd000 0xffffd000
o7 0xf0 240
l0 0xffffd0c0 -12096
l1 0xffffd0e0 -12064
l2 0xffffd0f0 -12048
l3 0xffffd100 -12032
l4 0xffffd110 -12016
l5 0xfffffff0 -16
l6 0xfffffff0 -16
l7 0xffff 65535
---Type <return> to continue, or q <return> to quit---
i0 0x2c2d0 180944
i1 0x2c930 182576
i2 0x2c2b8 180920
i3 0x2c210 180752
i4 0x2c5e8 181736
i5 0x10 16
fp 0xffffd7e0 0xffffd7e0
i7 0xf7e6773c -135891140
y 0x396423c 60179004
psr 0xff440082 [ #1 S #18 #22 #24 #25 #26 #27 #28 #29 #30 #31 ]
wim 0x0 0
tbr 0x0 0
pc 0xf7e66468 0xf7e66468 <bn_mul_mont_fpu+232>
npc 0xf7e6646c 0xf7e6646c <bn_mul_mont_fpu+236>
fsr 0x0 [ ]
csr 0x0 0
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]