public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/108221] New: Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc
@ 2022-12-25  9:58 jdx at o2 dot pl
  2022-12-27  9:55 ` [Bug libstdc++/108221] " marxin at gcc dot gnu.org
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: jdx at o2 dot pl @ 2022-12-25  9:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108221
           Summary: Building cross compiler for H8 family fails at
                    libstdc++-v3/src/c++20/tzdb.cc
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jdx at o2 dot pl
  Target Milestone: ---
              Host: x86_64-w64-mingw32
            Target: h8300-elf
             Build: x86_64-w64-mingw32

I get following message when I try to build master (339db340):

Making all in c++20
make[5]: Entering directory
'/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/src/c++20'
/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile
/d/Works/xcomp/gcc-build/./gcc/xgcc -shared-libgcc
-B/d/Works/xcomp/gcc-build/./gcc -nostdinc++
-L/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/src
-L/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/src/.libs
-L/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/libsupc++/.libs
-B/usr/local/h8300-elf/bin/ -B/usr/local/h8300-elf/lib/ -isystem
/usr/local/h8300-elf/include -isystem /usr/local/h8300-elf/sys-include   
-I/d/Works/gcc/libstdc++-v3/../libgcc
-I/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/h8300-elf
-I/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include
-I/d/Works/gcc/libstdc++-v3/libsupc++   -std=gnu++20   -fno-implicit-templates 
-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 
-fdiagnostics-show-location=once   -ffunction-sections -fdata-sections 
-frandom-seed=tzdb.lo  -fimplicit-templates -isystem
/d/Works/xcomp/sysroot/h8300-elf/include  -c -o tzdb.lo
../../../../../../gcc/libstdc++-v3/src/c++20/tzdb.cc
libtool: compile:  /d/Works/xcomp/gcc-build/./gcc/xgcc -shared-libgcc
-B/d/Works/xcomp/gcc-build/./gcc -nostdinc++
-L/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/src
-L/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/src/.libs
-L/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/libsupc++/.libs
-B/usr/local/h8300-elf/bin/ -B/usr/local/h8300-elf/lib/ -isystem
/usr/local/h8300-elf/include -isystem /usr/local/h8300-elf/sys-include
-I/d/Works/gcc/libstdc++-v3/../libgcc
-I/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/h8300-elf
-I/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include
-I/d/Works/gcc/libstdc++-v3/libsupc++ -std=gnu++20 -fno-implicit-templates
-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-frandom-seed=tzdb.lo -fimplicit-templates -isystem
/d/Works/xcomp/sysroot/h8300-elf/include -c
../../../../../../gcc/libstdc++-v3/src/c++20/tzdb.cc -o tzdb.o
In file included from
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/bits/chrono_io.h:39,
                 from
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/chrono:3321,
                 from d:\works\gcc\libstdc++-v3\src\c++20\tzdb.cc:28:
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format: In
instantiation of
'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>,
wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:42&)> [with auto:42 =
float]':
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3038:44:  
required from 'decltype(auto)
std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t)
[with _Visitor =
std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>,
wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3082:28:  
required from 'decltype(auto) std::visit_format_arg(_Visitor&&,
basic_format_arg<_Context>) [with _Visitor =
__format::_Formatting_scanner<__format::_Sink_iter<wchar_t>,
wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3533:23:  
required from 'void std::__format::_Formatting_scanner<_Out,
_CharT>::_M_format_arg(std::size_t) [with _Out =
std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; std::size_t = long
unsigned int]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3528:7:  
required from here
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: error:
static assertion failed
 3547 |             static_assert(__format::__formattable_with<_Type,
_Context>);
      |                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: note:
constraints not satisfied
In file included from
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/bits/chrono.h:43,
                 from
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/chrono:41:
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:152:13:  
required for the satisfaction of 'constructible_from<_Tp, _Tp>' [with _Tp =
std::formatter<float, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:166:13:  
required for the satisfaction of 'move_constructible<_Tp>' [with _Tp =
std::formatter<float, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:171:13:  
required for the satisfaction of 'copy_constructible<_Tp>' [with _Tp =
std::formatter<float, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:267:13:  
required for the satisfaction of 'copyable<_Tp>' [with _Tp =
std::formatter<float, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:272:13:  
required for the satisfaction of 'semiregular<_Formatter>' [with _Formatter =
std::formatter<float, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:153:30: note:
the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp =
std::formatter<float, wchar_t>; _Args = {std::formatter<float, wchar_t>}]'
evaluated to 'false'
  153 |       = destructible<_Tp> && is_constructible_v<_Tp, _Args...>;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format: In
instantiation of
'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>,
wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:42&)> [with auto:42 =
double]':
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3040:44:  
required from 'decltype(auto)
std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t)
[with _Visitor =
std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>,
wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3082:28:  
required from 'decltype(auto) std::visit_format_arg(_Visitor&&,
basic_format_arg<_Context>) [with _Visitor =
__format::_Formatting_scanner<__format::_Sink_iter<wchar_t>,
wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3533:23:  
required from 'void std::__format::_Formatting_scanner<_Out,
_CharT>::_M_format_arg(std::size_t) [with _Out =
std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; std::size_t = long
unsigned int]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3528:7:  
required from here
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: error:
static assertion failed
 3547 |             static_assert(__format::__formattable_with<_Type,
_Context>);
      |                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: note:
constraints not satisfied
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:152:13:  
required for the satisfaction of 'constructible_from<_Tp, _Tp>' [with _Tp =
std::formatter<double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:166:13:  
required for the satisfaction of 'move_constructible<_Tp>' [with _Tp =
std::formatter<double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:171:13:  
required for the satisfaction of 'copy_constructible<_Tp>' [with _Tp =
std::formatter<double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:267:13:  
required for the satisfaction of 'copyable<_Tp>' [with _Tp =
std::formatter<double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:272:13:  
required for the satisfaction of 'semiregular<_Formatter>' [with _Formatter =
std::formatter<double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:153:30: note:
the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp =
std::formatter<double, wchar_t>; _Args = {std::formatter<double, wchar_t>}]'
evaluated to 'false'
  153 |       = destructible<_Tp> && is_constructible_v<_Tp, _Args...>;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format: In
instantiation of
'std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>,
wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:42&)> [with auto:42 = long
double]':
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3043:44:  
required from 'decltype(auto)
std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t)
[with _Visitor =
std::__format::_Formatting_scanner<std::__format::_Sink_iter<wchar_t>,
wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
std::basic_format_context<std::__format::_Sink_iter<wchar_t>, wchar_t>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3082:28:  
required from 'decltype(auto) std::visit_format_arg(_Visitor&&,
basic_format_arg<_Context>) [with _Visitor =
__format::_Formatting_scanner<__format::_Sink_iter<wchar_t>,
wchar_t>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
basic_format_context<__format::_Sink_iter<wchar_t>, wchar_t>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3533:23:  
required from 'void std::__format::_Formatting_scanner<_Out,
_CharT>::_M_format_arg(std::size_t) [with _Out =
std::__format::_Sink_iter<wchar_t>; _CharT = wchar_t; std::size_t = long
unsigned int]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3528:7:  
required from here
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: error:
static assertion failed
 3547 |             static_assert(__format::__formattable_with<_Type,
_Context>);
      |                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: note:
constraints not satisfied
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:152:13:  
required for the satisfaction of 'constructible_from<_Tp, _Tp>' [with _Tp =
std::formatter<long double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:166:13:  
required for the satisfaction of 'move_constructible<_Tp>' [with _Tp =
std::formatter<long double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:171:13:  
required for the satisfaction of 'copy_constructible<_Tp>' [with _Tp =
std::formatter<long double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:267:13:  
required for the satisfaction of 'copyable<_Tp>' [with _Tp =
std::formatter<long double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:272:13:  
required for the satisfaction of 'semiregular<_Formatter>' [with _Formatter =
std::formatter<long double, wchar_t>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:153:30: note:
the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp =
std::formatter<long double, wchar_t>; _Args = {std::formatter<long double,
wchar_t>}]' evaluated to 'false'
  153 |       = destructible<_Tp> && is_constructible_v<_Tp, _Args...>;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format: In
instantiation of
'std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>,
char>::_M_format_arg(std::size_t)::<lambda(auto:42&)> [with auto:42 = float]':
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3038:44:  
required from 'decltype(auto)
std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t)
[with _Visitor =
std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>,
char>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3082:28:  
required from 'decltype(auto) std::visit_format_arg(_Visitor&&,
basic_format_arg<_Context>) [with _Visitor =
__format::_Formatting_scanner<__format::_Sink_iter<char>,
char>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
basic_format_context<__format::_Sink_iter<char>, char>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3533:23:  
required from 'void std::__format::_Formatting_scanner<_Out,
_CharT>::_M_format_arg(std::size_t) [with _Out =
std::__format::_Sink_iter<char>; _CharT = char; std::size_t = long unsigned
int]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3528:7:  
required from here
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: error:
static assertion failed
 3547 |             static_assert(__format::__formattable_with<_Type,
_Context>);
      |                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: note:
constraints not satisfied
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:152:13:  
required for the satisfaction of 'constructible_from<_Tp, _Tp>' [with _Tp =
std::formatter<float, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:166:13:  
required for the satisfaction of 'move_constructible<_Tp>' [with _Tp =
std::formatter<float, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:171:13:  
required for the satisfaction of 'copy_constructible<_Tp>' [with _Tp =
std::formatter<float, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:267:13:  
required for the satisfaction of 'copyable<_Tp>' [with _Tp =
std::formatter<float, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:272:13:  
required for the satisfaction of 'semiregular<_Formatter>' [with _Formatter =
std::formatter<float, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:153:30: note:
the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp =
std::formatter<float, char>; _Args = {std::formatter<float, char>}]' evaluated
to 'false'
  153 |       = destructible<_Tp> && is_constructible_v<_Tp, _Args...>;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format: In
instantiation of
'std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>,
char>::_M_format_arg(std::size_t)::<lambda(auto:42&)> [with auto:42 = double]':
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3040:44:  
required from 'decltype(auto)
std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t)
[with _Visitor =
std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>,
char>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3082:28:  
required from 'decltype(auto) std::visit_format_arg(_Visitor&&,
basic_format_arg<_Context>) [with _Visitor =
__format::_Formatting_scanner<__format::_Sink_iter<char>,
char>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
basic_format_context<__format::_Sink_iter<char>, char>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3533:23:  
required from 'void std::__format::_Formatting_scanner<_Out,
_CharT>::_M_format_arg(std::size_t) [with _Out =
std::__format::_Sink_iter<char>; _CharT = char; std::size_t = long unsigned
int]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3528:7:  
required from here
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: error:
static assertion failed
 3547 |             static_assert(__format::__formattable_with<_Type,
_Context>);
      |                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: note:
constraints not satisfied
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:152:13:  
required for the satisfaction of 'constructible_from<_Tp, _Tp>' [with _Tp =
std::formatter<double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:166:13:  
required for the satisfaction of 'move_constructible<_Tp>' [with _Tp =
std::formatter<double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:171:13:  
required for the satisfaction of 'copy_constructible<_Tp>' [with _Tp =
std::formatter<double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:267:13:  
required for the satisfaction of 'copyable<_Tp>' [with _Tp =
std::formatter<double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:272:13:  
required for the satisfaction of 'semiregular<_Formatter>' [with _Formatter =
std::formatter<double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:153:30: note:
the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp =
std::formatter<double, char>; _Args = {std::formatter<double, char>}]'
evaluated to 'false'
  153 |       = destructible<_Tp> && is_constructible_v<_Tp, _Args...>;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format: In
instantiation of
'std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>,
char>::_M_format_arg(std::size_t)::<lambda(auto:42&)> [with auto:42 = long
double]':
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3043:44:  
required from 'decltype(auto)
std::basic_format_arg<_Context>::_M_visit(_Visitor&&, std::__format::_Arg_t)
[with _Visitor =
std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>,
char>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
std::basic_format_context<std::__format::_Sink_iter<char>, char>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3082:28:  
required from 'decltype(auto) std::visit_format_arg(_Visitor&&,
basic_format_arg<_Context>) [with _Visitor =
__format::_Formatting_scanner<__format::_Sink_iter<char>,
char>::_M_format_arg(std::size_t)::<lambda(auto:42&)>; _Context =
basic_format_context<__format::_Sink_iter<char>, char>]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3533:23:  
required from 'void std::__format::_Formatting_scanner<_Out,
_CharT>::_M_format_arg(std::size_t) [with _Out =
std::__format::_Sink_iter<char>; _CharT = char; std::size_t = long unsigned
int]'
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3528:7:  
required from here
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: error:
static assertion failed
 3547 |             static_assert(__format::__formattable_with<_Type,
_Context>);
      |                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/format:3547:37: note:
constraints not satisfied
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:152:13:  
required for the satisfaction of 'constructible_from<_Tp, _Tp>' [with _Tp =
std::formatter<long double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:166:13:  
required for the satisfaction of 'move_constructible<_Tp>' [with _Tp =
std::formatter<long double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:171:13:  
required for the satisfaction of 'copy_constructible<_Tp>' [with _Tp =
std::formatter<long double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:267:13:  
required for the satisfaction of 'copyable<_Tp>' [with _Tp =
std::formatter<long double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:272:13:  
required for the satisfaction of 'semiregular<_Formatter>' [with _Formatter =
std::formatter<long double, char>]
D:/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/include/concepts:153:30: note:
the expression 'is_constructible_v<_Tp, _Args ...> [with _Tp =
std::formatter<long double, char>; _Args = {std::formatter<long double,
char>}]' evaluated to 'false'
  153 |       = destructible<_Tp> && is_constructible_v<_Tp, _Args...>;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:562: tzdb.lo] Error 1
make[5]: Leaving directory
'/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/src/c++20'
make[4]: *** [Makefile:784: all-recursive] Error 1
make[4]: Leaving directory
'/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3/src'
make[3]: *** [Makefile:576: all-recursive] Error 1
make[3]: Leaving directory '/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3'
make[2]: *** [Makefile:501: all] Error 2
make[2]: Leaving directory '/d/Works/xcomp/gcc-build/h8300-elf/libstdc++-v3'
make[1]: *** [Makefile:12305: all-target-libstdc++-v3] Error 2
make[1]: Leaving directory '/d/Works/xcomp/gcc-build'
make: *** [Makefile:1051: all] Error 2

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

end of thread, other threads:[~2023-01-31 16:26 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-25  9:58 [Bug libstdc++/108221] New: Building cross compiler for H8 family fails at libstdc++-v3/src/c++20/tzdb.cc jdx at o2 dot pl
2022-12-27  9:55 ` [Bug libstdc++/108221] " marxin at gcc dot gnu.org
2023-01-05  0:55 ` redi at gcc dot gnu.org
2023-01-05 12:23 ` redi at gcc dot gnu.org
2023-01-05 14:02 ` redi at gcc dot gnu.org
2023-01-06 13:25 ` cvs-commit at gcc dot gnu.org
2023-01-06 13:27 ` redi at gcc dot gnu.org
2023-01-07  1:09 ` jdx at o2 dot pl
2023-01-07  1:13 ` redi at gcc dot gnu.org
2023-01-07  1:17 ` redi at gcc dot gnu.org
2023-01-07  1:23 ` redi at gcc dot gnu.org
2023-01-07  1:25 ` redi at gcc dot gnu.org
2023-01-07  8:29 ` jdx at o2 dot pl
2023-01-07 10:34 ` redi at gcc dot gnu.org
2023-01-08 11:44 ` jdx at o2 dot pl
2023-01-09 12:58 ` redi at gcc dot gnu.org
2023-01-10 10:10 ` cvs-commit at gcc dot gnu.org
2023-01-10 10:10 ` cvs-commit at gcc dot gnu.org
2023-01-10 11:48 ` redi at gcc dot gnu.org
2023-01-12  4:32 ` jdx at o2 dot pl
2023-01-13 17:04 ` jdx at o2 dot pl
2023-01-13 17:40 ` redi at gcc dot gnu.org
2023-01-30 18:00 ` jdx at o2 dot pl
2023-01-30 19:28 ` redi at gcc dot gnu.org
2023-01-31 16:26 ` redi 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).