On 9/11/19 2:58 PM, Cody Logan wrote: > Hello, > > I'm attempting to cross-compile M4 1.4.18 with musl libc instead of > glibc. The build completes, but when I run `make check`, I get two test > failures. I'm running Arch Linux x86-64 on Linux 5.2.13 and > cross-compiling with GCC 9.2.0 (targeting x86_64-pc-linux-musl).FWIW, > the same failures occur on Alpine Linux with native GCC 8.3.0.
Both of these failed tests come from gnulib (added in cc); I'm not sure if they have been fixed in the meantime (in which case, you just need to wait for an eventual m4 1.4.19 that uses a newer gnulib) or represent problems that others will still hit. > FAIL: test-localename > ===================== > > test-localename.c:183: assertion 'strcmp (name, "fr_FR.UTF-8") == 0' failed > FAIL test-localename (exit status: 134) > > > FAIL: test-mbrtowc5.sh > ====================== > > test-mbrtowc.c:106: assertion 'wc == c' failed > ./test-mbrtowc5.sh: line 4: 789048 Aborted (core dumped) > LC_ALL=C ./test-mbrtowc${EXEEXT} 5 > FAIL test-mbrtowc5.sh (exit status: 134) > But on the bright side, it probably does not represent an actual bug in your just-built m4. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org