On Wed, 2007-03-28 at 21:27 +0900, Magnus Damm wrote:
> On 3/16/07, Ian Campbell <[EMAIL PROTECTED]> wrote:
> > This is necessary when running Xen with a 64 bit hypervisor and 32 bit
> > domain 0 since the CPU crash notes will be 64 bit.
> >
> > Detecting the hypervisor archiecture requires libxenctrl and therefore this
> > support is optional and disabled by default.
> >
> > Signed-off-by: Ian Campbell <[EMAIL PROTECTED]>
> [snip]
> > +dnl find Xen control stack libraries
> > +if test "$with_xen" = yes ; then
> > +       AC_CHECK_HEADER(xenctrl.h, AC_CHECK_LIB(xenctrl, xc_version,
> > +               [AC_DEFINE(HAVE_XENCTRL_H, 1) LIBS="$LIBS -lxenctrl"]))
> > +fi
> > +
> 
> Building for i386 against xen-3.0.4-testing-13139 seems to require
> linking against pthread. Maybe this is just a side effect of a broken
> cross-compiler setup on my part...

libxenctrl links against pthread but I thought that so long as the usage
was contained completely within the library (which it is) -pthread
wasn't required to link the app. I could be totally wrong though.

Ian.

_______________________________________________
fastboot mailing list
fastboot@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/fastboot

Reply via email to