From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5A7BF3858C33; Tue, 8 Nov 2022 11:48:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A7BF3858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667908086; bh=rgJgYGaqiCT7AsZ+iSDB5wgvTIE380AB7xAbXvgVD6o=; h=From:To:Subject:Date:From; b=iiRGybiHRrmFsdmOwy8eVEwPye2yq5a9j3A2+ywAAueYpig1kr44YXNYldlVP6zF0 kwZjDk2V25TvJRrbGVtBy5FpRufwQNlkEpaV129j5mdVpr6imPXSMU0WoX3DmfOX7R takMf6/EqegUVkggphn/lKt9kmb2ILZIqDcFozWQ= From: "simon at pushface dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/107568] New: Bootstrap failure on macOS 12.6 (monterey) Date: Tue, 08 Nov 2022 11:47:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon at pushface dot org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107568 Bug ID: 107568 Summary: Bootstrap failure on macOS 12.6 (monterey) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: simon at pushface dot org Target Milestone: --- GCC 13-20221030. With Command Line Tools 14.1.0.0.1.1663981106, the following failures seen = in stage 2. Bootstrap compiler: 12.2.0. /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/lex.cc: In function 'unsigned char* cpp_output_line_to_string(cpp_reader*, const unsigned char*= )': /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/lex.cc:4624:15: error: '= int sprintf(char*, const char*, ...)' is deprecated: This function is provided = for compatibility reasons only. Due to security concerns inherent in the desig= n of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror=3Ddeprecated-declarations] 4624 | sprintf ((char *) result, "#%s ", dir_name); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/system.h:38, from /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/lex.cc:23: /Volumes/Miscellaneous1/x86_64/gcc-13-20221030/prev-gcc/include-fixed/stdio= .h:204:10: note: declared here 204 | int sprintf(char * __restrict, const char * __restrict, ...) __printflike(2, 3); | ^~~~~~~ ... /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/charset.cc: In function 'const uchar* convert_escape(cpp_reader*, const uchar*, const uchar*, _cpp_strbuf*, cset_converter, cpp_string_location_reader*, cpp_substring_ranges*)': /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/charset.cc:2207:18: erro= r: 'int sprintf(char*, const char*, ...)' is deprecated: This function is prov= ided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror=3Ddeprecated-declarations] 2207 | sprintf(buf, "%03o", (int) c); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/system.h:38, from /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/charset.cc:21: /Volumes/Miscellaneous1/x86_64/gcc-13-20221030/prev-gcc/include-fixed/stdio= .h:204:10: note: declared here 204 | int sprintf(char * __restrict, const char * __restrict, ...) __printflike(2, 3); | ^~~~~~~ ... /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/macro.cc: In function 'c= onst uchar* _cpp_builtin_macro_text(cpp_reader*, cpp_hashnode*, location_t)': /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/macro.cc:639:23: error: = 'int sprintf(char*, const char*, ...)' is deprecated: This function is provided = for compatibility reasons only. Due to security concerns inherent in the desig= n of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror=3Ddeprecated-declarations] 639 | sprintf ((char *) pfile->date, "\"%s %2d %4d\"", | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 640 | monthnames[tb->tm_mon], tb->tm_mday, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 641 | tb->tm_year + 1900); | ~~~~~~~~~~~~~~~~~~~ In file included from /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/system.h:38, from /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/macro.cc:26: /Volumes/Miscellaneous1/x86_64/gcc-13-20221030/prev-gcc/include-fixed/stdio= .h:204:10: note: declared here 204 | int sprintf(char * __restrict, const char * __restrict, ...) __printflike(2, 3); | ^~~~~~~ /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/macro.cc:645:23: error: = 'int sprintf(char*, const char*, ...)' is deprecated: This function is provided = for compatibility reasons only. Due to security concerns inherent in the desig= n of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror=3Ddeprecated-declarations] 645 | sprintf ((char *) pfile->time, "\"%02d:%02d:%02d\"", | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 646 | tb->tm_hour, tb->tm_min, tb->tm_sec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Miscellaneous1/x86_64/gcc-13-20221030/prev-gcc/include-fixed/stdio= .h:204:10: note: declared here 204 | int sprintf(char * __restrict, const char * __restrict, ...) __printflike(2, 3); | ^~~~~~~ /Volumes/Miscellaneous1/src/gcc-13-20221030/libcpp/macro.cc:686:15: error: = 'int sprintf(char*, const char*, ...)' is deprecated: This function is provided = for compatibility reasons only. Due to security concerns inherent in the desig= n of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror=3Ddeprecated-declarations] 686 | sprintf ((char *) result, "%u", number); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Miscellaneous1/x86_64/gcc-13-20221030/prev-gcc/include-fixed/stdio= .h:204:10: note: declared here 204 | int sprintf(char * __restrict, const char * __restrict, ...) __printflike(2, 3); | ^~~~~~~=