From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56C8EC11F65 for ; Wed, 30 Jun 2021 14:34:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3D6A66147E for ; Wed, 30 Jun 2021 14:34:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234882AbhF3Og5 (ORCPT ); Wed, 30 Jun 2021 10:36:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:49836 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235303AbhF3Og4 (ORCPT ); Wed, 30 Jun 2021 10:36:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625063667; 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=ewOhMeXaKjGmJuL1HIfpGhg67sEafkLOgNvC3+bkQqw=; b=C3ygzk3uc5rxXueHthPSjzuHAMU3P5fdsNx7F5sGLWW6NIYzO2U1iESRm/McEJi8KW/5m+ 1aoK9zxx/OyeVthO9k2uez2E/XqvGzrf+Uw9An/Clcx64jQAfREmo3dEoZNhC2P62OVKnk Wz7F+bi7h+yMaIAgaT3aSIFr2TjJBCc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-471-_JHLdgbGNKWarLNYKuA-Aw-1; Wed, 30 Jun 2021 10:34:25 -0400 X-MC-Unique: _JHLdgbGNKWarLNYKuA-Aw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3090B802929; Wed, 30 Jun 2021 14:34:24 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-115-5.ams2.redhat.com [10.36.115.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4FF5C100164A; Wed, 30 Jun 2021 14:34:22 +0000 (UTC) From: Florian Weimer To: "Enrico Weigelt, metux IT consult" Cc: Thiago Macieira , hjl.tools@gmail.com, libc-alpha@sourceware.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, x86@kernel.org Subject: Re: x86 CPU features detection for applications (and AMX) References: <22261946.eFiGugXE7Z@tjmaciei-mobl1> <3c5c29e2-1b52-3576-eda2-018fb1e58ff9@metux.net> <2379132.fg5cGID6mU@tjmaciei-mobl1> Date: Wed, 30 Jun 2021 16:34:20 +0200 In-Reply-To: (Enrico Weigelt's message of "Wed, 30 Jun 2021 16:32:29 +0200") Message-ID: <87pmw3ifpv.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org * Enrico Weigelt: > OTOH, if one really needs to be independent of distros, one should build > a complete nano-distro, where everything's installed under certain > prefix, including libc. Isn't a big deal at all - we have plenty tools > for that, daily practise in embedded world. The only difference would be > tweaking the ld scripts to set a different ld.so path. It breaks integration with system-wide settings, such as user/group databases, host name lookup, and cryptographic policies. In many environments, that is not really an option. Thanks, Florian