Cannot compile m4 1.4.18 with clang 4.0

"Thompson, KT" <[email protected]>
Newsgroups gmane.comp.gnu.m4.bugs
Message-ID <[email protected]>
As reported at https://github.com/LLNL/spack/issues/4883, there appears to be a problem compiling m4 (version 1.4.18) on Linux with LLVM clang 4.0.  The error is:

...
  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
../lib/libm4.a(xmalloc.o): In function `xnmalloc':
.../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.

Thanks,

-kt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.