Re: [PATCH 0/2] Attempt, and fail, to fix build with Clang 3.9 / Linux

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]
  Powered by Linux