https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83839
Bug ID: 83839 Summary: bootstrap fails in gcc/config/i386/i386.c on darwin Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org CC: hjl.tools at gmail dot com Target Milestone: --- Host: i386-apple-darwin9.8.0 Target: i386-apple-darwin9.8.0 Build: i386-apple-darwin9.8.0 bootstrapping as of r256664 on i386-apple-darwin9.8.0, I get the following error: /usr/local/bin/g++ -std=gnu++98 -fno-PIE -c -g -mdynamic-no-pic -DIN_GCC -fPIC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I/var/root/gcc-git/my_oddly_named_builddir/./gmp -I/var/root/gcc-git/gmp -I/var/root/gcc-git/my_oddly_named_builddir/./mpfr/src -I/var/root/gcc-git/mpfr/src -I/var/root/gcc-git/mpc/src -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace -I/var/root/gcc-git/my_oddly_named_builddir/./isl/include -I/var/root/gcc-git/isl/include -I/usr/local/include -o i386.o -MT i386.o -MMD -MP -MF ./.deps/i386.TPo ../../gcc/config/i386/i386.c cc1plus: warning: ‘-mdynamic-no-pic’ overrides ‘-fpic’, ‘-fPIC’, ‘-fpie’ or ‘-fPIE’ ../../gcc/config/i386/i386.c: In function ‘void output_indirect_thunk_function(bool, int)’: ../../gcc/config/i386/i386.c:10961:7: error: ‘ASM_OUTPUT_DEF’ was not declared in this scope ASM_OUTPUT_DEF (asm_out_file, alias, name); ^~~~~~~~~~~~~~ ../../gcc/config/i386/i386.c:10961:7: note: suggested alternative: ‘ASM_OUTPUTS’ ASM_OUTPUT_DEF (asm_out_file, alias, name); ^~~~~~~~~~~~~~ ASM_OUTPUTS make[3]: *** [i386.o] Error 1 make[3]: Leaving directory `/private/var/root/gcc-git/my_oddly_named_builddir/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/private/var/root/gcc-git/my_oddly_named_builddir' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/private/var/root/gcc-git/my_oddly_named_builddir' make: *** [all] Error 2 Host compiler info: /usr/local/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i386-apple-darwin9.8.0/8.0.0/lto-wrapper Target: i386-apple-darwin9.8.0 Configured with: ../configure --disable-werror --disable-werror-always --enable-languages=c,c++,lto,objc,obj-c++ --enable-stage1-checking=release,rtl -C --with-system-libunwind --enable-secureplt --enable-frame-pointer --enable-debug --with-isl --disable-host-shared --enable-maintainer-mode --disable-default-pie --with-ld64 --without-pic --enable-target-optspace --enable-libstdcxx-debug CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ AUTOCONF=/usr/local/bin/autoconf AUTOHEADER=/usr/local/bin/autoheader AUTORECONF=/usr/local/bin/autoreconf AUTOM4TE=/usr/local/bin/autom4te AUTOSCAN=/usr/local/bin/autoscan AUTOUPDATE=/usr/local/bin/autoupdate IFNAMES=/usr/local/bin/ifnames Thread model: posix gcc version 8.0.0 20170905 (experimental) (GCC) (I was running this bootstrap with the same configure flags as my host compiler)