Eric Blake
2017-07-25 20:43:02 UTC
...
CC m4.o
CC builtin.o
CC debug.o
CC eval.o
CC format.o
CC freeze.o
CC macro.o
CC input.o
CC output.o
CC path.o
CC symtab.o
CCLD m4
.../m4-1.4.18/lib/xmalloc.c:(.text+0x71): undefined reference to `__muloti4'
That appears to be a bug in clang.CC m4.o
CC builtin.o
CC debug.o
CC eval.o
CC format.o
CC freeze.o
CC macro.o
CC input.o
CC output.o
CC path.o
CC symtab.o
CCLD m4
.../m4-1.4.18/lib/xmalloc.c:(.text+0x71): undefined reference to `__muloti4'
Is there a known work around or patch to resolve this issue? This same version of m4 appears to compile w/o issue for several versions of gcc.
I don't know if the bug has already been fixed in gnulib (the providerfor xmalloc.c) - if so, then m4 will be fixed the next time we update to
newer gnulib and release an updated m4 (which may be sooner rather than
later, given that clang is a popular compiler, in spite of the fact that
although it is open source, it does not protect your freedoms like gcc).
In the meantime, I'm adding gnulib in cc to see if this is a known issue.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org