https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96279

            Bug ID: 96279
           Summary: build failure: floating_from_chars.cc:310:22: error:
                    '__builtin_isinf_sign' is not a member of 'std'
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: powerpc-unknown-linux-gnu

Recently the gcc build started failing; configured with:

--enable-languages=c,c++ --enable-valgrind-annotations --disable-nls
--enable-checking=yes,rtl,df,extra --with-cloog --with-ppl --with-isl
--with-sysroot=/usr/powerpc-unknown-linux-gnu --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=powerpc-unknown-linux-gnu
--with-ld=/usr/bin/powerpc-unknown-linux-gnu-ld
--with-as=/usr/bin/powerpc-unknown-linux-gnu-as --disable-libstdcxx-pch

fails with:
libtool: compile:  /repo/build-gcc-trunk-powerpc/./gcc/xgcc -shared-libgcc
-B/repo/build-gcc-trunk-powerpc/./gcc -nostdinc++
-L/repo/build-gcc-trunk-powerpc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/src
-L/repo/build-gcc-trunk-powerpc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/src/.libs
-L/repo/build-gcc-trunk-powerpc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/libsupc++/.libs
-B/repo/gcc-trunk//binary-trunk-r11-2261-20200722034646-gfb1de6a8543-checking-yes-rtl-df-extra-powerpc/powerpc-unknown-linux-gnu/bin/
-B/repo/gcc-trunk//binary-trunk-r11-2261-20200722034646-gfb1de6a8543-checking-yes-rtl-df-extra-powerpc/powerpc-unknown-linux-gnu/lib/
-isystem
/repo/gcc-trunk//binary-trunk-r11-2261-20200722034646-gfb1de6a8543-checking-yes-rtl-df-extra-powerpc/powerpc-unknown-linux-gnu/include
-isystem
/repo/gcc-trunk//binary-trunk-r11-2261-20200722034646-gfb1de6a8543-checking-yes-rtl-df-extra-powerpc/powerpc-unknown-linux-gnu/sys-include
-msoft-float -fPIC -mstrict-align -I/repo/gcc-trunk/libstdc++-v3/../libgcc
-I/repo/build-gcc-trunk-powerpc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include/powerpc-unknown-linux-gnu
-I/repo/build-gcc-trunk-powerpc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include
-I/repo/gcc-trunk/libstdc++-v3/libsupc++ -std=gnu++17 -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
-msoft-float -fPIC -mstrict-align -c
/repo/gcc-trunk/libstdc++-v3/src/c++17/floating_from_chars.cc  -fPIC -DPIC
-D_GLIBCXX_SHARED -o floating_from_chars.o
In file included from
/repo/build-gcc-trunk-powerpc/powerpc-unknown-linux-gnu/nof/libstdc++-v3/include/cmath:45,
                 from
/repo/gcc-trunk/libstdc++-v3/src/c++17/floating_from_chars.cc:33:
/repo/gcc-trunk/libstdc++-v3/src/c++17/floating_from_chars.cc: In function
'std::ptrdiff_t std::{anonymous}::from_chars_impl(const char*, T&,
std::errc&)':
/repo/gcc-trunk/libstdc++-v3/src/c++17/floating_from_chars.cc:310:22: error:
'__builtin_isinf_sign' is not a member of 'std'; did you mean
'__builtin_isinf_sign'?
  310 |             if (std::isinf(tmpval)) // overflow
      |                      ^~~~~
<built-in>: note: '__builtin_isinf_sign' declared here
make[9]: *** [Makefile:572: floating_from_chars.lo] Error 1

Reply via email to