public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/36104]  New: gnu-versioned-namespace is broken in gcc 4.3.0
@ 2008-05-01 20:53 vorfeed dot canal at gmail dot com
  2008-05-01 20:57 ` [Bug libstdc++/36104] " vorfeed dot canal at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: vorfeed dot canal at gmail dot com @ 2008-05-01 20:53 UTC (permalink / raw)
  To: gcc-bugs

libstdc++ from GCC 4.3.0 can not be built with --gnu-versioned-namespace
option.

libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.0/work/build/./gcc/xgcc
-shared-libgcc -B/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/./gcc
-nostdinc++ -L/var/tmp/
portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/src
-L/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/usr/
i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include
-I/var/tmp/portage/sys-devel/gcc-4.
3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include
-I/var/tmp/
portage/sys-devel/gcc-4.3.0/work/gcc-4.3.0/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunct
ion-sections -fdata-sections -O2 -mtune=i686 -pipe -D_GNU_SOURCE -std=gnu++0x
-c
/var/tmp/portage/sys-devel/gcc-4.3.0/work/gcc-4.3.0/libstdc++-v3/src/hash_c++0x.cc
 -fPIC -
DPIC -o .libs/hash_c++0x.o
In file included from
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/functional:75,
                 from
/var/tmp/portage/sys-devel/gcc-4.3.0/work/gcc-4.3.0/libstdc++-v3/src/hash.cc:35,
                 from
/var/tmp/portage/sys-devel/gcc-4.3.0/work/gcc-4.3.0/libstdc++-v3/src/hash_c++0x.cc:30:
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:475:
error: expected initializer before '<' token
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:481:
error: expected initializer before '<' token
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:486:
error: expected initializer before '<' token
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:491:
error: expected initializer before '<' token
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:961:
error: template argument 1 is invalid
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:961:
error: template argument 2 is invalid
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:961:
error: template argument 3 is invalid
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:1613:
error: reference to 'reference_wrapper' is ambiguous
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:430:
error: candidates are: template<class _Tp> class std::refere
nce_wrapper
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_pair.h:222:
error:                 template<class _Tp> struct std::_6::refer
ence_wrapper
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:1613:
error: 'reference_wrapper' has not been declared
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:1613:
error: expected ',' or '...' before '<' token
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:
In static member function 'static void std::_Function_base::_Ref
_manager<_Functor>::_M_init_functor(std::_Any_data&, int)':
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:1616:
error: '__f' was not declared in this scope
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:
At global scope:
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:1670:
error: template argument 2 is invalid
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:1670:
error: expected unqualified-id before '>' token
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:1685:
error: template argument 2 is invalid
/var/tmp/portage/sys-devel/gcc-4.3.0/work/build/i686-pc-linux-gnu/libstdc++-v3/include/tr1_impl/functional:1685:
error: expected unqualified-id before '>' token


-- 
           Summary: gnu-versioned-namespace is broken in gcc 4.3.0
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vorfeed dot canal at gmail dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104


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

* [Bug libstdc++/36104] gnu-versioned-namespace is broken in gcc 4.3.0
  2008-05-01 20:53 [Bug libstdc++/36104] New: gnu-versioned-namespace is broken in gcc 4.3.0 vorfeed dot canal at gmail dot com
@ 2008-05-01 20:57 ` vorfeed dot canal at gmail dot com
  2009-02-24  1:24 ` [Bug libstdc++/36104] [4.3/4.4 regression] gnu-versioned-namespace is broken bkoz at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vorfeed dot canal at gmail dot com @ 2008-05-01 20:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from vorfeed dot canal at gmail dot com  2008-05-01 20:56 -------
Created an attachment (id=15558)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15558&action=view)
Simple fix

I'm not 100% sure it's correct way to fix this problem but at least I can
compile the library with it.

Actually I'm pretty much sure it's incorrect way to fix gnu-versioned-namespace
as it leaves a lot of namespaces (like __gnu_pbds or std::__debug) unversioned
but I'm not libstdc++ expert...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104


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

* [Bug libstdc++/36104] [4.3/4.4 regression] gnu-versioned-namespace is broken
  2008-05-01 20:53 [Bug libstdc++/36104] New: gnu-versioned-namespace is broken in gcc 4.3.0 vorfeed dot canal at gmail dot com
  2008-05-01 20:57 ` [Bug libstdc++/36104] " vorfeed dot canal at gmail dot com
@ 2009-02-24  1:24 ` bkoz at gcc dot gnu dot org
  2009-02-24  1:24 ` bkoz at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2009-02-24  1:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bkoz at gcc dot gnu dot org  2009-02-24 01:24 -------
Created an attachment (id=17355)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17355&action=view)
enable-symvers=gnu-versioned-namespace vs. libgomp


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104


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

* [Bug libstdc++/36104] [4.3/4.4 regression] gnu-versioned-namespace is broken
  2008-05-01 20:53 [Bug libstdc++/36104] New: gnu-versioned-namespace is broken in gcc 4.3.0 vorfeed dot canal at gmail dot com
  2008-05-01 20:57 ` [Bug libstdc++/36104] " vorfeed dot canal at gmail dot com
  2009-02-24  1:24 ` [Bug libstdc++/36104] [4.3/4.4 regression] gnu-versioned-namespace is broken bkoz at gcc dot gnu dot org
@ 2009-02-24  1:24 ` bkoz at gcc dot gnu dot org
  2009-03-04 11:22 ` [Bug libstdc++/36104] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2009-02-24  1:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bkoz at gcc dot gnu dot org  2009-02-24 01:23 -------

