-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Open
Labels
Description
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:
$ egdb bitcoind bitcoind.core
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "powerpc64-unknown-openbsd7.4".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from bitcoind...
[New process 613405]
Core was generated by `bitcoind'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 libunwind::LocalAddressSpace::get32 (this=<optimized out>, addr=<optimized out>) at /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/src/AddressSpace.hpp:221
221 /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/src/AddressSpace.hpp: No such file or directory.
(gdb) bt
#0 libunwind::LocalAddressSpace::get32 (this=<optimized out>, addr=<optimized out>) at /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/src/AddressSpace.hpp:221
Abort 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