EH bug in Makefile.in
H.J. Lu
hjl@lucon.org
Fri Oct 24 12:11:00 GMT 1997
>
> 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)
More information about the Gcc
mailing list