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