Steve, >> It looks like a prefix is missing somewhere since it is trying to access >> /libunwind.so. This >> may be something messed up in my build area again but I did run autoconf in >> libgcc so I am >> not sure what is going on. I'll dig around some more but I thought I would >> see if this looks >> familiar to you. > > It didn't, but I now see what's going on: gcc/config.gcc has > > *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* > | *-*-kopensolaris*-gnu) > [...] > tmake_file="t-slibgcc-elf-ver t-linux" > > t-slibgcc-elf-ver has the whole shebang necessary to build versioned ELF > shared libraries, among others SHLIB_DIR which is missing above. This > should be dealt with by using > > tmake_file="$tmake_file t-slibgcc t-slibgcc-elf-ver" > > in libgcc/config.host. > > t-linux adds > > SHLIB_MAPFILES += $(srcdir)/config/libgcc-glibc.ver > > but there's more SHLIB_* related stuff in the regular gcc/config ia64 > t-* files used on ia64*-*-linux*: > > ia64/t-ia64:SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver > t-libunwind:SHLIB_LC = -lunwind -lc > ia64/t-glibc:SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-glibc.ver > > This seems all so involved and entangled with the t-slibgcc* stuff that > it's probably best to keep out of this patch. I'll try to come up with > something over the week, either fixing up this patch that it should > handle things correctly or splitting it out into its own, either > together with the rest of SHLIB_* handling or separate and on top of > that.
I had a fresh look and it seems this isn't as bad as it might have been: the only SHLIB_ macros used are SHLIB_(DIR|OBJS|SOLINK|SLIBDIR_QUAL), which are all present in libgcc/config/t-slibgcc and are substituted by configure. While one might split them out of t-slibgcc for reuse by both libgcc_s and libunwind or also substitute them t-libunwind-elf, this is probably overkill. Could you please try to insert t-slibgcc in front of t-libunwind-elf in the ia64*-*-linux* case in libgcc/config.host? Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University