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 28/05/2010 12:20, Kai Tietz wrote:
> 2010/5/28 Steven Bosscher <stevenb.gcc@
>> On Fri, May 28, 2010 at 10:04 AM, Kai Tietz <ktietz70@ wrote:
>>> Hi Steven,
>>>
>>> I was yesterday in hurry to make it compilable again. But patch is
>>> just intended as intermediate until issue is solved proper.
>>> Well, your patch lacks the removal of output.h header for winnt-cxx,c.
>>>  By removing those headers - as you suggest - I get warnings about
>>> 'enum machine_mode' not being defined and being an incomplete type.
>>> Additional the rules in t-cygming needs adjustment for header dependency.
>>>
>>> The attached patch fix things for me. Please take a look.
>>>
>>>        * config/i386/t-cygming: Adjust header dependencies for winnt-cxx.c.
>>>        * config/i386/winnt.c (IN_GCC_FRONTEND): Remove undefine.
>>>        * config/i386/winnt-cxx (IN_GCC_FRONTEND): Likewise.
>>>        (rtl.h, regs.h, hard-reg-set.h, output.h): Remove include.
>>>
>>> I tested all-gcc for i686-pc-cygwin, i686-pc-mingw32, and x86_64-w64-mingw32.
>> Yes, this looks OK to me.
>>
>> Ciao!
>> Steven
>>
> 
> Applied at rev. 159965.

  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.

    cheers,
      DaveK


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