https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66955
Austin Beer <asbeer at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asbeer at gmail dot com --- Comment #1 from Austin Beer <asbeer at gmail dot com> --- I also encountered this error while trying to build GCC 5.4.0. I don't know whether or not this issue is still present in GCC 6 or GCC 7. I've worked around the issue by using --disable-libcc1. Configuration that failed: --disable-multilib --disable-nls --disable-libsanitizer --disable-shared --enable-languages=c,c++,lto --enable-threads=posix --enable-__cxa_atexit Configuration that succeeded: --disable-multilib --disable-nls --disable-libsanitizer --disable-shared --disable-libcc1 --enable-languages=c,c++,lto --enable-threads=posix --enable-__cxa_atexit The following email mentions this issue as well: https://gcc.gnu.org/ml/gcc/2015-02/msg00128.html