------- Comment #5 from rguenth at gcc dot gnu dot org 2010-03-31 09:22 ------- It is enough to build the shared library with -flto -fuse-linker-plugin. You then get
/tmp> LD_LIBRARY_PATH=. ./main terminate called after throwing an instance of 'libexc' what(): exception in library Aborted -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-03-31 09:22:54 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43581