<div dir="ltr">When compiling libvirt-glib with CLANG, I get the following error.<br><div><br>16 warnings generated.<br>  CCLD     <a href="http://libvirt-glib-1.0.la">libvirt-glib-1.0.la</a><br>  GEN      LibvirtGLib-1.0.gir<br>
/usr/local/lib/libvirt.so: undefined reference to `__stack_chk_fail_local'<br>clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>linking of temporary binary failed: Command '['/usr/local/bin/libtool', '--mode=link', '--tag=CC', '--silent', 'clang', '-o', '/usr/home/helfman/workspace/ports/devel/libvirt-glib/work/libvirt-glib-0.1.7/libvirt-glib/tmp-introspectOO6vqG/LibvirtGLib-1.0', '-export-dynamic', '-O2', '-pipe', '-fno-strict-aliasing', '-L/usr/local/lib', '-fstack-protector', '/usr/home/helfman/workspace/ports/devel/libvirt-glib/work/libvirt-glib-0.1.7/libvirt-glib/tmp-introspectOO6vqG/LibvirtGLib-1.0.o', '-L.', './<a href="http://libvirt-glib-1.0.la">libvirt-glib-1.0.la</a>', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-lgthread-2.0', '-pthread', '-L/usr/local/lib', '-lglib-2.0', '-lintl']' returned non-zero exit status 1<br>
gmake[2]: *** [LibvirtGLib-1.0.gir] Error 1<br>gmake[2]: Leaving directory `/usr/home/helfman/workspace/ports/devel/libvirt-glib/work/libvirt-glib-0.1.7/libvirt-glib'<br>gmake[1]: *** [all-recursive] Error 1<br>gmake[1]: Leaving directory `/usr/home/helfman/workspace/ports/devel/libvirt-glib/work/libvirt-glib-0.1.7'<br>
gmake: *** [all] Error 2<br>*** [do-build] Error code 1<br><br></div><div>-jgh<br clear="all"></div><div><br>-- <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>