Closed merinfor2021 closed 2 years ago
Hi!
This is a compiler bug: https://gitlab.alpinelinux.org/alpine/aports/issues/8626. It is not considered as a bug by the Alpine maintainers, but it is the way they implement the std library..
Anyway, you should either add CXXFLAGS=-U_FORTIFY_SOURCE
or delete fortify-headers
package from the system.
More info can be found in the #3041: https://github.com/official-stockfish/Stockfish/issues/3041#issuecomment-678490037 https://github.com/official-stockfish/Stockfish/issues/3041#issuecomment-678562884
as per the above comment, I'll close the issue. Using CXXFLAGS=-U_FORTIFY_SOURCE make ...
seems a suitable workaround for the time being.