public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* Build-break in libstdc++-v3 at r14-1442-ge1240bda3e0bb1 for non-float128 targets
@ 2023-05-31 15:28 Hans-Peter Nilsson
  2023-05-31 15:32 ` Jonathan Wakely
  0 siblings, 1 reply; 4+ messages in thread
From: Hans-Peter Nilsson @ 2023-05-31 15:28 UTC (permalink / raw)
  To: jwakely; +Cc: gcc-patches, libstdc++

Since I don't see a quick fix at r14-1444-g3f4853a5f00fab, I
thought I'd better notify the author (I have written authors
if there was more than one ;-) of suspect commits in the
range r14-1425-g80ee7d02e8db48..e1240bda3e0b for the
build-break at r14-1442-ge1240bda3e0bb1 for cris-elf, where
I get:

/x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:47: error: '_Float128' is not supported on this target
 1330 | from_chars(const char* first, const char* last, _Float128& value,
      |                                               ^
/x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:49: error: expected identifier before '_Float128'
 1330 | from_chars(const char* first, const char* last, _Float128& value,
      |                                                 ^~~~~~~~~
/x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:49: error: '_Float128' is not supported on this target
/x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:49: error: expected ',' or '...' before '_Float128'
/x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc: In function 'std::from_chars_result std::from_chars(const char*, const char*, int)':
/x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1340:53: error: 'fmt' was not declared in this scope; did you mean 'fma'?
 1340 |   auto res = std::from_chars(first, last, ldbl_val, fmt);
      |                                                     ^~~
      |                                                     fma
/x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1342:5: error: 'value' was not declared in this scope
 1342 |     value = ldbl_val;
      |     ^~~~~
make[5]: *** [Makefile:587: floating_from_chars.lo] Error 1

brgds, H-P

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build-break in libstdc++-v3 at r14-1442-ge1240bda3e0bb1 for non-float128 targets
  2023-05-31 15:28 Build-break in libstdc++-v3 at r14-1442-ge1240bda3e0bb1 for non-float128 targets Hans-Peter Nilsson
@ 2023-05-31 15:32 ` Jonathan Wakely
  2023-05-31 20:06   ` Jonathan Wakely
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Wakely @ 2023-05-31 15:32 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: gcc-patches, libstdc++

[-- Attachment #1: Type: text/plain, Size: 1907 bytes --]

On Wed, 31 May 2023 at 16:29, Hans-Peter Nilsson via Libstdc++ <
libstdc++@gcc.gnu.org> wrote:

> Since I don't see a quick fix at r14-1444-g3f4853a5f00fab, I
> thought I'd better notify the author (I have written authors
> if there was more than one ;-) of suspect commits in the
> range r14-1425-g80ee7d02e8db48..e1240bda3e0b for the
> build-break at r14-1442-ge1240bda3e0bb1 for cris-elf, where
> I get:
>
> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:47: error:
> '_Float128' is not supported on this target
>  1330 | from_chars(const char* first, const char* last, _Float128& value,
>       |                                               ^
>

Sorry, I'll fix or revert it today.



> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:49: error:
> expected identifier before '_Float128'
>  1330 | from_chars(const char* first, const char* last, _Float128& value,
>       |                                                 ^~~~~~~~~
> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:49: error:
> '_Float128' is not supported on this target
> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:49: error:
> expected ',' or '...' before '_Float128'
> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc: In function
> 'std::from_chars_result std::from_chars(const char*, const char*, int)':
> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1340:53: error: 'fmt'
> was not declared in this scope; did you mean 'fma'?
>  1340 |   auto res = std::from_chars(first, last, ldbl_val, fmt);
>       |                                                     ^~~
>       |                                                     fma
> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1342:5: error:
> 'value' was not declared in this scope
>  1342 |     value = ldbl_val;
>       |     ^~~~~
> make[5]: *** [Makefile:587: floating_from_chars.lo] Error 1
>
> brgds, H-P
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build-break in libstdc++-v3 at r14-1442-ge1240bda3e0bb1 for non-float128 targets
  2023-05-31 15:32 ` Jonathan Wakely
