https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107860
Bug ID: 107860 Summary: Compilation failure, ambiguous fisttp Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: simon at pushface dot org Target Milestone: --- Building the snapshot gcc-13-20221120 on macOS 13 (actually an aarch64 machine, but using x86_64-apple-darwin21 compiler under Rosetta) with Command Line Tools 14.1. Source patched as commit ac50541 for PR107781. Phase 1 (actually configured with --disable-bootstrap) fails with this (I was building with -j7, so had to extract the relevant parts of the log: checking __sync extensions... /Volumes/Miscellaneous1/x86_64/gcc-13-20221120/gcc/./gcc/xgcc -B/Volumes/Miscellaneous1/x86_64/gcc-13-20221120/gcc/./gcc/ -B/opt/gcc-13-20221120/x86_64-apple-darwin21/bin/ -B/opt/gcc-13-20221120/x86_64-apple-darwin21/lib/ -isystem /opt/gcc-13-20221120/x86_64-apple-darwin21/include -isystem /opt/gcc-13-20221120/x86_64-apple-darwin21/sys-include --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -c -g -O2 -fno-common -W -Wall -gnatpg -nostdinc -fno-toplevel-reorder \ g-debpoo.adb -o g-debpoo.o ... /var/folders/ch/k_zwspdx3qsfbt1_x21zld6m0000gn/T//ccJJp5X6.s:11992:2: error: ambiguous instructions require an explicit suffix (could be 'fisttps', or 'fisttpl') fisttp -408(%rbp) ^ /var/folders/ch/k_zwspdx3qsfbt1_x21zld6m0000gn/T//ccJJp5X6.s:12278:2: error: ambiguous instructions require an explicit suffix (could be 'fisttps', or 'fisttpl') fisttp -408(%rbp) ^ ... make[6]: *** [g-debpoo.o] Error 1 Configure script (BUILD set to x86_64-apple-darwin21): +++++++++++++++ XCODE=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk CLU=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk $GCC_SRC/configure \ --prefix=$PREFIX \ --without-libiconv-prefix \ --disable-libmudflap \ --disable-libstdcxx-pch \ --disable-libsanitizer \ --disable-libcc1 \ --disable-libcilkrts \ --disable-multilib \ --disable-nls \ --enable-languages=c,c++,ada \ --host=$BUILD \ --target=$BUILD \ --build=$BUILD \ --without-isl \ --with-build-sysroot="$(xcrun --show-sdk-path)" \ --with-sysroot= \ --with-specs="%{!sysroot=*:--sysroot=%:if-exists-else($XCODE $CLU)}" \ --with-build-config=no \ --disable-bootstrap \ CFLAGS=-Wno-deprecated-declarations \ CXXFLAGS=-Wno-deprecated-declarations +++++++++++