From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1284 invoked by alias); 11 Oct 2014 01:05:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1266 invoked by uid 48); 11 Oct 2014 01:05:40 -0000 From: "sajarvis at bu dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed Date: Sat, 11 Oct 2014 01:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sajarvis at bu dot edu X-Bugzilla-Status: UNCONFIRMED 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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00836.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63509 Bug ID: 63509 Summary: Misleading error message when building gcc without C++ compiler installed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: sajarvis at bu dot edu Created attachment 33685 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33685&action=edit Full output during make. When building gcc with no C++ compiler installed, configuration succeeds, then make fails with error message: configure: error: error verifying int64_t uses long long Steps to cause: 1) Don't install a C++ compiler 2) $ ./configure --prefix=$HOME/dev/gcc/bld --enable-multilib 3) $ make I think the error should be more specific to the issue (no C++ compiler found) and probably caught earlier. System: Fedora 20, Linux 3.16 building gcc trunk, version r216105 More of the log (full log attached): [...] checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for long long int... yes checking for intmax_t... yes checking for intptr_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for unsigned long long int... yes checking for uintmax_t... yes checking for uintptr_t... yes checking for int64_t underlying type... long long configure: error: error verifying int64_t uses long long make[2]: *** [configure-stage1-gcc] Error 1 make[2]: Leaving directory `/home/sjarvis/dev/gcc/srcdir' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/sjarvis/dev/gcc/srcdir' make: *** [all] Error 2