Commit fc9b4e8
committed
build: Disable AVX2 code path on mingw builds
The stack is 16 byte aligned according to the ABI, but gcc assumes 32
byte alignment during register spilling (doesn't re-align the stack
pointer), resulting in ~50% chance of a crash.
Avoid this issue by disabling detection of AVX2 compiler support when
compiling with mingw-w64.
Upstream bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412
Fixes #24726.1 parent 1021e4c commit fc9b4e8
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
557 | 560 | | |
558 | 561 | | |
| 562 | + | |
559 | 563 | | |
560 | 564 | | |
561 | 565 | | |
| |||
0 commit comments