public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/113121] New: <print> failed to load pendings for ‘std::__format::__do_vformat_to’
@ 2023-12-23  9:22 saifi.khan at nishan dot io
  2024-01-18 19:27 ` [Bug c++/113121] " mpolacek at gcc dot gnu.org
  2024-03-06 20:33 ` ppalka at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: saifi.khan at nishan dot io @ 2023-12-23  9:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113121
           Summary: <print> failed to load pendings for
                    ‘std::__format::__do_vformat_to’
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: saifi.khan at nishan dot io
  Target Milestone: ---

built and working with g++ (GCC) 14.0.0 20231222 (experimental).

When I attempt to compile header unit of <print> with the following command

g++ -std=c++23 -v -g3 -fmodules-ts -x c++-system-header print

errors out

/opt/gcc/include/c++/14.0.0/print: In constructor
‘std::basic_format_arg<_Context>::basic_format_arg() [with _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]’:
/opt/gcc/include/c++/14.0.0/print:55:56: error: recursive lazy load
   55 |   vprint_nonunicode(FILE* __stream, string_view __fmt, format_args
__args)
      |                                                        ^~~~~~~~~~~
/opt/gcc/include/c++/14.0.0/print:55:56: fatal error: failed to load pendings
for ‘std::__format::__do_vformat_to’

With an earlier build 20231217, I did not encounter any error while trying to
compile the header unit, instead when i compile test code. Please see

https://gcc.gnu.org/pipermail/gcc-help/2023-December/143109.html

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

* [Bug c++/113121] <print> failed to load pendings for ‘std::__format::__do_vformat_to’
  2023-12-23  9:22 [Bug libstdc++/113121] New: <print> failed to load pendings for ‘std::__format::__do_vformat_to’ saifi.khan at nishan dot io
@ 2024-01-18 19:27 ` mpolacek at gcc dot gnu.org
  2024-03-06 20:33 ` ppalka at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2024-01-18 19:27 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This works for me:

$ xg++ -std=c++23 -g3 -fmodules-ts -x c++-system-header print -c

Can you please retry now?

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

* [Bug c++/113121] <print> failed to load pendings for ‘std::__format::__do_vformat_to’
  2023-12-23  9:22 [Bug libstdc++/113121] New: <print> failed to load pendings for ‘std::__format::__do_vformat_to’ saifi.khan at nishan dot io
  2024-01-18 19:27 ` [Bug c++/113121] " mpolacek at gcc dot gnu.org
@ 2024-03-06 20:33 ` ppalka at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ppalka at gcc dot gnu.org @ 2024-03-06 20:33 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
                 CC|                            |ppalka at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Works for me too.

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

end of thread, other threads:[~2024-03-06 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-23  9:22 [Bug libstdc++/113121] New: <print> failed to load pendings for ‘std::__format::__do_vformat_to’ saifi.khan at nishan dot io
2024-01-18 19:27 ` [Bug c++/113121] " mpolacek at gcc dot gnu.org
2024-03-06 20:33 ` ppalka at gcc dot gnu.org

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