@ 2023-05-31 20:06   ` Jonathan Wakely
  2023-06-01  4:21     ` Hans-Peter Nilsson
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Wakely @ 2023-05-31 20:06 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: gcc-patches, libstdc++

[-- Attachment #1: Type: text/plain, Size: 2084 bytes --]

On Wed, 31 May 2023 at 16:32, Jonathan Wakely <jwakely@redhat.com> wrote:

>
>
> On Wed, 31 May 2023 at 16:29, Hans-Peter Nilsson via Libstdc++ <
> libstdc++@gcc.gnu.org> wrote:
>
>> Since I don't see a quick fix at r14-1444-g3f4853a5f00fab, I
>> thought I'd better notify the author (I have written authors
>> if there was more than one ;-) of suspect commits in the
>> range r14-1425-g80ee7d02e8db48..e1240bda3e0b for the
>> build-break at r14-1442-ge1240bda3e0bb1 for cris-elf, where
>> I get:
>>
>> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:47: error:
>> '_Float128' is not supported on this target
>>  1330 | from_chars(const char* first, const char* last, _Float128& value,
>>       |                                               ^
>>
>
> Sorry, I'll fix or revert it today.
>

It should be fixed at  r14-1451-ga239a35075ffd8


>
>
>> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:49: error:
>> expected identifier before '_Float128'
>>  1330 | from_chars(const char* first, const char* last, _Float128& value,
>>       |                                                 ^~~~~~~~~
>> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:49: error:
>> '_Float128' is not supported on this target
>> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:49: error:
>> expected ',' or '...' before '_Float128'
>> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc: In function
>> 'std::from_chars_result std::from_chars(const char*, const char*, int)':
>> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1340:53: error:
>> 'fmt' was not declared in this scope; did you mean 'fma'?
>>  1340 |   auto res = std::from_chars(first, last, ldbl_val, fmt);
>>       |                                                     ^~~
>>       |                                                     fma
>> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1342:5: error:
>> 'value' was not declared in this scope
>>  1342 |     value = ldbl_val;
>>       |     ^~~~~
>> make[5]: *** [Makefile:587: floating_from_chars.lo] Error 1
>>
>> brgds, H-P
>>
>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build-break in libstdc++-v3 at r14-1442-ge1240bda3e0bb1 for non-float128 targets
  2023-05-31 20:06   ` Jonathan Wakely
@ 2023-06-01  4:21     ` Hans-Peter Nilsson
  0 siblings, 0 replies; 4+ messages in thread
From: Hans-Peter Nilsson @ 2023-06-01  4:21 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: gcc-patches, libstdc++

> From: Jonathan Wakely <jwakely@redhat.com>
> Date: Wed, 31 May 2023 21:06:16 +0100
> On Wed, 31 May 2023 at 16:32, Jonathan Wakely <jwakely@redhat.com> wrote:
> > On Wed, 31 May 2023 at 16:29, Hans-Peter Nilsson via Libstdc++ <
> > libstdc++@gcc.gnu.org> wrote:
> >
> >> Since I don't see a quick fix at r14-1444-g3f4853a5f00fab, I
> >> thought I'd better notify the author (I have written authors
> >> if there was more than one ;-) of suspect commits in the
> >> range r14-1425-g80ee7d02e8db48..e1240bda3e0b for the
> >> build-break at r14-1442-ge1240bda3e0bb1 for cris-elf, where
> >> I get:
> >>
> >> /x/gcc/libstdc++-v3/src/c++17/floating_from_chars.cc:1330:47: error:
> >> '_Float128' is not supported on this target
> >>  1330 | from_chars(const char* first, const char* last, _Float128& value,
> >>       |                                               ^
> >>
> >
> > Sorry, I'll fix or revert it today.
> >
> 
> It should be fixed at  r14-1451-ga239a35075ffd8

JFTR: confirmed at r14-1451-ga239a35075ffd8, thanks!

brgds, H-P

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-01  4:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-31 15:28 Build-break in libstdc++-v3 at r14-1442-ge1240bda3e0bb1 for non-float128 targets Hans-Peter Nilsson
2023-05-31 15:32 ` Jonathan Wakely
2023-05-31 20:06   ` Jonathan Wakely
2023-06-01  4:21     ` Hans-Peter Nilsson

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).