From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: jason@cygnus.com (Jason Merrill) Cc: egcs@cygnus.com Subject: EH bug in Makefile.in Date: Fri, 24 Oct 1997 12:11:00 -0000 Message-id: References: X-SW-Source: 1997-10/msg01032.html > > I believe that the problem on linux is that you need a recent gas snapshot; > 2.8.1 fills a .align in .eh_frame with NOPs instead of zeroes. > No. The bug is in gcc/Makefile.in. egcs-971023 turns off exceptions in C. But _eh.o in libgcc2.a has to be compiled with exceptions on. I added -fexceptions to LIBGCC2_CFLAGS in gcc/Makefile.in. EH went back to egcs-971016 for me now. I don't have a clean patch since my gcc/Makefile.in is modified. You can just add -fexceptions to LIBGCC2_CFLAGS in gcc/Makefile.in by hand. -- H.J. Lu (hjl@gnu.ai.mit.edu)