Steve,

> It looks like the GCC build is trying to compile unwind-ia64.c on IA64
> HP-UX even though it should not use or need this file.  Using
> --with-system-libunwind doesn't seem to help.  I am not sure where this
> should be handled under the new setup.  Previously config.gcc would
> either include or not include t-glibc-libunwind in the Makefile to build
> or not build this file.  This might be coming from t-eh-ia64 rather
> then t-glibc-libunwind.  Both of these include unwind-ia64.c.

I see what's going on: before my patch, ia64*-*-hpux* would use

tmake_file="ia64/t-ia64 ia64/t-hpux"

The former has

LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c \
  $(srcdir)/unwind-c.c

the latter

LIB2ADDEH = $(srcdir)/unwind-c.c

overriding the ia64 default.

Unfortunately, I got the ordering wrong in libgcc:

tmake_file="ia64/t-hpux ia64/t-eh-ia64"

To fix this, ia64/t-eh-ia64 can go completely.  This should restore
things as they were before.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to