From: Andreas Schwab <schwab@suse.de>
To: Joseph Myers <joseph@codesourcery.com>
Cc: <libc-alpha@sourceware.org>, jakub@redhat.com
Subject: Re: Update _FloatN header support for C++ in GCC 13
Date: Thu, 29 Sep 2022 13:49:10 +0200 [thread overview]
Message-ID: <mvmh70qieo9.fsf@suse.de> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2209280022150.425621@digraph.polyomino.org.uk> (Joseph Myers's message of "Wed, 28 Sep 2022 00:23:31 +0000")
That appears to create a bootstrap problem:
https://build.opensuse.org/package/live_build_log/devel:gcc:next/gcc13/openSUSE_Factory_zSystems/s390x
make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/gcc-13.0.0+git195654/obj-s390x-suse-linux/libcody'
g++ -std=c++11 -g -O2 -fPIC -fno-exceptions -fno-rtti -include config.h -I../../libcody \
-MMD -MP -MF buffer.d -c -o buffer.o ../../libcody/buffer.cc
In file included from /usr/include/c++/13/cwchar:44,
from /usr/include/c++/13/bits/postypes.h:40,
from /usr/include/c++/13/iosfwd:40,
from /usr/include/c++/13/bits/shared_ptr.h:52,
from /usr/include/c++/13/memory:77,
from ../../libcody/cody.hh:24,
from ../../libcody/internal.hh:5,
from ../../libcody/buffer.cc:6:
/usr/include/wchar.h:397:8: error: '_Float32' does not name a type
397 | extern _Float32 wcstof32 (const wchar_t *__restrict __nptr,
| ^~~~~~~~
/usr/include/wchar.h:402:8: error: '_Float64' does not name a type
402 | extern _Float64 wcstof64 (const wchar_t *__restrict __nptr,
| ^~~~~~~~
/usr/include/wchar.h:407:8: error: '_Float128' does not name a type
407 | extern _Float128 wcstof128 (const wchar_t *__restrict __nptr,
| ^~~~~~~~~
/usr/include/wchar.h:412:8: error: '_Float32x' does not name a type
412 | extern _Float32x wcstof32x (const wchar_t *__restrict __nptr,
| ^~~~~~~~~
/usr/include/wchar.h:417:8: error: '_Float64x' does not name a type
417 | extern _Float64x wcstof64x (const wchar_t *__restrict __nptr,
| ^~~~~~~~~
/usr/include/wchar.h:512:8: error: '_Float32' does not name a type
512 | extern _Float32 wcstof32_l (const wchar_t *__restrict __nptr,
| ^~~~~~~~
/usr/include/wchar.h:518:8: error: '_Float64' does not name a type
518 | extern _Float64 wcstof64_l (const wchar_t *__restrict __nptr,
| ^~~~~~~~
/usr/include/wchar.h:524:8: error: '_Float128' does not name a type
524 | extern _Float128 wcstof128_l (const wchar_t *__restrict __nptr,
| ^~~~~~~~~
/usr/include/wchar.h:530:8: error: '_Float32x' does not name a type
530 | extern _Float32x wcstof32x_l (const wchar_t *__restrict __nptr,
| ^~~~~~~~~
/usr/include/wchar.h:536:8: error: '_Float64x' does not name a type
536 | extern _Float64x wcstof64x_l (const wchar_t *__restrict __nptr,
| ^~~~~~~~~
In file included from /usr/include/c++/13/cstdlib:75,
from /usr/include/c++/13/ext/string_conversions.h:41,
from /usr/include/c++/13/bits/basic_string.h:4040,
from /usr/include/c++/13/string:52,
from ../../libcody/cody.hh:25:
/usr/include/stdlib.h:141:8: error: '_Float32' does not name a type
141 | extern _Float32 strtof32 (const char *__restrict __nptr,
| ^~~~~~~~
/usr/include/stdlib.h:147:8: error: '_Float64' does not name a type
147 | extern _Float64 strtof64 (const char *__restrict __nptr,
| ^~~~~~~~
/usr/include/stdlib.h:153:8: error: '_Float128' does not name a type
153 | extern _Float128 strtof128 (const char *__restrict __nptr,
| ^~~~~~~~~
/usr/include/stdlib.h:159:8: error: '_Float32x' does not name a type
159 | extern _Float32x strtof32x (const char *__restrict __nptr,
| ^~~~~~~~~
/usr/include/stdlib.h:165:8: error: '_Float64x' does not name a type
165 | extern _Float64x strtof64x (const char *__restrict __nptr,
| ^~~~~~~~~
/usr/include/stdlib.h:234:24: error: '_Float32' has not been declared
234 | _Float32 __f)
| ^~~~~~~~
/usr/include/stdlib.h:240:24: error: '_Float64' has not been declared
240 | _Float64 __f)
| ^~~~~~~~
/usr/include/stdlib.h:246:25: error: '_Float128' has not been declared
246 | _Float128 __f)
| ^~~~~~~~~
/usr/include/stdlib.h:252:25: error: '_Float32x' has not been declared
252 | _Float32x __f)
| ^~~~~~~~~
/usr/include/stdlib.h:258:25: error: '_Float64x' has not been declared
258 | _Float64x __f)
| ^~~~~~~~~
/usr/include/stdlib.h:317:8: error: '_Float32' does not name a type
317 | extern _Float32 strtof32_l (const char *__restrict __nptr,
| ^~~~~~~~
/usr/include/stdlib.h:324:8: error: '_Float64' does not name a type
324 | extern _Float64 strtof64_l (const char *__restrict __nptr,
| ^~~~~~~~
/usr/include/stdlib.h:331:8: error: '_Float128' does not name a type
331 | extern _Float128 strtof128_l (const char *__restrict __nptr,
| ^~~~~~~~~
/usr/include/stdlib.h:338:8: error: '_Float32x' does not name a type
338 | extern _Float32x strtof32x_l (const char *__restrict __nptr,
| ^~~~~~~~~
/usr/include/stdlib.h:345:8: error: '_Float64x' does not name a type
345 | extern _Float64x strtof64x_l (const char *__restrict __nptr,
| ^~~~~~~~~
make[3]: *** [Makefile:57: buffer.o] Error 1
make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/gcc-13.0.0+git195654/obj-s390x-suse-linux/libcody'
make[2]: *** [Makefile:10323: all-stage1-libcody] Error 2
The bootstrap compiler is gcc13-13.0.0+git195356, and glibc is
2.36.9000.155.g3e5760fcb4
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2022-09-29 11:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 0:23 Joseph Myers
2022-09-28 18:28 ` Jakub Jelinek
2022-09-29 11:49 ` Andreas Schwab [this message]
2022-09-29 15:12 ` Andreas Schwab
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=mvmh70qieo9.fsf@suse.de \
--to=schwab@suse.de \
--cc=jakub@redhat.com \
--cc=joseph@codesourcery.com \
--cc=libc-alpha@sourceware.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).