<html aria-label="message body"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><blockquote type="cite"><div>On Jul 1, 2026, at 21:00, Jonathan Wakely <jwakely@redhat.com> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">On Wed, 1 Jul 2026 at 13:59, Richard Earnshaw (foss)</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;"><</span><a href="mailto:Richard.Earnshaw@arm.com" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Richard.Earnshaw@arm.com</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">> wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><br>On 01/07/2026 13:33, Tomasz Kaminski wrote:<br><blockquote type="cite"><br><br>On Wed, Jul 1, 2026 at 2:15 PM Anlai Lu <agicy@qq.com <mailto:agicy@qq.com>> wrote:<br><br> Add __detail::__chrono_write which formats a chrono object into a<br> stack buffer via std::format_to_n with _S_empty_fs(), then writes<br> through __ostream_insert. A non-type template parameter _BufSize<br> (default 128) allows per-type buffer tuning. Each _BufSize is the<br> smallest power of two that accommodates the longest possible formatted<br> output for that type, including error cases. All chrono operator<<<br> overloads that previously used std::format, std::vformat, or<br> basic_stringstream now use this helper.<br><br> libstdc++-v3/ChangeLog:<br><br> * include/bits/chrono_io.h (__formatter_chrono::_S_empty_fs):<br> Make public.<br> (__detail::__chrono_write): New function template.<br> (operator<<): Use __chrono_write consistently for all chrono<br> types.<br><br> Signed-off-by: Anlai Lu <agicy@qq.com <mailto:agicy@qq.com>><br> ---<br> libstdc++-v3/include/bits/chrono_io.h | 244 ++++++--------------------<br> 1 file changed, 52 insertions(+), 192 deletions(-)<br><br>LGTM. Thank you for working on this.<br><br></blockquote><br>I think this is causing:<br><br>/home/rearnsha/gnusrc/gcc-cross/misc-fixes/libstdc++-v3/src/c++20/tzdb.cc: In st<br>atic member function ‘static const std::chrono::tzdb& std::chrono::tzdb_list::_N<br>ode::_S_replace_head(std::shared_ptr<std::chrono::tzdb_list::_Node>, std::shared<br>_ptr<std::chrono::tzdb_list::_Node>)’:<br>/home/rearnsha/gnusrc/gcc-cross/misc-fixes/libstdc++-v3/src/c++20/tzdb.cc:1617:22: error: ‘struct std::chrono::tzdb_list::_Node::NumLeapSeconds’ has no member named ‘set_locked’<br>1617 | num_leap_seconds.set_locked(new_head_ptr->db.leap_seconds.size(), lock);<br> | ^~~~~~~~~~<br>make[9]: *** [Makefile:575: tzdb.lo] Error 1<br><br>when building an arm-eabi cross with newlib.<br></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">That's a different patch (this one isn't committed yet) but I'll take</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">care of it.</span></div></blockquote></div><br><div><div>Right, that build issue turned out to be unrelated. Just checking back on this</div><div>series - patch 1/2 went in with the dg-require cleaned up, and patch 2/2</div><div>has Tomasz's review. Are there any remaining concerns?</div><div><br></div><div>Thanks,</div><div>Anlai</div></div><div><br></div></body></html>