On Thu, 2011-07-07 at 10:05 -0700, Steve Ellcey wrote: > On Thu, 2011-07-07 at 15:08 +0200, Rainer Orth wrote: > > > In that case, perhaps Steve could have a look? I'd finally like to make > > some progress on this patch. > > > > Thanks. > > Rainer > > When doing an IA64 Linux build (where I do need to compile > unwind-ia64.c) I am dying with this failure: > > In file included from > /test/big-foot1/gcc/nightly/src/trunk/libgcc/config/ia64/unwind-ia64.c:35:0: > ./md-unwind-support.h:42:7: error: unknown type name '_Unwind_FrameState' > ./md-unwind-support.h:132:54: error: unknown type name '_Unwind_FrameState' > /test/big-foot1/gcc/nightly/src/trunk/libgcc/config/ia64/unwind-ia64.c: In > function 'uw_update_reg_address': > /test/big-foot1/gcc/nightly/src/trunk/libgcc/config/ia64/unwind-ia64.c:1931:11: > warning: cast discards '__attribute__((const))' qualifier from pointer > target type [-Wcast-qual] > make[3]: *** [unwind-ia64.o] Error 1 > make[3]: Leaving directory > `/test/big-foot1/gcc/nightly/build-ia64-debian-linux-gnu-trunk/obj_gcc/ia64-debian-linux-gnu/libgcc' > make[2]: *** [all-stage1-target-libgcc] Error 2 > > Steve Ellcey > s...@cup.hp.com
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. Steve Ellcey s...@cup.hp.com