Page MenuHomePhabricator

Disable thread_local for i686-mingw

Authored by Fabien on Mar 27 2020, 12:56.



This is a follow-up for D5540. Despite the tests passing, the diff is
causing bitcoin-qt to fail quickly. Disabling thread_local for this
compiler fixes the issue.

The code is extracted from PR15849, but the tests for thread_local is a
simplified version.

Test Plan

Build for win32 with autotools and cmake. Run bitcoin-qt and check it
doesn't crash.

As a sanity check, build for win64 and any linux and check
thread_local is enabled.

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
52 ↗(On Diff #17240)

Nit: Missing comment // Without thread_local available, don't handle internal name at all.

This revision is now accepted and ready to land.Mar 27 2020, 15:30
This revision was landed with ongoing or failed builds.Mar 27 2020, 15:36
This revision was automatically updated to reflect the committed changes.