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) How Reproducible: Always Steps to Reproduce: 1. Compile program using g++3 2. Run program Actual Results: The program segfaults instantly Expected Results: The program should work Additional Information:
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: #include <iostream> #include <stdexcept> using std::cout; main() { cout << "hello world\n"; } I consider this very high priority.
Fixed in gcc 3.2.