From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 46FBC1F47D for ; Thu, 5 Jan 2023 09:01:11 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=clisp.org header.i=@clisp.org header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=iE0w4KZM; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDM7J-000634-ID; Thu, 05 Jan 2023 04:00:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDM7H-00060T-NL for bug-gnulib@gnu.org; Thu, 05 Jan 2023 04:00:51 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDM7F-0007pt-1Q for bug-gnulib@gnu.org; Thu, 05 Jan 2023 04:00:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1672909242; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=IjR7hCQsDu4Od3G5/3451uu03b+HNgegQspShwUowLI=; b=iE0w4KZMnCkVKFDVYyTPpNx3ARiXo0CYDrStTbcH2scvDNgWg11xktXNTLNlTKweKN vm99t3d4bJdOsap3fVPXXwuEH3vna3XbGbTsrAu9vh0LheXOEW6CZvoN8M15AilNKZhV 8bc/zb51gxMa8+18haOmKq5blSLfczZmksbUyAdQWvtA1fGEb7IGff7TzMdMJAa0hbS0 rQvMQJaBlCHHnu2YvjvAa5uuNv07PBImXabjXciT5WBIzdAERmgT0F1BD/NkdBpRlTM1 My5zY0YEcqV8bHWHBW5E2Sytzru85yU4LXRDuPUGAlF1Ez1qXCbCRcfYxh0iMj+5OBYA C5Rw== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpPEjvSMaFwOTzHq6UcGazM/iGXvXw==" X-RZG-CLASS-ID: mo00 Received: from nimes.localnet by smtp.strato.de (RZmta 48.2.1 AUTH) with ESMTPSA id t05890z0590g8uS (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 5 Jan 2023 10:00:42 +0100 (CET) From: Bruno Haible To: Paul Eggert , bug-gnulib@gnu.org, Ondrej Valousek Subject: Re: [PATCH] Use xattr (Linux) in qcopy-acl.c Date: Thu, 05 Jan 2023 10:00:42 +0100 Message-ID: <10619591.nitPUkWRp2@nimes> In-Reply-To: References: <20230104143425.1235741-1-ondrej.valousek.xm@renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.24; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Ondrej Valousek wrote: > Why don't we solve the linker problem with the "--as-needed" option? This will make linker clever enough not to link libraries that are not needed. '--as-needed' is a can of worms in itself. In GNU gettext (IIRC) Debian used '--as-needed' in the link command line, and together with libtool that reorders the elements of the command line, it had ill effects. More generally, Gnulib should help GNU packages and integrate into the package's build system the best it can. It should *not* force specifies ways of doing onto the package's build system. Bruno