From: Florian Weimer <fweimer@redhat.com>
To: "A. Wilcox" <awilfox@adelielinux.org>
Cc: musl@lists.openwall.com
Subject: Re: [musl] Re: OS detection wrong on Alpine Linux 3.10
Date: Mon, 21 Sep 2020 13:46:25 +0200 [thread overview]
Message-ID: <87sgbb2vzi.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <156c512b-20db-f688-d596-021fe97ae2e8@adelielinux.org> (A. Wilcox's message of "Mon, 21 Sep 2020 01:53:31 -0500")
* 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
next prev parent reply other threads:[~2020-09-21 11:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4768019.hHWyC0TzgU@omega>
2020-09-20 10:12 ` Dmitry V. Levin
2020-09-20 11:19 ` Bruno Haible
2020-09-20 12:18 ` Ariadne Conill
2020-09-20 13:56 ` Szabolcs Nagy
2020-09-20 17:14 ` Rich Felker
2020-09-20 19:21 ` Bruno Haible
2020-09-20 20:58 ` Hadrien Lacour
2020-09-21 6:53 ` A. Wilcox
2020-09-21 11:46 ` Florian Weimer [this message]
2020-09-22 18:46 ` Rich Felker
2020-09-22 20:18 ` Bruno Haible
2020-09-22 20:33 ` Jeffrey Walton
2020-09-22 20:39 ` Jeffrey Walton
2020-09-22 21:04 ` Laurent Bercot
2020-09-22 21:17 ` Jeffrey Walton
2020-09-23 8:49 ` Laurent Bercot
2020-09-23 13:13 ` James Y Knight
2020-09-23 16:08 ` Rich Felker
2020-09-23 16:16 ` Jeffrey Walton
2020-09-23 16:26 ` Ariadne Conill
2020-09-23 16:57 ` Jeffrey Walton
2020-09-23 16:36 ` Rich Felker
2020-09-20 12:19 ` Ariadne Conill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sgbb2vzi.fsf@oldenburg2.str.redhat.com \
--to=fweimer@redhat.com \
--cc=awilfox@adelielinux.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).