public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/35209] New: __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO
@ 2008-02-15 15:56 rsandifo at gcc dot gnu dot org
2008-02-15 16:00 ` [Bug libstdc++/35209] " rsandifo at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2008-02-15 15:56 UTC (permalink / raw)
To: gcc-bugs
The __gnu_cxx::stdio_sync_filebuf<char> constructor are
not listed in gnu.ver, so aren't provided by libstdc++.so.
The following test doesn't link with -O0 or -O1, although
it does with -O2, "-O0 -static" and "-O1 -static".
-------------------------------------------------------------
#include <cstdio>
#include <ext/stdio_sync_filebuf.h>
__gnu_cxx::stdio_sync_filebuf<char> foo (stdin);
int main () {}
-------------------------------------------------------------
--
Summary: __gnu_cxx::stdio_sync_filebuf<char> constructor isn't
exported by the DSO
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: link-failure
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rsandifo at gcc dot gnu dot org
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35209
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/35209] __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO
2008-02-15 15:56 [Bug libstdc++/35209] New: __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO rsandifo at gcc dot gnu dot org
@ 2008-02-15 16:00 ` rsandifo at gcc dot gnu dot org
2008-02-16 10:46 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2008-02-15 16:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rsandifo at gcc dot gnu dot org 2008-02-15 15:59 -------
Er, sorry for the grammar failure in that summary.
I wrote "are" instead of "is" because the same problem
affects the wchar_t version.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35209
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/35209] __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO
2008-02-15 15:56 [Bug libstdc++/35209] New: __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO rsandifo at gcc dot gnu dot org
2008-02-15 16:00 ` [Bug libstdc++/35209] " rsandifo at gcc dot gnu dot org
@ 2008-02-16 10:46 ` rguenth at gcc dot gnu dot org
2008-02-16 19:34 ` pcarlini at suse dot de
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-16 10:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-02-16 10:45 -------
Confirmed. Fails since this is a valid program.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |3.4.6
Last reconfirmed|0000-00-00 00:00:00 |2008-02-16 10:45:47
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35209
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/35209] __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO
2008-02-15 15:56 [Bug libstdc++/35209] New: __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO rsandifo at gcc dot gnu dot org
2008-02-15 16:00 ` [Bug libstdc++/35209] " rsandifo at gcc dot gnu dot org
2008-02-16 10:46 ` rguenth at gcc dot gnu dot org
@ 2008-02-16 19:34 ` pcarlini at suse dot de
2008-02-16 23:41 ` paolo at gcc dot gnu dot org
2008-02-16 23:42 ` pcarlini at suse dot de
4 siblings, 0 replies; 6+ messages in thread
From: pcarlini at suse dot de @ 2008-02-16 19:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pcarlini at suse dot de 2008-02-16 19:34 -------
On it.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35209
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/35209] __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO
2008-02-15 15:56 [Bug libstdc++/35209] New: __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO rsandifo at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-02-16 19:34 ` pcarlini at suse dot de
@ 2008-02-16 23:41 ` paolo at gcc dot gnu dot org
2008-02-16 23:42 ` pcarlini at suse dot de
4 siblings, 0 replies; 6+ messages in thread
From: paolo at gcc dot gnu dot org @ 2008-02-16 23:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from paolo at gcc dot gnu dot org 2008-02-16 23:40 -------
Subject: Bug 35209
Author: paolo
Date: Sat Feb 16 23:39:56 2008
New Revision: 132372
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132372
Log:
2008-02-17 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/35209
* config/abi/pre/gnu.ver: Export stdio_sync_filebuf symbols.
* testsuite/ext/stdio_sync_filebuf/char/35209.cc: New.
* testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc: Likewise.
Added:
trunk/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/35209.cc
trunk/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/35209.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/abi/pre/gnu.ver
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35209
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/35209] __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO
2008-02-15 15:56 [Bug libstdc++/35209] New: __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO rsandifo at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-02-16 23:41 ` paolo at gcc dot gnu dot org
@ 2008-02-16 23:42 ` pcarlini at suse dot de
4 siblings, 0 replies; 6+ messages in thread
From: pcarlini at suse dot de @ 2008-02-16 23:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pcarlini at suse dot de 2008-02-16 23:41 -------
Fixed for 4.3.0.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35209
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-02-16 23:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-15 15:56 [Bug libstdc++/35209] New: __gnu_cxx::stdio_sync_filebuf<char> constructor isn't exported by the DSO rsandifo at gcc dot gnu dot org
2008-02-15 16:00 ` [Bug libstdc++/35209] " rsandifo at gcc dot gnu dot org
2008-02-16 10:46 ` rguenth at gcc dot gnu dot org
2008-02-16 19:34 ` pcarlini at suse dot de
2008-02-16 23:41 ` paolo at gcc dot gnu dot org
2008-02-16 23:42 ` pcarlini at suse dot de
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).