This is the mail archive of the libstdc++-prs@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libstdc++/55: libstdc++ not initialised when linked as shared library on sparc-solaris-2.7



>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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]