This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed
- From: "sajarvis at bu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 11 Oct 2014 01:05:38 +0000
- Subject: [Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed
- Auto-submitted: auto-generated
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