This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
EH bug in Makefile.in
- To: jason at cygnus dot com (Jason Merrill)
- Subject: EH bug in Makefile.in
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 24 Oct 1997 12:11:01 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
> 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)