https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109007
--- Comment #12 from bugreporter66 at gmail dot com --- Yep, thanks. At least I've learned how to debug with QEMU and GDB and I think building without -static should still produce code compatible with POWER8 for the actual target, but not for QEMU linux-user emulation (which obviously requires it). This link I found was helpful in getting GDB and QEMU working together: https://mariokartwii.com/showthread.php?tid=1998&pid=9867#pid9867