From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4F56F3857020; Wed, 10 Mar 2021 11:23:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F56F3857020 From: "juergen.reuter at desy dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/99515] New: gcc fails to build on Darwin 20.3.0 Date: Wed, 10 Mar 2021 11:23:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: juergen.reuter at desy dot de 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: Wed, 10 Mar 2021 11:23:05 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99515 Bug ID: 99515 Summary: gcc fails to build on Darwin 20.3.0 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: juergen.reuter at desy dot de Target Milestone: --- I'm using the gcc Git repo, on Darwin 20.3.0, macOS BigSur 11.2.3, getting = the compilation error below (cf. below). The configure line was ../configure --prefix=3D/usr/local/ --with-gmp=3D/usr/local/ --with-mpfr=3D/usr/local/ --with-mpr=3D/usr/local/ --with-isl=3D/usr/local/ --enable-checking=3Drelease --with-sysroot=3D/Applications/Xcode.app/Contents/Developer/Platforms/MacOS= X.platform/Developer/SDKs/MacOSX.sdk --enable-languages=3Dc,c++,fortran,lto,objc,obj-c++ This has been compiled with the following clang version: # gcc --version Configured with: --prefix=3D/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=3D/Applications/Xcode.app/Contents/Developer/Platfor= ms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.32.29) Target: x86_64-apple-darwin20.3.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch= ain/usr/bin Any ideas? Compilation worked last time Dec 7, 2020, when I still had Darwin 20.1.0, so already BigSur.=20 In file included from ../../libcpp/charset.c:22: ../../libcpp/include/cpplib.h:291:3: error: "Cannot find a least-32-bit sig= ned integer type" # error "Cannot find a least-32-bit signed integer type" ^ ../../libcpp/include/cpplib.h:293:34: error: expected ';' after top level declarator typedef unsigned CPPCHAR_SIGNED_T cppchar_t; ^ ; ../../libcpp/include/cpplib.h:1123:8: error: unknown type name 'cppchar_t';= did you mean 'wchar_t'? extern cppchar_t cpp_interpret_charconst (cpp_reader *, const cpp_token *, ^~~~~~~~~ wchar_t ../../libcpp/include/cpplib.h:1140:8: error: unknown type name 'cppchar_t';= did you mean 'wchar_t'? extern cppchar_t cpp_host_to_exec_charset (cpp_reader *, cppchar_t); ^~~~~~~~~ wchar_t ../../libcpp/include/cpplib.h:1140:58: error: unknown type name 'cppchar_t'; did you mean 'wchar_t'? extern cppchar_t cpp_host_to_exec_charset (cpp_reader *, cppchar_t); ^~~~~~~~~ wchar_t ../../libcpp/include/cpplib.h:1313:8: error: unknown type name 'cppchar_t';= did you mean 'wchar_t'? extern cppchar_t cpp_parse_escape (cpp_reader *, const unsigned char ** pst= r, ^~~~~~~~~ wchar_t ../../libcpp/include/cpplib.h:1458:18: error: unknown type name 'cppchar_t'; did you mean 'wchar_t'? int cpp_wcwidth (cppchar_t c); ^~~~~~~~~ wchar_t In file included from ../../libcpp/charset.c:23: ../../libcpp/internal.h:794:3: error: unknown type name 'cppchar_t'; did you mean 'wchar_t'? cppchar_t previous; ^~~~~~~~~ wchar_t ../../libcpp/internal.h:812:8: error: unknown type name 'cppchar_t'; did you mean 'wchar_t'? cppchar_t *, ^~~~~~~~~ wchar_t ../../libcpp/internal.h:821:9: error: unknown type name 'cppchar_t'; did you mean 'wchar_t'? cppchar_t *cp); ^~~~~~~~~ wchar_t ../../libcpp/charset.c:169:8: error: unknown type name 'cppchar_t'; did you mean 'wchar_t'? cppchar_t *cp) ^~~~~~~~~ wchar_t ../../libcpp/charset.c:174:3: error: use of undeclared identifier 'cppchar_= t'; did you mean 'wchar_t'? cppchar_t c; ^~~~~~~~~ wchar_t ../../libcpp/charset.c:205:7: error: use of undeclared identifier 'cppchar_= t'; did you mean 'wchar_t'? cppchar_t n =3D *inbuf++; ^~~~~~~~~ wchar_t ../../libcpp/charset.c:228:22: error: unknown type name 'cppchar_t'; did you mean 'wchar_t'? one_cppchar_to_utf8 (cppchar_t c, uchar **outbufp, size_t *outbytesleftp) ^~~~~~~~~ wchar_t ../../libcpp/charset.c:283:3: error: use of undeclared identifier 'cppchar_= t'; did you mean 'wchar_t'? cppchar_t s =3D 0; ^~~~~~~~~ wchar_t ../../libcpp/charset.c:309:3: error: use of undeclared identifier 'cppchar_= t'; did you mean 'wchar_t'? cppchar_t s; ^~~~~~~~~ wchar_t ../../libcpp/charset.c:340:3: error: use of undeclared identifier 'cppchar_= t'; did you mean 'wchar_t'? cppchar_t s =3D 0; ^~~~~~~~~ wchar_t ../../libcpp/charset.c:373:7: error: use of undeclared identifier 'cppchar_= t'; did you mean 'wchar_t'? cppchar_t hi, lo; ^~~~~~~~~ wchar_t ../../libcpp/charset.c:402:3: error: use of undeclared identifier 'cppchar_= t'; did you mean 'wchar_t'? cppchar_t s; ^~~~~~~~~ wchar_t=