Mine. This is still broken in 4.4.0.

Actually, in 4.2.4 --enable-symvers=gnu-versioned-namespace runs into a build
error in libgomp, where the argument given (gnu-versioned-namespace) does not
match with yes, no, gnu.

The simple patch attached fixes libgomp. I thought I posted this a long time
ago, but looks like it got dropped. 

-benjamin



-benjamin


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bkoz at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
      Known to fail|                            |4.3.0
      Known to work|                            |4.1.2
   Last reconfirmed|0000-00-00 00:00:00         |2009-02-24 01:23:57
               date|                            |
            Summary|gnu-versioned-namespace is  |[4.3/4.4 regression] gnu-
                   |broken in gcc 4.3.0         |versioned-namespace is
                   |                            |broken


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104


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

* [Bug libstdc++/36104] [4.3/4.4 Regression] gnu-versioned-namespace is broken
  2008-05-01 20:53 [Bug libstdc++/36104] New: gnu-versioned-namespace is broken in gcc 4.3.0 vorfeed dot canal at gmail dot com
                   ` (2 preceding siblings ...)
  2009-02-24  1:24 ` bkoz at gcc dot gnu dot org
@ 2009-03-04 11:22 ` rguenth at gcc dot gnu dot org
  2009-03-04 12:07 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-03-04 11:22 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3/4.4 regression] gnu-   |[4.3/4.4 Regression] gnu-
                   |versioned-namespace is      |versioned-namespace is
                   |broken                      |broken
   Target Milestone|---                         |4.3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104


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

* [Bug libstdc++/36104] [4.3/4.4 Regression] gnu-versioned-namespace is broken
  2008-05-01 20:53 [Bug libstdc++/36104] New: gnu-versioned-namespace is broken in gcc 4.3.0 vorfeed dot canal at gmail dot com
                   ` (3 preceding siblings ...)
  2009-03-04 11:22 ` [Bug libstdc++/36104] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
@ 2009-03-04 12:07 ` rguenth at gcc dot gnu dot org
  2009-03-04 14:03 ` bkoz at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-03-04 12:07 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
           Priority|P3                          |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104


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

* [Bug libstdc++/36104] [4.3/4.4 Regression] gnu-versioned-namespace is broken
  2008-05-01 20:53 [Bug libstdc++/36104] New: gnu-versioned-namespace is broken in gcc 4.3.0 vorfeed dot canal at gmail dot com
                   ` (4 preceding siblings ...)
  2009-03-04 12:07 ` rguenth at gcc dot gnu dot org
@ 2009-03-04 14:03 ` bkoz at gcc dot gnu dot org
  2009-08-04 12:45 ` [Bug libstdc++/36104] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
  2010-05-22 18:23 ` [Bug libstdc++/36104] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2009-03-04 14:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bkoz at gcc dot gnu dot org  2009-03-04 14:03 -------

This has been broken since the move to include/tr1_impl. To fix this, I would
like to move to using fully-qualified macros for TR1 and std namespaces (ie
_GLIBCXX_TR1, _GLIBCXX_STD), and hopefully unifying the active namespace
switching mechanisms (_GLIBCXX_BEGIN_NAMESPACE and friends,
_GLIBCXX_BEGIN_NAMESPACE_TR1).


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|4.1.2                       |4.1.2 4.2.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104


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

* [Bug libstdc++/36104] [4.3/4.4/4.5 Regression] gnu-versioned-namespace is broken
  2008-05-01 20:53 [Bug libstdc++/36104] New: gnu-versioned-namespace is broken in gcc 4.3.0 vorfeed dot canal at gmail dot com
                   ` (5 preceding siblings ...)
  2009-03-04 14:03 ` bkoz at gcc dot gnu dot org
@ 2009-08-04 12:45 ` rguenth at gcc dot gnu dot org
  2010-05-22 18:23 ` [Bug libstdc++/36104] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-08-04 12:29 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104


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

* [Bug libstdc++/36104] [4.3/4.4/4.5/4.6 Regression] gnu-versioned-namespace is broken
  2008-05-01 20:53 [Bug libstdc++/36104] New: gnu-versioned-namespace is broken in gcc 4.3.0 vorfeed dot canal at gmail dot com
                   ` (6 preceding siblings ...)
  2009-08-04 12:45 ` [Bug libstdc++/36104] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
@ 2010-05-22 18:23 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-05-22 18:12 -------
GCC 4.3.5 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |4.3.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36104


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

end of thread, other threads:[~2010-05-22 18:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-01 20:53 [Bug libstdc++/36104] New: gnu-versioned-namespace is broken in gcc 4.3.0 vorfeed dot canal at gmail dot com
2008-05-01 20:57 ` [Bug libstdc++/36104] " vorfeed dot canal at gmail dot com
2009-02-24  1:24 ` [Bug libstdc++/36104] [4.3/4.4 regression] gnu-versioned-namespace is broken bkoz at gcc dot gnu dot org
2009-02-24  1:24 ` bkoz at gcc dot gnu dot org
2009-03-04 11:22 ` [Bug libstdc++/36104] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
2009-03-04 12:07 ` rguenth at gcc dot gnu dot org
2009-03-04 14:03 ` bkoz at gcc dot gnu dot org
2009-08-04 12:45 ` [Bug libstdc++/36104] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2010-05-22 18:23 ` [Bug libstdc++/36104] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot 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).