https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107562
Bug ID: 107562 Summary: [13 regression] r13-3761-ga239a63f868e29 breaks build on powerpc64 BE Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:a239a63f868e29e9276088e7c0fb00804c2903ba, r13-3761-ga239a63f868e29 This breaks the build on powerpc64 BE. Just a simple build, not even bootstrap. make[5]: Entering directory `/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/src/c++17' /bin/sh ../../libtool --tag CXX --tag disable-shared --mode=compile /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc -shared-libgcc -B/home/seurer/gcc/git/build/gcc-test/./gcc -nostdinc++ -L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/ -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/../libgcc -I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu -I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++ -std=gnu++17 -nostdinc++ -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=floating_from_chars.lo -fimplicit-templates -g -O2 -D_GNU_SOURCE -c -o floating_from_chars.lo /home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_from_chars.cc libtool: compile: /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc -shared-libgcc -B/home/seurer/gcc/git/build/gcc-test/./gcc -nostdinc++ -L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/bin/ -B/home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/lib/ -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/include -isystem /home/seurer/gcc/git/install/gcc-test/powerpc64-unknown-linux-gnu/sys-include -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/../libgcc -I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu -I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++ -std=gnu++17 -nostdinc++ -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=floating_from_chars.lo -fimplicit-templates -g -O2 -D_GNU_SOURCE -c /home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_from_chars.cc -fPIC -DPIC -D_GLIBCXX_SHARED -o floating_from_chars.o /home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_from_chars.cc:69:3: error: expected initializer before '__asm' 69 | __asm ("strtof128"); | ^~~~~ /home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_from_chars.cc: In function 'std::ptrdiff_t std::{anonymous}::from_chars_impl(const char*, T&, std::errc&)': /home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_from_chars.cc:633:18: error: '__strtof128' was not declared in this scope 633 | if (&__strtof128 == nullptr) | ^~~~~~~~~~~ /home/seurer/gcc/git/gcc-test/libstdc++-v3/src/c++17/floating_from_chars.cc:634:24: error: expected primary-expression before '_Float128' 634 | tmpval = _Float128(std::strtold(str, &endptr); | ^~~~~~~~~ make[5]: *** [floating_from_chars.lo] Error 1 commit e5bcbcd04cfcb2f8635ea8431f4e77065e44b0bd Author: Jakub Jelinek <ja...@redhat.com> Date: Mon Nov 7 15:15:50 2022 +0100 libstdc++: Add _Float128 to_chars/from_chars support for x86, ia64 and ppc64le with glibc