On 01/02/2017 12:15 PM, Andrea Bolognani wrote:
The last one I was unable to work around in any sensible
manner: when linking, clang fails with
../gnulib/lib/.libs/libgnu.a(mgetgroups.o):
In function `realloc_groupbuf':
.../libvirt/gnulib/lib/mgetgroups.c:45:
undefined reference to `__muloti4'
This seems to be a well-known issue[1] with no solution in
sight; passing CFLAGS='-rtlib=compiler-rt' to configure
allows the compilation to succeed but, yeah, way gross.
And gnulib just fixed things to avoid tickling that clang bug:
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=04441fd8
Work around LLVM bug 16404, which is still not fixed.
https://llvm.org/bugs/show_bug.cgi?id=16404
Problem reported by Nelson H. F. Beebe.
Shall I go ahead and update the gnulib submodule to the latest, and see
if you can get further with your clang tests as a result?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org