Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
v26.0 and v26.1rc1 both build successfully on big endian ppc64 openbsd 7.4 but when starting, bitcoind immediately segfaults. CPU is POWER9.
Unfortunately, gdb on this platform also crashes when attempting to debug so all I have is this:
0$ egdb bitcoind bitcoind.core
1GNU gdb (GDB) 9.2
2Copyright (C) 2020 Free Software Foundation, Inc.
3License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
4This is free software: you are free to change and redistribute it.
5There is NO WARRANTY, to the extent permitted by law.
6Type "show copying" and "show warranty" for details.
7This GDB was configured as "powerpc64-unknown-openbsd7.4".
8Type "show configuration" for configuration details.
9For bug reporting instructions, please see:
10<http://www.gnu.org/software/gdb/bugs/>.
11Find the GDB manual and other documentation resources online at:
12 <http://www.gnu.org/software/gdb/documentation/>.
13
14For help, type "help".
15Type "apropos word" to search for commands related to "word"...
16Reading symbols from bitcoind...
17[New process 613405]
18Core was generated by `bitcoind'.
19Program terminated with signal SIGSEGV, Segmentation fault.
20[#0](/bitcoin-bitcoin/0/) libunwind::LocalAddressSpace::get32 (this=<optimized out>, addr=<optimized out>) at /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/src/AddressSpace.hpp:221
21221 /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/src/AddressSpace.hpp: No such file or directory.
22(gdb) bt
23[#0](/bitcoin-bitcoin/0/) libunwind::LocalAddressSpace::get32 (this=<optimized out>, addr=<optimized out>) at /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/src/AddressSpace.hpp:221
24Abort trap (core dumped)
Expected behaviour
Bitcoind starts to sync.
Steps to reproduce
Build bitcoind on powerpc64 OpenBSD 7.4 on IBM POWER9. Start bitcoind.
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
v26.0 and v26.1rc1
Operating system and version
OpenBSD 7.4