From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: 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, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 8C0D01F86C for ; Fri, 27 Nov 2020 20:34:26 +0000 (UTC) Received: from localhost ([::1]:42872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kikRl-0000Wx-D1 for normalperson@yhbt.net; Fri, 27 Nov 2020 15:34:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kikRb-0000WQ-1x for bug-gnulib@gnu.org; Fri, 27 Nov 2020 15:34:20 -0500 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]:30975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kikRX-0006li-5c for bug-gnulib@gnu.org; Fri, 27 Nov 2020 15:34:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1606509248; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=TxNy3+DwlZjWFyrYqnBsshaY3chJ6A5dUyaInXZPggk=; b=FU03ocZVIy9RCykEzwp/GttZoPs4Yk+op1NXaI1xSH+b5daA4CWDH08U3lxfLZswoE ZgR7twVoGpMcS+h1E5podlu7roPKURku8oTohNVwyLlaAA+pLn3UPVjvD33LT+2XONCR gAluOsArqKXXFVumna+4vNDTaqLINRuaaIKlF9Z0tgvK1BXMw3bLjgsdB2lczs+zWaiK zEInniAHLKGm1NDQp+lnuqwqVlM1a2i0nYbzJ1BZqvZNebEwhc29o/NO3SyM1I/8Gp1B rdkkblE0w1gi8SCIO6EKo0rtjSW4YpvCuhB9zU5QzJYz7Q5E1DjN85J643CQMpTwSwQE 49Gw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGaf0yJVW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.3.4 DYNA|AUTH) with ESMTPSA id V00800wARKY7P0s (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 27 Nov 2020 21:34:07 +0100 (CET) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: Issue when testing with --as-needed enabled Date: Fri, 27 Nov 2020 21:34:06 +0100 Message-ID: <1712786.L2PYDFIFIf@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-193-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.20; 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Andrejak Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Thomas Andrejak wrote: > Few years ago, we had an issue when--as-needed was enabled. There has been > a patch for this : > https://github.com/coreutils/gnulib/commit/426320901d46b1f3b63ba1ec8e9e60cb0e28cb77 > > But, event with this patch, I still have build failure and I need to do > some patches like that : > https://salsa.debian.org/totol-guest/libprelude/-/blob/master/debian/patches/013-fix-test_rwlock1.patch > > I don't know how to dig on this bug. > > Output : > FAIL: test-rwlock1 > ================== > Unexpected outcome 3 > FAIL test-rwlock1 (exit status: 134) > > Can someone help me on this ? On which OS (distro) do you see this? I'm asking because different distros have configured GCC differently, and these are the details that matter regarding --as-needed. Bruno