https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100854
Chung-Ju Wu <jasonwucj at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrea.corallo at arm dot com, | |kito at gcc dot gnu.org --- Comment #5 from Chung-Ju Wu <jasonwucj at gcc dot gnu.org> --- (In reply to Francois-Xavier Coudert from comment #2) > This affects x86_64-apple-darwin: > https://gcc.gnu.org/pipermail/gcc/2021-December/237959.html > > The <math.h> system header errors out on any value of __FLT_EVAL_METHOD__ > that is not -1, 0, 1, or 2. I guess this issue has been resolved by newlib implementation. :) Refer to the discussions on: https://sourceware.org/pipermail/newlib/2021/018471.html https://sourceware.org/pipermail/newlib/2022/019522.html The patches have been committed into newlib code base and it should be workable now.