public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/96279] New: build failure: floating_from_chars.cc:310:22: error: '__builtin_isinf_sign' is not a member of 'std'
Date: Wed, 22 Jul 2020 05:12:51 +0000	[thread overview]
Message-ID: <bug-96279-4@http.gcc.gnu.org/bugzilla/> (raw)

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	other threads:[~2020-07-22  5:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22  5:12 zsojka at seznam dot cz [this message]
2020-07-22  8:50 ` [Bug libstdc++/96279] " rguenth at gcc dot gnu.org
2020-07-22  9:42 ` zsojka at seznam dot cz
2020-07-22 10:00 ` redi at gcc dot gnu.org
2020-07-31 12:39 ` zsojka at seznam dot cz
2020-07-31 13:13 ` redi at gcc dot gnu.org
2021-04-19 10:40 ` redi at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-96279-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).