<div dir="ltr">On Tue, Oct 1, 2013 at 8:46 AM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On Tue, Oct 01, 2013 at 08:35:41AM -0700, Jason Helfman wrote:<br>
> On Tue, Oct 1, 2013 at 3:17 AM, Christophe Fergeau <<a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a>>wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > On Fri, Sep 27, 2013 at 12:09:43PM -0700, Jason Helfman wrote:<br>
> > > On Thu, Sep 26, 2013 at 6:06 AM, Christophe Fergeau <<a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a><br>
> > >wrote:<br>
> > > > On Wed, Sep 25, 2013 at 09:31:52AM -0700, Jason Helfman wrote:<br>
> > > > > When compiling libvirt-glib with CLANG, I get the following error.<br>
> > > > ><br>
> > > > > 16 warnings generated.<br>
> > > > >   CCLD     <a href="http://libvirt-glib-1.0.la" target="_blank">libvirt-glib-1.0.la</a><br>
> > > > >   GEN      LibvirtGLib-1.0.gir<br>
> > > > > /usr/local/lib/libvirt.so: undefined reference to<br>
> > > > `__stack_chk_fail_local'<br>
> > > > > clang: error: linker command failed with exit code 1 (use -v to see<br>
> > > > > invocation)<br>
> > ><br>
> > > <a href="http://people.freebsd.org/~jgh/files/libvirt-glib-make.log" target="_blank">http://people.freebsd.org/~jgh/files/libvirt-glib-make.log</a><br>
> > ><br>
> > > It was clean, yes.<br>
> ><br>
> > Rereading that  log more carefully, it's complaining about a missing symbol<br>
> > in the installed libvirt.so, not in one of the .so that was just built. Are<br>
> > other applications able to link against libvirt? Was libvirt compiled with<br>
> > clang or gcc?<br>
> ><br>
> > Christophe<br>
> ><br>
><br>
> That is odd. I de-installed libvirt, and re-installed it. After this<br>
> libvirt-glib compiled with CLANG, and didn't result in any failure.<br>
> Many warnings, but good to know it does compile.<br>
<br>
</div></div>Hmm, I don't see any warnings at all, compiling with CLang on Linux.<br>
Please let us know what you're seeing on BSD ?<br>
<span class=""><font color="#888888"><br>
Daniel<br>
</font></span></blockquote></div><br>Here are some build logs. The first is for amd64, and the latter is for i386.<br><br><a href="https://redports.org/~jgh/20131001181900-6317-149023/libvirt-glib-0.1.7.log">https://redports.org/~jgh/20131001181900-6317-149023/libvirt-glib-0.1.7.log</a><br>
<a href="https://redports.org/~jgh/20131001181900-6317-149026/libvirt-glib-0.1.7.log">https://redports.org/~jgh/20131001181900-6317-149026/libvirt-glib-0.1.7.log</a><br clear="all"><br></div><div class="gmail_extra">-jgh<br>
<br></div><div class="gmail_extra">-- <br><div dir="ltr">Jason Helfman          | FreeBSD Committer<br>jgh@FreeBSD.org     | <a href="http://people.freebsd.org/%7Ejgh" target="_blank">http://people.freebsd.org/~jgh</a>  | The Power to Serve<br>
</div>
</div></div>