https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694
--- Comment #21 from Fritz Reese <foreese at gcc dot gnu.org> --- Created attachment 48332 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48332&action=edit Patch to protect trigd functions based on system availability Patch for trigd include pieces to check for HAVE_XXX[*]. If a required piece is not defined, the function is replaced with simply a runtime_error(). @akrl and @ktkachov, please combine this with Jakub's patch and see how the build goes. Like Jakub I am also on x86_64-linux and it is difficult to exercise all the conditions.