[Bug target/28586] thowing exception before main() leads to crash on AIX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586 Bug 28586 depends on bug 54791, which changed state. Bug 54791 Summary: AIX-only: Constructors are not called in main program. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54791 What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |INVALID
[Bug target/28586] thowing exception before main() leads to crash on AIX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #7 from Andrew Pinski --- No feedback in over a year so closing.
[Bug target/28586] thowing exception before main() leads to crash on AIX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586 David Edelsohn dje at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING --- Comment #6 from David Edelsohn dje at gcc dot gnu.org --- Is this now is fixed?
[Bug target/28586] thowing exception before main() leads to crash on AIX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586 Bug 28586 depends on bug 33704, which changed state. Bug 33704 Summary: AIX runs c++ constructors in incorrect order https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33704 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED
[Bug target/28586] thowing exception before main() leads to crash on AIX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586 --- Comment #5 from Zoltan Hidvegi zoltan at hidvegi dot com --- Btw. the original testcase was really failing because of Bug 33704, and it seems that is already fixed, however it's still open, or is it not fully fixed?
[Bug target/28586] thowing exception before main() leads to crash on AIX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586 Zoltan Hidvegi zoltan at hidvegi dot com changed: What|Removed |Added CC||zoltan at hidvegi dot com --- Comment #4 from Zoltan Hidvegi zoltan at hidvegi dot com --- This testcase fails with gcc-4.8, but works with g++-4.9 and later on AIX both for 32-bit and 64-bit, even though MD_FALLBACK_FRAME_STATE_FOR is not implemented for 64-bit AIX. Is there still a bug here? Maybe this works but there are still issues when using dlopen or shared libaries? I've tried to create a failing testcase using dlopen etc. for gcc-4.9 or later, but everything I've tried works the same on AIX and Linux.
[Bug target/28586] thowing exception before main() leads to crash on AIX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586 David Edelsohn dje at gcc dot gnu.org changed: What|Removed |Added CC||chandrakm at hotmail dot com --- Comment #3 from David Edelsohn dje at gcc dot gnu.org --- *** Bug 61637 has been marked as a duplicate of this bug. ***
[Bug target/28586] thowing exception before main() leads to crash on AIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586 David Edelsohn dje at gcc dot gnu.org changed: What|Removed |Added Target|powerpc-aix |powerpc-ibm-aix Last reconfirmed|2006-08-03 18:48:29 |2012-12-10 18:48:29 Host||powerpc-ibm-aix Build||powerpc-ibm-aix --- Comment #2 from David Edelsohn dje at gcc dot gnu.org 2012-12-10 17:17:07 UTC --- This probably is related to static constructors of dependent libraries not running before constructors in the application because it is trying to throw an exception from a static constructor.
[Bug target/28586] thowing exception before main() leads to crash on AIX
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586
[Bug target/28586] thowing exception before main() leads to crash on AIX
--- Comment #1 from dje at gcc dot gnu dot org 2006-08-03 18:48 --- Fixing this requires implementing fallback framestate for AIX, for which there is little demand. -- dje at gcc dot gnu dot org changed: What|Removed |Added CC||dje at gcc dot gnu dot org Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-08-03 18:48:29 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586