From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D6687386181A; Fri, 18 Dec 2020 17:23:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6687386181A From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/98377] New: bootstrapping failure on windows for floating_to_chars Date: Fri, 18 Dec 2020 17:23:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2020 17:23:34 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98377 Bug ID: 98377 Summary: bootstrapping failure on windows for floating_to_chars Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc: In func= tion 'std::to_chars_result std::__floating_to_chars_precision(char*, char*, T, std::chars_format, int)': ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc:1132:11: error: 'output_length_upper_bound' was not declared in this scope 1132 | output_length_upper_bound =3D (strlen("-d") + sizeof(radi= x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc:1138:15: error: 'output_length_upper_bound' was not declared in this scope 1138 | output_length_upper_bound =3D sign + approx_log10_val= ue + 1; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc:1140:15: error: 'output_length_upper_bound' was not declared in this scope 1140 | output_length_upper_bound =3D sign + strlen("0"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc:1141:13: error: 'output_length_upper_bound' was not declared in this scope 1141 | output_length_upper_bound +=3D sizeof(radix) + effective_precision; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc:1145:21: error: 'output_length_upper_bound' was not declared in this scope 1145 | char buffer[output_length_upper_bound+1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc:1152:21: error: 'buffer' was not declared in this scope 1152 | =3D sprintf(buffer, output_specifier, effective_precision, value); | ^~~~~~ ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc: In instantiation of 'std::to_chars_result std::__floating_to_chars_precision(char*, char*, T, std::chars_format, int) [with T =3D long double]': ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc:1546:76:= =20=20 required from here ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc:1130:13: warning: unused variable 'output_length_upper_bound' [-Wunused-variable] 1130 | int output_length_upper_bound; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../gcc-git/libstdc++-v3/src/c++17/floating_to_chars.cc:1163:33: error: could not convert '{, ((std::size_t)output_length)= }' from '' to 'const string_view' {aka 'const std::basic_string_view'} 1163 | const string_view buffer_sv =3D {buffer, (size_t)output_length}; | ^~~~~~~~~ | | | make[5]: *** [Makefile:577: floating_to_chars.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-= mingw32/libstdc++-v3/src/c++17' make[4]: *** [Makefile:764: all-recursive] Error 1 make[4]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-= mingw32/libstdc++-v3/src' make[3]: *** [Makefile:568: all-recursive] Error 1 make[3]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-= mingw32/libstdc++-v3' make[2]: *** [Makefile:493: all] Error 2 make[2]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32/x86_64-w64-= mingw32/libstdc++-v3' make[1]: *** [Makefile:12181: all-target-libstdc++-v3] Error 2 make[1]: Leaving directory '/home/unlvs/mingw-gcc-mcf-gthread/src/build-x86_64-w64-mingw32' make: *** [Makefile:973: all] Error 2 =3D=3D> ERROR: A failure occurred in build(). Aborting...=