From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 189ED3851C02; Fri, 8 May 2020 14:46:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 189ED3851C02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588949203; bh=v/Bbk5Y7SvK9Mo4pOyfaEqgL5thbrFlKKJ3VJ9h+OQE=; h=From:To:Subject:Date:From; b=iX9ULySvVITmsLkznFFmOuoNV2AlVbLyd6qipFLvnmlQWG5byP04qyOp6fngPm8Cx dBLKX4t2aVIMBD1xhgo1Cbsjkf85livwI54Cde1HaRx67SCBSTPk8kK/qDFURdK+TH E73e25kKLz9Vqc/5ScVXaVciHeNDqOCvroQ/rbMI= From: "mario_grgic at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/95011] New: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1 Date: Fri, 08 May 2020 14:46:42 +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: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mario_grgic at hotmail 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 attachments.created 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, 08 May 2020 14:46:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95011 Bug ID: 95011 Summary: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1 Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mario_grgic at hotmail dot com Target Milestone: --- Created attachment 48484 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48484&action=3Dedit config.log I am attempting to build gcc 10.1.0 from source with Xcode 11.4.1 on macOS Catalina 10.15.4. I configure the build as follows:=20 export PREFIX=3D/usr/local ../configure --prefix=3D${PREFIX} --with-gmp=3D${PREFIX} --with-mpfr=3D${PR= EFIX} --with-mpc=3D${PREFIX} --with-isl-prefix=3D${PREFIX} --with-cloog=3D${PREFI= X} --enable-checking=3Drelease --enable-languages=3Dc,c++,fortran --with-build-sysroot=3D/Applications/Xcode.app/Contents/Developer/Platforms= /MacOSX.platform/Developer/SDKs/MacOSX.sdk=20 But this eventually leads to:=20 /lib/cpp configure: error: in `/Volumes/ramdisk/gcc-10.1.0/build/gcc': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details ... config.status: executing default commands make[1]: *** [stage2-bubble] Error 2 make: *** [all] Error 2 config.log is attached. In the config.log I see: xgcc: error: unrecognized command-line option '-V' and=20 xgcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? But more importantly: /Volumes/ramdisk/gcc-10.1.0/build/prev-gcc/include-fixed/limits.h:195:15: f= atal error: limits.h: No such file or directory=