https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694
--- Comment #27 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Fritz Reese from comment #26) > Created attachment 48351 [details] > Patch to protect trigd functions based on system availability (v2) > > I've attached a new patch for trigd. Below is the delta on top of the old > patch. With that incremental change, trigd.i differences look good to me during brief skimming. > I'm building and testing now. Jakub, if you concur, I will commit > these patches and close the PR after successful testing. I've already posted my patch to the mailing list, if somebody approves it, I'll check it in. I think we don't urgently need another round of aarch64-none-elf testing with the incremental patch, because for a target that doesn't have those cosl etc. functions in newlib ENABLE_SIND etc. will not be defined and so the incremental patch shouldn't change anything.