[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: binutils broken?



Hey there,

I confirm. It does not have to be anything beyond the following program to 
crash the compiler:

#include <string>
using namespace std;

int
main ()
{
  string astring="Hallo Welt.";
  return 0;
}


g++ -c hallowelt.cpp

g++: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions, see
<URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.

I have found out, it has to refer something from libstdc++, the plain C++ is 
not enough. Can it be something with the stdc++ lib?

jbar


ii  libstdc++5     3.3.5-10.0.0.1 The GNU Standard C++ Library v3
ii  libstdc++5-3.3 3.3.5-10.0.0.1 The GNU Standard C++ Library v3 (development
un  libstdc++5-3.3 <none>         (no description available)
un  libstdc++5-dev <none>         (no description available)
ii  libstdc++6     4.0-0pre7      The GNU Standard C++ Library v3
ii  libstdc++6-4.0 4.0-0pre7      The GNU Standard C++ Library v3 (development
un  libstdc++6-4.0 <none>         (no description available)
pn  libstdc++6-dev <none>         (no description available)
un  libstdc++6-doc <none>         (no description available)


And just gcc-4.0, no 3.4 versions installed.



Reply to: