On Wed, Sep 19, 2012 at 3:31 PM, Ryan Mansfield <rmansfi...@qnx.com> wrote:
> $ head config.log > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by configure, which was > generated by GNU Autoconf 2.64. Invocation command line was > > $ ../configure --disable-bootstrap --enable-languages=c++ > > ## --------- ## > ## Platform. ## > > > >> Please check HAVE_GETIPINFO in libbacktrace/config.h. I assume it is 1. > > > Yep, it's 1. > > $ grep HAVE_GETIPINFO config.h > #define HAVE_GETIPINFO 1 > > >> It looks like you may be doing some sort of Canadian Cross build. >> What version of GCC is i686-unknown-linux-gnu-gcc? Does that version >> of gcc declare _Unwind_GetIPInfo in its unwind.h? Does it provide >> _Unwind_GetIPInfo in its libgcc? > > > I'm using gcc 4.1 on this machine. No, it doesn't have it in the unwind.h or > libgcc. Thanks for the additional info. I have committed this patch, which should fix the problem. Bootstrapped and ran libbacktrace tests on x86_64-unknown-linux-gnu. Ian 2012-09-19 Ian Lance Taylor <i...@google.com> * configure.ac: Only use GCC_CHECK_UNWIND_GETIPINFO when compiled as a target library. * configure: Rebuild.
foo.patch
Description: Binary data