build on sol8 with --enable-libstdcxx-v3
Roland Polzer
polzer@hotmail.com
Wed Apr 12 00:39:00 GMT 2000
Hi,
I have the same problem on Solaris 8 / X86 with gcc 2.95.2 and libstdc++
2.90.8. I configured and installed with default parameters (only had do
remove
a Werror from a makefile).
my sample program hello.cpp is:
#include <iostream>
using namespace std;
main ()
{
cout << "Hello";
}
$ g++ -fhonor-std hello.cpp
$ a.out
Segmentation Fault (core dumped)
$ gdb a.out core
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/local/lib/libstdc++.so.3...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
#0 0xdfb28dc8 in std::basic_ostream<char, std::char_traits<char>
>::sentry::sentry (this=0x804723c, __os=@0x8068740)
at /h/roland/gcc-2.95.2/libstdc++/bits/basic_ios.h:117
117 { return this->rdstate() == 0; }
Please help!
Roland (ropo@ropo.de)
PS: Lotus Notes claims that the username libstdc++ contains illegal
characters (+)
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
More information about the Libstdc++
mailing list