public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/114633] New: [14 Regression] A cross to rx fails to build in libstdc++
Date: Mon, 08 Apr 2024 08:53:50 +0000	[thread overview]
Message-ID: <bug-114633-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 114633
           Summary: [14 Regression] A cross to rx fails to build in
                    libstdc++
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

[  911s] libtool: compile: 
/home/abuild/rpmbuild/BUILD/gcc-14.0.1+git9687/obj-x
86_64-suse-linux/./gcc/xgcc -shared-libgcc
-B/home/abuild/rpmbuild/BUILD/gcc-14.
0.1+git9687/obj-x86_64-suse-linux/./gcc -nostdinc++
-L/home/abuild/rpmbuild/BUIL
D/gcc-14.0.1+git9687/obj-x86_64-suse-linux/rx-elf/libstdc++-v3/src
-L/home/abuil
d/rpmbuild/BUILD/gcc-14.0.1+git9687/obj-x86_64-suse-linux/rx-elf/libstdc++-v3/sr
c/.libs
-L/home/abuild/rpmbuild/BUILD/gcc-14.0.1+git9687/obj-x86_64-suse-linux/r
x-elf/libstdc++-v3/libsupc++/.libs -B/usr/rx-elf/bin/ -B/usr/rx-elf/lib/
-isyste
m /usr/rx-elf/include -isystem /usr/rx-elf/sys-include
--sysroot=/usr/rx-elf/sys
-root -I/home/abuild/rpmbuild/BUILD/gcc-14.0.1+git9687/libstdc++-v3/../libgcc
-I
/home/abuild/rpmbuild/BUILD/gcc-14.0.1+git9687/obj-x86_64-suse-linux/rx-elf/libs
tdc++-v3/include/rx-elf
-I/home/abuild/rpmbuild/BUILD/gcc-14.0.1+git9687/obj-x86
_64-suse-linux/rx-elf/libstdc++-v3/include
-I/home/abuild/rpmbuild/BUILD/gcc-14.
0.1+git9687/libstdc++-v3/libsupc++ -std=gnu++20 -fno-implicit-templates -Wall
-W
extra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once
-fran
dom-seed=tzdb.lo -fimplicit-templates -g -O2 -c
../../../../../libstdc++-v3/src/
c++20/tzdb.cc -o tzdb.o
[  911s] In file included from
/home/abuild/rpmbuild/BUILD/gcc-14.0.1+git9687/ob
j-x86_64-suse-linux/rx-elf/libstdc++-v3/include/chrono:3360,
[  911s]                  from
../../../../../libstdc++-v3/src/c++20/tzdb.cc:31:
[  911s]
/home/abuild/rpmbuild/BUILD/gcc-14.0.1+git9687/obj-x86_64-suse-linux/rx
-elf/libstdc++-v3/include/bits/chrono_io.h: In member function
'std::basic_istre
am<_CharT2, _Traits2>&
std::chrono::__detail::_Parser<_Duration>::operator()(std
::basic_istream<_CharT2, _Traits2>&, const _CharT*,
std::__cxx11::basic_string<_
CharT2, _Traits2, _Alloc>*, std::chrono::minutes*)':
[  911s]
/home/abuild/rpmbuild/BUILD/gcc-14.0.1+git9687/obj-x86_64-suse-linux/rx
-elf/libstdc++-v3/include/bits/chrono_io.h:3692:59: error: no matching function 
for call to 'from_chars(char*&, char*&, long double&, std::chars_format)'
[  911s]  3692 |                           auto [ptr, ec] =
std::from_chars(__fi
rst, __last,
[  911s]       |                                           
~~~~~~~~~~~~~~~^~~~~
~~~~~~~~~~~~
[  911s]  3693 |                                                           
__va
l, fixed);
[  911s]       |                                                           
~~~~
~~~~~~~~~


This is building with

../configure 'CFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -g' 'CXXFLAGS= -O2 -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g'
'XCFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -g' 'TCFLAGS= -O2 -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g'
'GDCFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -g' --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++ --enable-checking=release --disable-werror
--with-gxx-include-dir=/usr/include/c++/14
--with-libstdcxx-zoneinfo=/usr/share/zoneinfo --enable-ssp --disable-libssp
--disable-libvtv --enable-cet=auto --disable-libcc1 --disable-plugin
--with-bugurl=https://bugs.opensuse.org/ '--with-pkgversion=SUSE Linux'
--with-slibdir=/usr/rx-elf/sys-root/lib64 --with-system-zlib
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --with-gcc-major-version-only
--enable-linux-futex --enable-gnu-indirect-function --program-suffix=-14
--program-prefix=rx-elf- --target=rx-elf --disable-nls
--with-sysroot=/usr/rx-elf/sys-root --with-build-sysroot=/usr/rx-elf/sys-root
--with-build-time-tools=/usr/rx-elf/bin --with-newlib --disable-bootstrap
--enable-link-serialization --disable-libsanitizer --build=x86_64-suse-linux
--host=x86_64-suse-linux

against newlib 4.3.0.20230120

             reply	other threads:[~2024-04-08  8:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08  8:53 rguenth at gcc dot gnu.org [this message]
2024-04-08  8:54 ` [Bug libstdc++/114633] " rguenth at gcc dot gnu.org
2024-04-08 10:15 ` redi at gcc dot gnu.org
2024-04-08 11:21 ` rguenth at gcc dot gnu.org
2024-04-09 23:22 ` cvs-commit at gcc dot gnu.org
2024-04-09 23:23 ` 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-114633-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).