https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
--- Comment #260 from Larkin Nickle <me at larbob dot org> --- (In reply to dave.anglin from comment #259) > The compiler being used to compile mkstemps.c is broken. If core dumps are > enabled, > you should be able to use gdb (wdb) directly to find the illegal instruction. > > If not, one can find the illegal instruction by adding "-save-temps -v" to > the compile command. > This will give the information needed to run the compilation under gdb (wdb) > > If I was to guess, the illegal instruction is likely to be an out of range > branch. > > I would check HP patch for HP ld. There may be version dependent > differences in weak support. Indeed, I'm trying to get a working gdb up now. I have the latest ld version. ld: 92453-07 linker ld HP Itanium(R) B.12.67 IPF/IPF