[Bug target/59788] Mixing libc and libgcc_s unwinders on 64-bit Solaris 10+/x86 breaks EH
ro at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 4 09:32:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
--- Comment #4 from Rainer Orth <ro at gcc dot gnu.org> ---
Author: ro
Date: Tue Feb 4 09:31:38 2014
New Revision: 207454
URL: http://gcc.gnu.org/viewcvs?rev=207454&root=gcc&view=rev
Log:
Ensure libgcc_s unwinder is always used on 64-bit Solaris 10+/x86 (PR
target/59788)
gcc:
PR target/59788
* config/sol2.h (LINK_LIBGCC_MAPFILE_SPEC): Define.
(LINK_SPEC): Use it for -shared, -shared-libgcc.
libgcc:
PR target/59788
* config/t-slibgcc-sld (libgcc-unwind.map): New target.
(install-libgcc-unwind-map-forbuild): New target.
(all): Depend on install-libgcc-unwind-map-forbuild.
(install-libgcc-unwind-map): New target.
(install): Depend on install-libgcc-unwind-map.
gcc/testsuite:
PR target/59788
* g++.dg/eh/unwind-direct.C: New test.
toplevel:
PR target/59788
* ltmain.sh (opt_duplicate_compiler_generated_deps): Enable on
*solaris2*.
Added:
trunk/gcc/testsuite/g++.dg/eh/unwind-direct.C
Modified:
trunk/ChangeLog
trunk/gcc/ChangeLog
trunk/gcc/config/sol2.h
trunk/gcc/testsuite/ChangeLog
trunk/libgcc/ChangeLog
trunk/libgcc/config/t-slibgcc-sld
trunk/ltmain.sh
More information about the Gcc-bugs
mailing list