Re: libvirt-glib fails to compile with CLANG compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 1, 2013 at 3:17 AM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
Hi,

On Fri, Sep 27, 2013 at 12:09:43PM -0700, Jason Helfman wrote:
> On Thu, Sep 26, 2013 at 6:06 AM, Christophe Fergeau <cfergeau@xxxxxxxxxx>wrote:
> > On Wed, Sep 25, 2013 at 09:31:52AM -0700, Jason Helfman wrote:
> > > When compiling libvirt-glib with CLANG, I get the following error.
> > >
> > > 16 warnings generated.
> > >   CCLD     libvirt-glib-1.0.la
> > >   GEN      LibvirtGLib-1.0.gir
> > > /usr/local/lib/libvirt.so: undefined reference to
> > `__stack_chk_fail_local'
> > > clang: error: linker command failed with exit code 1 (use -v to see
> > > invocation)
>
Rereading that  log more carefully, it's complaining about a missing symbol
in the installed libvirt.so, not in one of the .so that was just built. Are
other applications able to link against libvirt? Was libvirt compiled with
clang or gcc?

Christophe

That is odd. I de-installed libvirt, and re-installed it. After this libvirt-glib compiled with CLANG, and didn't result in any failure.
Many warnings, but good to know it does compile.

Thanks!

-jgh

--
Jason Helfman          | FreeBSD Committer
jgh@xxxxxxxxxxx     | http://people.freebsd.org/~jgh  | The Power to Serve
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]