Red Hat Bugzilla – Bug 61226
Code produced by g++3 segfaults leaving no corefile
Last modified: 2007-04-18 12:40:57 EDT
Description of Problem:
After updating my gcc3 suite to 3.0.4-1 one of my programs has started to
segfault immidiately after starting. It doesn't even seem to enter my code,
but crashes before main() and leaves no core.
Version-Release number of selected component (if applicable):
3.0.4-1 (Newest update from redhat)
Steps to Reproduce:
1. Compile program using g++3
2. Run program
The program segfaults instantly
The program should work
Created attachment 48644 [details]
Output from trying to run the in a GDB session
I find that Hello World will segfault if linked static but dynamic is OK:
cout << "hello world\n";
I consider this very high priority.
Fixed in gcc 3.2.