If you Guix build for Windows, and call objdump on libbitcoinconsensus-0.dll
, you’ll find it uses a non-static libssp:
0objdump -x src/.libs/libbitcoinconsensus-0.dll
1...
2The Import Tables (interpreted .idata section contents)
3 vma: Hint Time Forward DLL First
4 Table Stamp Chain Name Thunk
5 00263000 00263050 00000000 00000000 0026409c 00263490
6
7 DLL Name: libssp-0.dll
8 vma: Hint/Ord Member-Name Bound-To
9 2638d0 3 __memcpy_chk
10 2638e0 7 __stack_chk_fail
11 2638f4 8 __stack_chk_guard
DLLs should be built with a static libgcc/stdc++/ssp:
This has been an issue since we switched to using Guix for the 22.0 release.