This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

EH bug in Makefile.in


> 
> 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]