This is the mail archive of the gcc@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: Bootstrap failures on ia64 (was Re: Readiness of tree-ssa)


On Tue, 20 Jan 2004, Richard Henderson wrote:

> On Tue, Jan 20, 2004 at 11:52:07PM +0100, Richard Guenther wrote:
> > I just checked 3.4 branch and get exactly the same failure.  And I can't
> > find any trace of _Unwind_Resume_or_Rethrow being defined or used anywhere
> > but as extern declaration in unwind.h ...
>
> It's in unwind.inc.
>
> > anyone has an idea what I'm doing wrong? This is Debian unstable, binutils
> > is 2.14.90.0.7-3, libc 2.3.2.ds1-10.0.
>
> Did you configure for libunwind, and not have a version that
> is up-to-date enough to provide this symbol?

Ah, ok.  But shouldn't detect configure this problem and disable support
for libunwind then?  Also the mentioned --disable-libunwind-exceptions
workaround is not documented in install.texi, instead there is a note
for ia64 which reads "If you are using the optional libunwind library,
                                           ^^^^^^^^
then you must use libunwind 0.96 or later." which suggests, I have to
enable this manually, not fix a wrong configure guess with
--disable-libunwind-exceptions.

Ugh. I see where this libunwind is coming from... it's from a Intel 8.0
compiler installation in /usr/local/lib...

Well, something like

Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.ac,v
retrieving revision 2.6.2.2
diff -u -c -r2.6.2.2 configure.ac
*** configure.ac	19 Jan 2004 17:01:31 -0000	2.6.2.2
--- configure.ac	21 Jan 2004 10:30:05 -0000
***************
*** 973,979 ****
    [Define 0/1 to force the choice for exception handling model.])])

  if test x$host = x$target; then
!    AC_CHECK_LIB(unwind, main, use_libunwind_default=yes, use_libunwind_default=no)
  else
     use_libunwind_default=no
  fi
--- 973,979 ----
    [Define 0/1 to force the choice for exception handling model.])])

  if test x$host = x$target; then
!    AC_CHECK_LIB(unwind, _Unwind_Resume_or_Rethrow, use_libunwind_default=yes, use_libunwind_default=no)
  else
     use_libunwind_default=no
  fi

should help, as we diverge from the standards libunwind requirements
(untested).

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/


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