public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'
@ 2015-02-07 13:13 ai.azuma at gmail dot com
  2015-02-09  0:08 ` [Bug libstdc++/64967] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ai.azuma at gmail dot com @ 2015-02-07 13:13 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64967
           Summary: [5 Regression] Bootstrap fails due to errors in
                    libstdc++ sources with
                    `--enable-symvers=gnu-versioned-namespace'
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ai.azuma at gmail dot com

Compile errors occur in stage 1 build of libstdc++ when trying to build GCC
5-20150201 with the following commands on an x86_64-unknown-linux-gnu machine
(Ubuntu 14.04 LTS):

  $ $SRCDIR/configure --enable-languages=c,c++
--enable-symvers=gnu-versioned-namespace
  $ make

The actual error messages are too long to paste here, but the very beginning of
them are:

/home/cryolite/work/gcc-bugs/20150207/objdir/./gcc/xgcc -shared-libgcc
-B/home/cryolite/work/gcc-bugs/20150207/objdir/./gcc -nostdinc++
-L/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/home/cryolit
e/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86
_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include
-isystem /usr/local/x86_64-unknown-linux-gnu/sys-include    -x c++-header
-nostdinc++ -g -O2 -D_GNU_SOURCE 
-I/home/cryolite/work/gcc-bugs/20150207/objdir/x86_6
4-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/home/cryolite/work/gcc-bugs/20150207/gcc-5-20150201/libstdc++-v3/libsupc++
-O2
 -g -std=gnu++0x
/home/cryolite/work/gcc-bugs/20150207/gcc-5-20150201/libstdc++-v3/include/precompiled/stdc++.h
\
        -o x86_64-unknown-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/ios:38:0,
                 from
/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/istream:38,
                 from
/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/sstream:38,
                 from
/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/complex:45,
                 from
/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/ccomplex:38,
                 from
/home/cryolite/work/gcc-bugs/20150207/gcc-5-20150201/libstdc++-v3/include/precompiled/stdc++.h:52:
/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/iosfwd:147:11:
error: ‘basic_stringbuf’ does not name a type
   typedef basic_stringbuf<char>  stringbuf;
           ^
/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/iosfwd:150:11:
error: ‘basic_istringstream’ does not name a type
   typedef basic_istringstream<char>  istringstream;
           ^
/home/cryolite/work/gcc-bugs/20150207/objdir/x86_64-unknown-linux-gnu/libstdc++-v3/include/iosfwd:153:11:
error: ‘basic_ostringstream’ does not name a type
   typedef basic_ostringstream<char>  ostringstream;
           ^
(snip)

Bootstrap succeeds when `--enable-symvers=gnu-versioned-namespace' is unset.
>From gcc-bugs-return-476323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Feb 07 13:51:17 2015
Return-Path: <gcc-bugs-return-476323-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 17103 invoked by alias); 7 Feb 2015 13:51:17 -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 17051 invoked by uid 48); 7 Feb 2015 13:51:13 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63897] [5 Regression] gcc.dg/torture/vector-2.c fails at on x86_64-apple-darwin14
Date: Sat, 07 Feb 2015 13:51: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: 5.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-63897-4-YDCwT6Worr@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63897-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63897-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: 2015-02/txt/msg00656.txt.bz2
Content-length: 463

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Assuming this is fixed.  If not, please reopen.


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

* [Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'
  2015-02-07 13:13 [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace' ai.azuma at gmail dot com
@ 2015-02-09  0:08 ` pinskia at gcc dot gnu.org
  2015-02-10 11:27 ` redi at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-02-09  0:08 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0


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

* [Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'
  2015-02-07 13:13 [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace' ai.azuma at gmail dot com
  2015-02-09  0:08 ` [Bug libstdc++/64967] " pinskia at gcc dot gnu.org
