I have built and installed GCC 4.8.1 from source:
$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPP
Your gdb is too old -- you need a more recent gdb (I use 7.6) to understand the debugging info generated by gcc 4.8.1