This adds a Linux cross job for OpenBSD; similar to #34491 (FreeBSD). Depends Qt builds, but CMake can't seem to find it, so I have dropped Qt for now. bitcoin-chainstate and test_kernel currently fail to link when I run this locally (aarch64):
[ 69%] Linking CXX executable ../../../bin/test_kernel
ld.lld: error: non-exported symbol '__cxa_atexit' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(atexit.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol '__stack_smash_handler' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(stack_protector.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol '__assert2' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(assert.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'free' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(malloc.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'memset' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(memset.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'memcpy' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(memcpy.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'memmove' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(memmove.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'strlen' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(strlen.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'malloc' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(malloc.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'realloc' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(malloc.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'memcmp' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(memcmp.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'abort' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(abort.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'vsnprintf' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(vsnprintf.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'fseek' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(fseek.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'fclose' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(fclose.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'setbuf' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(setbuf.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'fwrite' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(fwrite.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol '__stdout' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(findfp.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'fflush' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(fflush.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: non-exported symbol 'fread' in '/ci_container_base/depends/SDKs/openbsd-x86_64-unknown-openbsd-7.9/usr/lib/libc.a(fread.o)' is referenced by DSO '../../../lib/libbitcoinkernel.so'
ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)