From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-10.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31267 invoked from network); 23 Sep 2020 13:13:48 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 23 Sep 2020 13:13:48 -0000 Received: (qmail 25871 invoked by uid 550); 23 Sep 2020 13:13:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 25850 invoked from network); 23 Sep 2020 13:13:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=+RnlTYXuih5x3zutioGLs90T9qvOIAEkivw1/wpOCno=; b=WSZHSbHAq4X6RQaNXWgO+9HCI/xGMgLiUJJNYGThGWHV9xn8sq9neVe/wwYvNEeixT GRk6RDFxPuiCSKoxCwWmf2MK/vt74fpNc0IyvpMnFWqZt2IxdUMEjlJv3WVMKj4D1k7T bIowkUTKiXdzfmtuD/JxT4DSryYzpgdzUrz/FNSgJglbkuQXP+DDPywXm87ke3+iG39Y PyYF7x6Iiap5QN8xCHKENAilyZO7BVZdd1a9ad9o7uURY9CFFUOC4Gjvz/ECNaw0AtYr jN50wfGFXZKCP5ij9NFtbN/9oxYO4nlQicJd72JiFwCMU8/Ra2HfNyFt7fQ8Xq/Ofpg9 2MJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=+RnlTYXuih5x3zutioGLs90T9qvOIAEkivw1/wpOCno=; b=l996hxn4/LUKmy+zcXrefAZDnZdHDGFa7SRKXwoXbcLOhmOMi2S0IF0Adwz1nN8Q9x 8SRJAADV4F9QVf+1bkLTKh87eGqzMvd9aHY3WfPjqlXSqrLyDdciRKFzJlDENYVI/yWR SvWQ+DYFRlCYShwFNNFZNd9rn/8iECAJyaQN20F+GU+oawwFcmp1WGb2nUE1BO/J3bhZ uSPFZxUjsyJjC7eJIaZh4A95Wcx1y6hLpMGB2pR6KTp73ooaGF7Q87xQy5cFrs6acCUj XA/nlxlLxS8dDU8x1/OD6jd/z7MIMJFo60YCWFVMCIMYohCNCOblhGbKndYY7dbRGuq/ sIRQ== X-Gm-Message-State: AOAM530cPROkPn0ZfNdvSw8f+FPRyZNmsCbbgRu/WaUiK7R449SpdmXJ Q/rKsdkq0ZAmiYxzPx7vHKWm48CCBYVaVEWjtqbijLvvVqQ= X-Google-Smtp-Source: ABdhPJwotas4VUZs09lb6LVfK2NQxb8csSr+6gXmw/bft7K4D9XH0PhnAOOcBDddY5kP0MqFgKGWG/qgQYEIYZfG2fw= X-Received: by 2002:a19:38c:: with SMTP id 134mr3227515lfd.564.1600866808759; Wed, 23 Sep 2020 06:13:28 -0700 (PDT) MIME-Version: 1.0 References: <4768019.hHWyC0TzgU@omega> <20200920135629.GI2947641@port70.net> <20200920171446.GB3265@brightrain.aerifal.cx> <2533200.g9kxISXj3W@omega> <20200922184610.GI3265@brightrain.aerifal.cx> In-Reply-To: From: James Y Knight Date: Wed, 23 Sep 2020 09:13:16 -0400 Message-ID: To: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="000000000000786e0705affad9cd" Subject: Re: [musl] Re: OS detection wrong on Alpine Linux 3.10 --000000000000786e0705affad9cd Content-Type: text/plain; charset="UTF-8" > > >All I need to know is what version of Musl I am dealing with and I can > >configure myself. > > Are you willing to maintain an #ifdef forest for all the versions of > all the libcs and all the kernels your programs may be used with, so > you can list exhaustively the available features in every configuration? > At the risk of jumping in on a question asked of someone else: yes, absolutely! (Not _all_ available features of course, just the ones required.) There are generally not that many nonstandard features you'd want to use in a typical program, and using an ifdef forest to implement an abstraction layer around those couple items is just fine. --000000000000786e0705affad9cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>All I need to know is what version of Musl I am dealing with and = I can
>configure myself.

=C2=A0 Are you willing to maintain an #ifdef forest for all the versions of=
all the libcs and all the kernels your programs may be used with, so
you can list exhaustively the available features in every configuration?

At = the risk of jumping in on a question asked of someone else: yes, absolutely= ! (Not _all_ available features of course, just the ones required.)

There are generally not that ma= ny nonstandard features you'd want to use in a typical program, and usi= ng an ifdef forest to implement an abstraction layer around those couple it= ems is just fine.
--000000000000786e0705affad9cd--