https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56703
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Try building a supported version of GCC. Nobody is going to fix anything in gcc 4.8.x now. The errors you;re getting are not the same as the ones on SunOS, I suspect you've copied a built GCC from one machine to another machine with a different libc. That won't work, you need to build GCC for the specific machine.