public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed
@ 2014-10-11  1:05 sajarvis at bu dot edu
  2014-10-12 20:02 ` [Bug other/63509] " manu at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sajarvis at bu dot edu @ 2014-10-11  1:05 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/63509] Misleading error message when building gcc without C++ compiler installed
  2014-10-11  1:05 [Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed sajarvis at bu dot edu
@ 2014-10-12 20:02 ` manu at gcc dot gnu.org
  2015-01-09 17:54 ` rpsene at linux dot vnet.ibm.com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: manu at gcc dot gnu.org @ 2014-10-12 20:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63509

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tbsaunde at gcc dot gnu.org

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
*** Bug 63516 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-463870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 12 20:02:15 2014
Return-Path: <gcc-bugs-return-463870-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29656 invoked by alias); 12 Oct 2014 20:02:15 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29598 invoked by uid 48); 12 Oct 2014 20:02:12 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/63516] error when trying to build without a c++ compiler could be better
Date: Sun, 12 Oct 2014 20:02:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: manu at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
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_status cc resolution
Message-ID: <bug-63516-4-XapMYF0Vn9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63516-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63516-4@http.gcc.gnu.org/bugzilla/>
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-SW-Source: 2014-10/txt/msg00891.txt.bz2
Content-length: 602

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63516

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |manu at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 63509 ***
>From gcc-bugs-return-463872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Oct 12 23:14:47 2014
Return-Path: <gcc-bugs-return-463872-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10578 invoked by alias); 12 Oct 2014 23:14:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10522 invoked by uid 55); 12 Oct 2014 23:14:43 -0000
From: "olegendo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/54760] [SH] Add __builtin_thread_pointer, __builtin_set_thread_pointer
Date: Sun, 12 Oct 2014 23:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: olegendo at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: olegendo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-54760-4-xj9ZoowVcY@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54760-4@http.gcc.gnu.org/bugzilla/>
References: <bug-54760-4@http.gcc.gnu.org/bugzilla/>
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/msg00893.txt.bz2
Content-length: 1049

https://gcc.gnu.org/bugzilla/show_bug.cgi?idT760

--- Comment #15 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sun Oct 12 23:14:07 2014
New Revision: 216128

URL: https://gcc.gnu.org/viewcvs?rev!6128&root=gcc&view=rev
Log:
gcc/
    PR target/59401
    * config/sh/sh-protos (sh_find_equiv_gbr_addr): Use rtx_insn* instead
    of rtx.
    * config/sh/sh.c (sh_find_equiv_gbr_addr): Use def chains instead of
    insn walking.
    (sh_find_equiv_gbr_addr): Do nothing if input mem is already a GBR
    address.  Use def chains to handle GBR clobbering call insns.

gcc/testsuite/
    PR target/59401
    PR target/54760
    * gcc.target/pr54760-5.c: New.
    * gcc.target/pr54760-6.c: New.
    * gcc.target/sh/pr59401-1.c: New.

Added:
    trunk/gcc/testsuite/gcc.target/sh/pr54760-5.c
    trunk/gcc/testsuite/gcc.target/sh/pr54760-6.c
    trunk/gcc/testsuite/gcc.target/sh/pr59401-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh-protos.h
    trunk/gcc/config/sh/sh.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/63509] Misleading error message when building gcc without C++ compiler installed
  2014-10-11  1:05 [Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed sajarvis at bu dot edu
  2014-10-12 20:02 ` [Bug other/63509] " manu at gcc dot gnu.org
@ 2015-01-09 17:54 ` rpsene at linux dot vnet.ibm.com
  2015-02-26 13:29 ` rjones at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rpsene at linux dot vnet.ibm.com @ 2015-01-09 17:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63509

Rafael Sene <rpsene at linux dot vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rpsene at linux dot vnet.ibm.com

--- Comment #2 from Rafael Sene <rpsene at linux dot vnet.ibm.com> ---
Just got the same issue, solved installing c++. I was building gcc on Fedora
21.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/63509] Misleading error message when building gcc without C++ compiler installed
  2014-10-11  1:05 [Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed sajarvis at bu dot edu
  2014-10-12 20:02 ` [Bug other/63509] " manu at gcc dot gnu.org
  2015-01-09 17:54 ` rpsene at linux dot vnet.ibm.com
@ 2015-02-26 13:29 ` rjones at redhat dot com
  2015-05-29 18:25 ` paul at greenberg dot pro
  2015-10-18 20:34 ` tzachinoy at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rjones at redhat dot com @ 2015-02-26 13:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63509

Richard W.M. Jones <rjones at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rjones at redhat dot com

--- Comment #3 from Richard W.M. Jones <rjones at redhat dot com> ---
Can confirm this happens also on Fedora 23.
Installing gcc-c++ fixes it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/63509] Misleading error message when building gcc without C++ compiler installed
  2014-10-11  1:05 [Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed sajarvis at bu dot edu
                   ` (2 preceding siblings ...)
  2015-02-26 13:29 ` rjones at redhat dot com
@ 2015-05-29 18:25 ` paul at greenberg dot pro
  2015-10-18 20:34 ` tzachinoy at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paul at greenberg dot pro @ 2015-05-29 18:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63509

Paul Greenberg <paul at greenberg dot pro> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul at greenberg dot pro

--- Comment #5 from Paul Greenberg <paul at greenberg dot pro> ---
The issue is likely that CXX environment variable is set to a non-existent
location.

Verify where it point to:

```
echo $CXX
```


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug other/63509] Misleading error message when building gcc without C++ compiler installed
  2014-10-11  1:05 [Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed sajarvis at bu dot edu
                   ` (3 preceding siblings ...)
  2015-05-29 18:25 ` paul at greenberg dot pro
@ 2015-10-18 20:34 ` tzachinoy at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: tzachinoy at gmail dot com @ 2015-10-18 20:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63509

TzachiNoy <tzachinoy at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tzachinoy at gmail dot com

--- Comment #6 from TzachiNoy <tzachinoy at gmail dot com> ---
same on Debian 3.16

`apt-get install g++` fixed the problem.

before installing: CXX was undefined


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-18 20:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-11  1:05 [Bug other/63509] New: Misleading error message when building gcc without C++ compiler installed sajarvis at bu dot edu
2014-10-12 20:02 ` [Bug other/63509] " manu at gcc dot gnu.org
2015-01-09 17:54 ` rpsene at linux dot vnet.ibm.com
2015-02-26 13:29 ` rjones at redhat dot com
2015-05-29 18:25 ` paul at greenberg dot pro
2015-10-18 20:34 ` tzachinoy at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).