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.
The full log is pasted below. Thanks, Cody ========================================= GNU M4 1.4.18: tests/test-suite.log ========================================= # TOTAL: 170 # PASS: 148 # SKIP: 20 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: test-btowc1.sh ==================== Skipping test: no traditional french locale is installed SKIP test-btowc1.sh (exit status: 77) SKIP: test-btowc2.sh ==================== Skipping test: no french Unicode locale is installed SKIP test-btowc2.sh (exit status: 77) SKIP: test-c-stack2.sh ====================== cannot tell stack overflow from crash; consider installing libsigsegv SKIP test-c-stack2.sh (exit status: 77) FAIL: test-localename ===================== test-localename.c:183: assertion 'strcmp (name, "fr_FR.UTF-8") == 0' failed FAIL test-localename (exit status: 134) SKIP: test-mbrtowc1.sh ====================== Skipping test: no traditional french locale is installed SKIP test-mbrtowc1.sh (exit status: 77) SKIP: test-mbrtowc2.sh ====================== Skipping test: no french Unicode locale is installed SKIP test-mbrtowc2.sh (exit status: 77) SKIP: test-mbrtowc3.sh ====================== Skipping test: no traditional japanese locale is installed SKIP test-mbrtowc3.sh (exit status: 77) SKIP: test-mbrtowc4.sh ====================== Skipping test: no transitional chinese locale is installed SKIP test-mbrtowc4.sh (exit status: 77) 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) SKIP: test-mbrtowc-w32-1.sh =========================== Skipping test: not a native Windows system SKIP test-mbrtowc-w32-1.sh (exit status: 77) SKIP: test-mbrtowc-w32-2.sh =========================== Skipping test: not a native Windows system SKIP test-mbrtowc-w32-2.sh (exit status: 77) SKIP: test-mbrtowc-w32-3.sh =========================== Skipping test: not a native Windows system SKIP test-mbrtowc-w32-3.sh (exit status: 77) SKIP: test-mbrtowc-w32-4.sh =========================== Skipping test: not a native Windows system SKIP test-mbrtowc-w32-4.sh (exit status: 77) SKIP: test-mbrtowc-w32-5.sh =========================== Skipping test: not a native Windows system SKIP test-mbrtowc-w32-5.sh (exit status: 77) SKIP: test-mbsinit.sh ===================== Skipping test: no french Unicode locale is installed SKIP test-mbsinit.sh (exit status: 77) SKIP: test-setlocale1.sh ======================== Skipping test: no locale for testing is installed SKIP test-setlocale1.sh (exit status: 77) SKIP: test-vc-list-files-cvs.sh =============================== test-vc-list-files-cvs.sh: skipped test: cvs not found in PATH SKIP test-vc-list-files-cvs.sh (exit status: 77) SKIP: test-wcrtomb-w32-1.sh =========================== Skipping test: not a native Windows system SKIP test-wcrtomb-w32-1.sh (exit status: 77) SKIP: test-wcrtomb-w32-2.sh =========================== Skipping test: not a native Windows system SKIP test-wcrtomb-w32-2.sh (exit status: 77) SKIP: test-wcrtomb-w32-3.sh =========================== Skipping test: not a native Windows system SKIP test-wcrtomb-w32-3.sh (exit status: 77) SKIP: test-wcrtomb-w32-4.sh =========================== Skipping test: not a native Windows system SKIP test-wcrtomb-w32-4.sh (exit status: 77) SKIP: test-wcrtomb-w32-5.sh =========================== Skipping test: not a native Windows system SKIP test-wcrtomb-w32-5.sh (exit status: 77)
signature.asc
Description: OpenPGP digital signature