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: CFT: Move unwinder to toplevel libgcc


On Fri, 2011-07-08 at 20:16 +0200, Rainer Orth wrote:
> Steve,
> 
> > It looks like this is caused by having two '#include "md-unwind-support.h"'
> > lines in unwind-ia64.c.  If I remove the first one (mixed in with the other
> > includes at the top of the file) and leave the second one then the file
> > compiles.  I still get the warning about discarding the cast but I guess that
> > is OK.  I have a bootstrap running on IA64 Linux and it looks good so far.
> > I haven't had a chance to follow-up on IA64 HP-UX.
> 
> I added the first #include to provide the definitions of UNW_IVMS_MODE
> and MD_UNW_COMPATIBLE_PERSONALITY_P, not realizing that there was
> another one already.
> 
> I guess the default definition of the latter can be moved below the
> second #include "md-unwind-support.h"?
> 
> 	Rainer

I think that will work for VMS.  I just removed the include since I
don't define the macro on HP-UX or Linux.  With that change and with the
removal of ia64/t-eh-ia64 from tmake_file for HP-UX I got a bootstrap on
both IA64 HP-UX and Linux.  I haven't done a full test run yet, I will
see if I can do that over the weekend.

Steve Ellcey
sje@cup.hp.com


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