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=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12868 invoked from network); 21 Sep 2020 11:46:45 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 21 Sep 2020 11:46:45 -0000 Received: (qmail 27906 invoked by uid 550); 21 Sep 2020 11:46:43 -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 27886 invoked from network); 21 Sep 2020 11:46:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600688791; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=z1vFSim5AaIf+QtKEo7z/ZX+Rx/Sl8E+braN6RFi31c=; b=aURy6KurfPEd/koivmc+234O7FRVUkcgrjn4IgIH9byicDDKCCut/V75gAVp/l4ylI9DlW lc0xlPNwSDOMRmGanHp7Pjiixz3JR8lvW+bnpulIFQoO858H0mabTIcjfa6otyro65hrJP 6dI5pSQsQDTqe1TFE+GA/r6qcWJrLY8= X-MC-Unique: oov96uoWMYm8IWkKUFsWog-1 From: Florian Weimer To: "A. Wilcox" Cc: musl@lists.openwall.com References: <4768019.hHWyC0TzgU@omega> <20200920135629.GI2947641@port70.net> <20200920171446.GB3265@brightrain.aerifal.cx> <2533200.g9kxISXj3W@omega> <156c512b-20db-f688-d596-021fe97ae2e8@adelielinux.org> Date: Mon, 21 Sep 2020 13:46:25 +0200 In-Reply-To: <156c512b-20db-f688-d596-021fe97ae2e8@adelielinux.org> (A. Wilcox's message of "Mon, 21 Sep 2020 01:53:31 -0500") Message-ID: <87sgbb2vzi.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=fweimer@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Subject: Re: [musl] Re: OS detection wrong on Alpine Linux 3.10 * A. Wilcox: > If a downstream needs to care about a behaviour of setlocale, they can > write an autoconf macro testing the behaviour, and then use that. Then > when glibc and/or musl and/or FreeBSD and/or $platform_of_the_week > changes its behaviour, the test suite still passes without me having to > dive into horrible m4 code and making me extremely angry for a week. If it's a run-time property, it should really be a run-time check, otherwise cross-compilers will break. There are things that are not open to run-time checks, though, like the presence of symbol versioning support in the dynamic loader. Ideally, musl applications would be built with a toolchain that completely lacks symbol versioning support, but that's not what happens in practice. Thanks, Florian -- Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill