https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118121
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to John David Anglin from comment #4) > Created attachment 59913 [details] > Patch > > Fixes compile error. > > Declaration for mkstemps was more or less placed randomly in libiberty.h. that works too.