On Fri, 2017-01-06 at 15:48 -0600, Eric Blake 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.
Wow, that's great!
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?
I might not be able to play with Clang again in the immediate
future, but I don't see why that should prevent us from paving
the way for other parties who might be interested. Please go
right ahead :)
--
Andrea Bolognani / Red Hat / Virtualization