[Bug libstdc++/53680] Versioned symbols in static libstdc++

2012-06-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53680

Jonathan Wakely  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||DUPLICATE

--- Comment #11 from Jonathan Wakely  2012-06-15 
10:37:41 UTC ---
yesterday

http://gcc.gnu.org/gcc-4.7/

marking as dup, please reopen if 4.7.1 doesn't fix it

*** This bug has been marked as a duplicate of bug 52689 ***


[Bug libstdc++/53680] Versioned symbols in static libstdc++

2012-06-15 Thread d.v.a at ngs dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53680

--- Comment #10 from __vic  2012-06-15 10:36:24 UTC ---
When 4.7.1 will be released?


[Bug libstdc++/53680] Versioned symbols in static libstdc++

2012-06-15 Thread d.v.a at ngs dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53680

--- Comment #9 from __vic  2012-06-15 10:33:13 UTC ---
(In reply to comment #7)
> isn't this PR 52689 ?

Probably it is.


[Bug libstdc++/53680] Versioned symbols in static libstdc++

2012-06-15 Thread d.v.a at ngs dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53680

--- Comment #8 from __vic  2012-06-15 10:30:30 UTC ---
(In reply to comment #6)
> (In reply to comment #4)
> > Note: undocumented configure option --disable-symvers helps but I think
> > building with default parameters must work properly
> 
> It's not undocumented
> http://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html

Ok. But still. It must not be a mandatory option to build correct static lib


[Bug libstdc++/53680] Versioned symbols in static libstdc++

2012-06-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53680

--- Comment #7 from Jonathan Wakely  2012-06-15 
10:29:36 UTC ---
isn't this PR 52689 ?


[Bug libstdc++/53680] Versioned symbols in static libstdc++

2012-06-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53680

--- Comment #6 from Jonathan Wakely  2012-06-15 
10:25:32 UTC ---
(In reply to comment #4)
> Note: undocumented configure option --disable-symvers helps but I think
> building with default parameters must work properly

It's not undocumented
http://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html


[Bug libstdc++/53680] Versioned symbols in static libstdc++

2012-06-15 Thread d.v.a at ngs dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53680

--- Comment #5 from __vic  2012-06-15 10:22:36 UTC ---
The exact description:

$ g++ -o formats/alcatel_alm9_decoder.fmt -shared -Llib -static-libgcc  -O3
-Wl,-s -Wl,--no-undefined src/alcatel_alm9_decoder.o formats.a decoder.a
-ljanuary_tools -ljanuary
/usr/bin/ld: formats/alcatel_alm9_decoder.fmt: undefined versioned symbol name
_ZSt10adopt_lock@@GLIBCXX_3.4.11
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: error: ld returned 1 exit status


$ nm lib/libstdc++.a | grep adopt
 B _ZN9__gnu_cxx10adopt_lockE
 B _ZSt10adopt_lock@@GLIBCXX_3.4.11