Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libgcc PR/45716: Anthony Mallet: emac...



details:   https://anonhg.NetBSD.org/src/rev/7485c0e76686
branches:  trunk
changeset: 331701:7485c0e76686
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 20 13:29:07 2014 +0000

description:
PR/45716: Anthony Mallet: emacs (various versions) dies on unwind stuff in gcc 4.8
Apply fix that got missed as this file got moved from dist/gcc to dist/libgcc:

Somehow emacs tries to unregister frame info for a symbol it did not register.
Don't abort for now. This worked before because the previous version of gcc
did not bother unregistering. Adding debugging printfs makes emacs core
dump, where other programs work fine.

XXX: pullup 7

diffstat:

 external/gpl3/gcc/dist/libgcc/unwind-dw2-fde.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r adaa1106baf5 -r 7485c0e76686 external/gpl3/gcc/dist/libgcc/unwind-dw2-fde.c
--- a/external/gpl3/gcc/dist/libgcc/unwind-dw2-fde.c    Wed Aug 20 12:09:15 2014 +0000
+++ b/external/gpl3/gcc/dist/libgcc/unwind-dw2-fde.c    Wed Aug 20 13:29:07 2014 +0000
@@ -213,7 +213,9 @@
 
  out:
   __gthread_mutex_unlock (&object_mutex);
+#if 0
   gcc_assert (ob);
+#endif
   return (void *) ob;
 }
 



Home | Main Index | Thread Index | Old Index