HomePhabricator

Fix a linkage error when cross building for windows with the hardening flags

Description

Fix a linkage error when cross building for windows with the hardening flags

Summary:
The linker is missing the hardened functions when _FORTIFY_SOURCE > 0.
It used to be supplied by libssp that was removed in D17229, but this implies the use of mingw >= 11 when we still use 10 for most of our CI. Let's keep this linked in for now and improve the comment.

Test Plan: Run the cross windows build.

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D17248

Details

Provenance
FabienAuthored on Nov 29 2024, 10:12
FabienPushed on Nov 29 2024, 17:44
Reviewer
Restricted Project
Differential Revision
D17248: Fix a linkage error when cross building for windows with the hardening flags
Parents
rABC4cb2cf5a2548: add missing unordered_map include
Branches
Unknown
Tags
Unknown