Date: Sun, 20 Sep 2020 13:19:13 +0200 From: Bruno Haible <bruno@...sp.org> To: "Dmitry V. Levin" <ldv@...linux.org> Cc: config-patches@....org, musl@...ts.openwall.com Subject: Re: OS detection wrong on Alpine Linux 3.10 Dmitry V. Levin wrote: > Is this __DEFINED_va_list macro the official way of detecting musl? No, but in a world where the musl people don't want to provide an official way  and the Alpine Linux people break their previously working way of detecting musl , we (GNU) need to use our own heuristics to fulfil the practical need of programs (especially test suites) to distinguish musl systems from glibc systems. > It looks very fragile to me. Indeed, config.guess would be less fragile if we combined both heuristics. Patch attached. It's a trade-off between code size and robustness. Bruno  https://wiki.musl-libc.org/faq.html  https://lists.gnu.org/archive/html/bug-gnulib/2018-02/msg00079.html  https://lists.gnu.org/archive/html/config-patches/2020-09/msg00002.html View attachment "0001-config.guess-Combine-two-heuristics-to-detect-musl-l.patch" of type "text/x-patch" (1639 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.