https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82092
--- Comment #15 from Ryan Schmidt <gcc at ryandesign dot com> --- Yes, I noticed Homebrew had the update, and I didn't understand why it worked there. But now I do. Some more information has turned up in a new MacPorts ticket: https://trac.macports.org/ticket/56521 In MacPorts gcc ports, we use --with-as=/opt/local/bin/as (this assembler is provided by our cctools port). This change was made in MacPorts 6 years ago by Jeremy who reported this bug, though I'm not entirely sure why. I suspect the problem is that our cctools port is currently at version 895, which corresponds to what's in Xcode 8.1, and that's apparently too old to work properly in this case. I am able to get a more recent snapshot to build if I instead use --with-as=/usr/bin/as, so perhaps we either need to do that in MacPorts or we need to update our cctools port to a more recent version.