This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/43581] exception handling broken across shared libaries with -fuse-linker-plugin
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2010 09:22:54 -0000
- Subject: [Bug lto/43581] exception handling broken across shared libaries with -fuse-linker-plugin
- References: <bug-43581-15771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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