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.6 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, 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 3BF481F86C for ; Sat, 28 Nov 2020 23:19:04 +0000 (UTC) Received: from localhost ([::1]:58644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kj9Ud-0005s8-3X for normalperson@yhbt.net; Sat, 28 Nov 2020 18:19:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj9UX-0005qk-G6 for bug-gnulib@gnu.org; Sat, 28 Nov 2020 18:18:57 -0500 Received: from mail-ua1-x944.google.com ([2607:f8b0:4864:20::944]:39207) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kj9UV-0000vq-Om for bug-gnulib@gnu.org; Sat, 28 Nov 2020 18:18:57 -0500 Received: by mail-ua1-x944.google.com with SMTP id t15so2615281ual.6 for ; Sat, 28 Nov 2020 15:18:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iFKq8RNSj6/Lg5o8ZqeqQB77XL0q2BTOk3nM/MJoC+E=; b=RQrpFVkaYuP1vwg+ZVVdaJm+Vk8ZdT0p/kAfCUdlESLi87mHT3P3X4SY8HAHiH+TlN QDo7+ycoSWSLuJcB2OLGWwE5Fmw658sKwR6U1DRM6yZQwt83LB9PlhQZP25goVe6A6Yi WuJuwmWdw6rD0uxulCxEwFT2KsamBFd8qjX6yQXotrAajv/WcHfdjSSqAo7PeXtiTlx+ qtAk4ck2K2ZWr2YG65CYvLJKLuc1NpP4na/jOrDFGvwfjI77Ls1vE+H8YyVTfWmIm7a1 d6BPYlGVJSgErA7h2PPGd2GK3TyRhAPpdMwdWfqfU5HZI6tijxqVltKd9ftZIn0EJYvQ 1SPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iFKq8RNSj6/Lg5o8ZqeqQB77XL0q2BTOk3nM/MJoC+E=; b=mapzcWSZJzckOqPpZiuiO/5HCPhGo0uDsTnjkdyXCVz+j1veHZwTGFoqiIkqzKgV9k 27jUv0kT7vfTRDJNXiTfz0NM9YD4N3QOw0QikTSTCosm+yYurYB7IwyhozTh/FEqS20J D1VXiHQETwwJsDowQvF4VUnO/TyAyzCpPAoBaULfriE81KpIGDRawmW0JP5aEw9ttNCD NEhl6s14zgZHWUAA0b3j/MiVpAxklvESubHO8kZkII5dD8E/eUYOPg6PKlIygi937Z4r 2nJpyr0dNLkldZsJDfCYrJSL/hIPHT+YCNgwqIuKlBI5yZhd5gbMic8fwul+47/52ith itiQ== X-Gm-Message-State: AOAM5314uen+GLjJ8HLs9pkh3CHAVKu4XeRUlrJzxL1qBGmWCtC88KvE Q89aMUWXXuEDhFTZaEU9FyprjpSo7/1dGNbpirKabu2GtdQ= X-Google-Smtp-Source: ABdhPJy0OcN85UKwpKp9M+yu9Qr3+adurlljnS9ZqFPz0eTgfRc3x0WPMh3/iHOWqxd00KEP1chHUvL9uwOXab9+Nbw= X-Received: by 2002:ab0:4972:: with SMTP id a47mr9642418uad.53.1606605534297; Sat, 28 Nov 2020 15:18:54 -0800 (PST) MIME-Version: 1.0 References: <1712786.L2PYDFIFIf@omega> In-Reply-To: <1712786.L2PYDFIFIf@omega> From: Thomas Andrejak Date: Sun, 29 Nov 2020 00:18:43 +0100 Message-ID: Subject: Re: Issue when testing with --as-needed enabled To: Bruno Haible Content-Type: multipart/alternative; boundary="0000000000002a818d05b5330081" Received-SPF: pass client-ip=2607:f8b0:4864:20::944; envelope-from=thomas.andrejak@gmail.com; helo=mail-ua1-x944.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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: bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" --0000000000002a818d05b5330081 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Thanks for your answer On debian 9 /10 / testing Regards Le ven. 27 nov. 2020 =C3=A0 21:34, Bruno Haible a =C3=A9c= rit : > 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/426320901d46b1f3b63ba1ec8e9e60= cb0e28cb77 > > > > 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/patc= hes/013-fix-test_rwlock1.patch > > > > I don't know how to dig on this bug. > > > > Output : > > FAIL: test-rwlock1 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 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 distro= s > have configured GCC differently, and these are the details that matter > regarding --as-needed. > > Bruno > > --0000000000002a818d05b5330081 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello

Thanks for your answer
=
On debian 9 /10 / testing

Regards

Le=C2=A0ven. 27 nov. 2020 =C3=A0=C2=A021:34, Bruno Haible <bruno@clisp.org> a =C3=A9crit=C2=A0:
=
Thomas Andrejak wro= te:
> Few years ago, we had an issue when--as-needed was enabled. There has = been
> a patch for this :
> https://gith= ub.com/coreutils/gnulib/commit/426320901d46b1f3b63ba1ec8e9e60cb0e28cb77=
>
> But, event with this patch, I still have build failure and I need to d= o
> some patches like that :
> https://salsa.debian.org/totol-guest/libprelude/-/blob/master/debia= n/patches/013-fix-test_rwlock1.patch
>
> I don't know how to dig on this bug.
>
> Output :
> FAIL: test-rwlock1
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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 dist= ros
have configured GCC differently, and these are the details that matter
regarding --as-needed.

Bruno

--0000000000002a818d05b5330081--