https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83903
Bug ID: 83903 Summary: gcc 8.0.0 20180114 fails to bootstrap on Darwin x86_64, undeclared ASM_OUTPUT_DEF Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: andrewm.roberts at sky dot com Target Milestone: --- Building gcc 8.0.0 20180114 on Darwin (OS X) with llvm fails with an undeclared identifier: .../../gcc-8.0.0/gcc/config/i386/i386.c:10961:7: error: use of undeclared identifier 'ASM_OUTPUT_DEF' ASM_OUTPUT_DEF (asm_out_file, alias, name); clang -v Apple LLVM version 9.0.0 (clang-900.0.39.2) Target: x86_64-apple-darwin17.3.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault .xctoolchain/usr/bin uname -a Darwin Andrews-Mac-mini.local 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov 9 18 :09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64 gcc is configured with: ../gcc-8.0.0/configure --prefix=/usr/local/gcc-8.0.0 --program-suffix= --disable-werror --enable-checking=release --enable-languages=c,c++,fortran,lto --disable-libgcj --host=x86_64-apple-darwin17.3.0 --build=x86_64-apple-darwin17.3.0 --disable-bootstrap gcc 7.2.0 builds fine on the same system, using the same configuration. This is an upto date Mac with current Apple toochain.