libstdc++/55: libstdc++ not initialised when linked as shared library on sparc-solaris-2.7
anthony_w.geo@yahoo.com
anthony_w.geo@yahoo.com
Mon Apr 10 06:07:00 GMT 2000
>Number: 55
>Category: libstdc++
>Synopsis: libstdc++ not initialised when linked as shared library on sparc-solaris-2.7
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 10 06:07:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Anthony Williams
>Release: unknown-1.0
>Organization:
>Environment:
sparc-solaris-2.7
libstdc++ 2.90.8 snapshot
gcc 2.95.2
>Description:
cout and cerr are not initialised properly when libstdc++ is linked as a shared library - the following sample produces a core dump:
#include <iostream>
int main()
{
std::cout<<"hello"<<std::endl;
return 0;
}
If I use -static with gcc, then the program runs OK.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Libstdc++-prs
mailing list