This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [patch win]: Fix bootstrap after poising of rtl.h


On Sat, May 29, 2010 at 2:13 AM, Dave Korn <dave.korn.cygwin@gmail.com> wrote:
> ?Did you test this vs. java? ?I just got back from an evening out to find
> bootstrap failed during libjava build with:
>
>> In file included from /gnu/gcc/gcc-unpatched/gcc/java/except.c:33:0:
>> /gnu/gcc/gcc-unpatched/gcc/except.h:322:6: error: #error "EH_RETURN_DATA_REGNO r
>> equired"
>> /gnu/gcc/gcc-unpatched/gcc/except.h:325:6: error: #error "{DWARF2,TARGET}_UNWIND
>> _INFO required"
>> /gnu/gcc/gcc-unpatched/gcc/except.h:329:6: error: #error "EH_RETURN_HANDLER_RTX
>> or eh_return required"
>> /gnu/gcc/gcc-unpatched/gcc/except.h:335:6: error: #error "Must use SJLJ exceptio
>> ns but configured not to"
>
> ?I haven't had time to look deeper at it yet, and will need 8 hours sleep
> before I do, but I'll get back to it in the morning if nothing obvious has
> jumped out at you guys overnight.

It looks like you need tm.h for except.h if USING_SJLJ_EXCEPTIONS.
You may have noticed that already gave me head aches for all front
ends...  Can you try the patch at the bottom of this mail, please?

Ciao!
Steven

Index: java/except.c
===================================================================
--- java/except.c	(revision 160005)
+++ java/except.c	(working copy)
@@ -25,6 +25,7 @@
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"
+#include "tm.h"
 #include "tree.h"
 #include "java-tree.h"
 #include "javaop.h"


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