@ 2015-02-10 11:27 ` redi at gcc dot gnu.org
  2015-02-10 11:30 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-02-10 11:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I was wondering if anyone even still uses
--enable-symvers=gnu-versioned-namespace

I don't think it is worthwhile to support the dual ABI with the versioned
namespace, since using the versioned namespace already means you don't care
about ABI compatibility.

One option would be to force --disable-libstdcxx-dual-abi when
gnu-versioned-namespace is used so that none of the new code and features are
available, another option would be to change the versioned namespace from __7
to __8 and unconditionally enable the new ABI so that all the features are
available but without any backward compatibility.


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

* [Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'
  2015-02-07 13:13 [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace' ai.azuma at gmail dot com
  2015-02-09  0:08 ` [Bug libstdc++/64967] " pinskia at gcc dot gnu.org
  2015-02-10 11:27 ` redi at gcc dot gnu.org
@ 2015-02-10 11:30 ` jakub at gcc dot gnu.org
  2015-02-10 11:34 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-02-10 11:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Or drop the gnu-versioned-namespace support altogether.
Anyway, if you don't, bumping it to _8 and always using the new ABI sounds like
a good plan to me.


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

* [Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'
  2015-02-07 13:13 [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace' ai.azuma at gmail dot com
                   ` (2 preceding siblings ...)
  2015-02-10 11:30 ` jakub at gcc dot gnu.org
@ 2015-02-10 11:34 ` redi at gcc dot gnu.org
  2015-02-25 23:57 ` law at redhat dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-02-10 11:34 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-02-10
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1


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

* [Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'
  2015-02-07 13:13 [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace' ai.azuma at gmail dot com
                   ` (3 preceding siblings ...)
  2015-02-10 11:34 ` redi at gcc dot gnu.org
@ 2015-02-25 23:57 ` law at redhat dot com
  2015-03-23 16:20 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: law at redhat dot com @ 2015-02-25 23:57 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
                 CC|                            |law at redhat dot com

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
P4 seems more appropriate given how few people use gnu-versioned-namespace.


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

* [Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'
  2015-02-07 13:13 [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace' ai.azuma at gmail dot com
                   ` (4 preceding siblings ...)
  2015-02-25 23:57 ` law at redhat dot com
@ 2015-03-23 16:20 ` jakub at gcc dot gnu.org
  2015-03-23 17:24 ` redi at gcc dot gnu.org
  2015-03-23 17:25 ` redi at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-23 16:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Looks reasonable.


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

* [Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'
  2015-02-07 13:13 [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace' ai.azuma at gmail dot com
                   ` (5 preceding siblings ...)
  2015-03-23 16:20 ` jakub at gcc dot gnu.org
@ 2015-03-23 17:24 ` redi at gcc dot gnu.org
  2015-03-23 17:25 ` redi at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-03-23 17:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Mar 23 16:47:18 2015
New Revision: 221600

URL: https://gcc.gnu.org/viewcvs?rev=221600&root=gcc&view=rev
Log:
    PR libstdc++/64967
    * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
    * configure: Regenerate.
    * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
    system_category): Use macros for versioned namespace.
    * src/c++11/futex.cc: Add missing end macro for versioned namespace.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/acinclude.m4
    trunk/libstdc++-v3/configure
    trunk/libstdc++-v3/src/c++11/compatibility-c++0x.cc
    trunk/libstdc++-v3/src/c++11/futex.cc


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

* [Bug libstdc++/64967] [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace'
  2015-02-07 13:13 [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace' ai.azuma at gmail dot com
                   ` (6 preceding siblings ...)
  2015-03-23 17:24 ` redi at gcc dot gnu.org
@ 2015-03-23 17:25 ` redi at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2015-03-23 17:25 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed. Changing gnu-versioned-namespace to the new ABI can happen after GCC 5.


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

end of thread, other threads:[~2015-03-23 16:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-07 13:13 [Bug libstdc++/64967] New: [5 Regression] Bootstrap fails due to errors in libstdc++ sources with `--enable-symvers=gnu-versioned-namespace' ai.azuma at gmail dot com
2015-02-09  0:08 ` [Bug libstdc++/64967] " pinskia at gcc dot gnu.org
2015-02-10 11:27 ` redi at gcc dot gnu.org
2015-02-10 11:30 ` jakub at gcc dot gnu.org
2015-02-10 11:34 ` redi at gcc dot gnu.org
2015-02-25 23:57 ` law at redhat dot com
2015-03-23 16:20 ` jakub at gcc dot gnu.org
2015-03-23 17:24 ` redi at gcc dot gnu.org
2015-03-23 17:25 ` redi at gcc dot gnu.org

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).