Add -mno-outline-atomics to CFLAGS when building mingw-w64-crt and mingw-w64-libraries/winpthreads for aarch64-*#8
Add -mno-outline-atomics to CFLAGS when building mingw-w64-crt and mingw-w64-libraries/winpthreads for aarch64-*#8
-mno-outline-atomics to CFLAGS when building mingw-w64-crt and mingw-w64-libraries/winpthreads for aarch64-*#8Conversation
Co-authored-by: Evgeny Karpov <eukarpov@gmail.com>
… and `mingw-w64-libraries/winpthreads` for `aarch64-*`
5a6dbc6 to
c187702
Compare
-mno-outline-atomics to CFLAGS when building mingw-w64-crt and mingw-w64-libraries/winpthreads for aarch64-*-mno-outline-atomics to CFLAGS when building mingw-w64-crt and mingw-w64-libraries/winpthreads for aarch64-*
|
Why doesn't clang need this? Does this change the behavior of the clang build? |
It depends whether |
eukarpov
left a comment
There was a problem hiding this comment.
Which work is unblocked by adding this change?
It looks like it is needed for this why that template is needed? |
Mainly it's needed for the fix of the build procedure of MinGW libraries https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/pull/205/files. Currently, we are not building all parts of MinGW on the CI. Furthermore, this change is needed to build native MinGW toolchain MSYS2 packages. There, it's currently applied as a patch. |
That template should serve to the MSYS2 community as documentation and proof-of-concept how to build AArch64 MinGW MSYS2 packages using public Arm64 GitHub Actions runners and is not related to this PRs' changes. |
Just another option that may resolve Windows-on-ARM-Experiments/mingw-woarm64-build#208 and Windows-on-ARM-Experiments/mingw-woarm64-build#205. It depends which way will be accepted by the MinGW community.