From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by sourceware.org (Postfix) with ESMTPS id B2715385801C for ; Tue, 1 Nov 2022 01:02:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B2715385801C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-x12f.google.com with SMTP id t4so8612260lfp.2 for ; Mon, 31 Oct 2022 18:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kv2wOSBPF3n6NS3/WSGRkk7zfDNkpTXjToumei4a4hQ=; b=aDnbw6nSc4KN+CHvWopiHtv5b+r62nh8xAAcBwPn5YcML0ehLvXk0gunjzPwSAbFAb Z9ZKWhu/NT9cR9y3BAuJts+B/zWvrZY8ySVvFkXFASi49R7VzS9ae/BUc9B1DaT+Uh4g hQ0gK/Pcbm4ksmUwV7pP9PRHLLMlhcGOWAeFa9LuoCdnyU49F2t1ALjDaSC1Wb5Mvwyv jPFwH83wdY6UNgDNd0S6+FxCeba0P7PIY0N7SgJ54NjvP6c7rzFktQbFfo83MgMESaui B3jjUpbd+xuNvzwf1jQiDufLt2sgqSpMsG5MAjB+USVnPsPicAU8IXCncqtFgr1AxvP5 dipA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kv2wOSBPF3n6NS3/WSGRkk7zfDNkpTXjToumei4a4hQ=; b=BaJRncmcMtsPYqRD+YSAapN5KpzVuoX1oWi5w4xQxTCPdi/OIYldGsgbrJAyHtky39 lrs0IKCCMmyrTm0EEHgNmku7Aitn0scCK0fwmKdnRk0lwX5FMmrgMHh/9ojCv94DF6PJ i/UtqgEu5wGLCRso41mJaqKtwQYop7nos7tYbHC8HrUU5YfliJSCN3+lDuID0kRuGe/b XAi51/zjA4Ue1plt+cCbllYmK7j5aFtk9hqDg23yGVkrOp3pntvcYEvpNsaDZBkmH829 0cVTqBWZlKehNrcQAQPegU0StyB9Y7VdTEF1Q7XhKayVMU/o6bi7Pe+MSuxe8zzsVOrr Jt9A== X-Gm-Message-State: ACrzQf0ihbA9xF7bRisagOnWdjJrmeKvvcaJj/799VJJPZ5HZKBXszeP +lQ7QX47ExyOUxrdj3GE/Ls9fQ0sCwHu1Tcj1OM= X-Google-Smtp-Source: AMsMyM6aToyJ9Dt71R/K89yPirq+LgddCVnuotK0cpfOKS8H8iWObqX0p28kjSpPeyci4rS8lBTLYhvX48ZuwN6KF8E= X-Received: by 2002:a05:6512:208a:b0:4a2:db6:a617 with SMTP id t10-20020a056512208a00b004a20db6a617mr16052lfr.144.1667264564248; Mon, 31 Oct 2022 18:02:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "H.J. Lu" Date: Mon, 31 Oct 2022 18:02:07 -0700 Message-ID: Subject: Re: [PATCH] binutils: Run PR binutils/26160 test To: Alan Modra Cc: Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3016.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, Oct 31, 2022 at 5:25 PM Alan Modra wrote: > > On Mon, Oct 31, 2022 at 05:08:04PM -0700, H.J. Lu wrote: > > On Mon, Oct 31, 2022 at 4:04 PM Alan Modra wrote: > > > > > > On Mon, Oct 31, 2022 at 09:24:07AM -0700, H.J. Lu wrote: > > > > Here is the patch to run the test. But it failed with > > > > > > > > readelf: Warning: Cannot fetch indexed address: the .debug_addr > > > > section is missing > > > > > > > > Is this warning valid? > > > > > > Well, yes, because according to https://gcc.gnu.org/wiki/DebugFission > > > .debug_addr is found in the "linked binary". I think the testcase is > > > incomplete without that object file. > > > > readelf output has been changed. Here is the patch > > to run PR binutils/26160 test. > > Can we please have the .o file too rather than accepting a warning? > That would better test readelf's handling of .dwp files. The readelf input was generated by dwp which was the part of gold. There is no .o file. > Also, I think it would be nicer if the .dwp file was not compressed, > so that the test would run without bzip2 being installed. It isn't > very large. > Since there are other binaries compressed with bzip2, the .dwp file doesn't resolve this issue. -- H.J.