From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id C64313858418 for ; Fri, 4 Nov 2022 23:47:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C64313858418 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-ej1-x62a.google.com with SMTP id f27so17147440eje.1 for ; Fri, 04 Nov 2022 16:47:58 -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=Bd5mbVwLx2MkUulINhOydhwmbTSeB9a+UENhBMSzlPM=; b=E1y9wzArnTJGql+h/eYRLNI7bvt/lrvrG+6zjAdoeWqGUnp8AsrpOgMUtsGonRGS1t iyQqpEiwtSdi6IhwQhoX5It8RENVDZfcFIFGheLHd7XtB4AmrbDxSCkkV+4fCe4AQn26 IMxxO407OM/0ysDSPh8g2f5q+UCFPSDtjBNC1c1PNf+Fz0VkKxMpSpjHCxQjn7/l7ufP 1107kOuV04EB/RqoZX+vildENoLcr+X/Aat42ZpZGhEGw7GM3ZIeGf+MYlG4ycxUvYS5 CFu+jJDWd9kMvQnPy1s2S18t8BmzGz/jlIk/unp5gI3u8ifxnEG5D4HY+JtyvF3+OI+P KFlQ== 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=Bd5mbVwLx2MkUulINhOydhwmbTSeB9a+UENhBMSzlPM=; b=SRdhmJq13xpWUUSGcn1rZ07im/ztSs/90MzrJb7qPoQqDMKL1eGPfO1JWYXFQ14THw cI/b8hN0H6pzB9odhW3XopxRCsIOncM0UyxLh6TS6J8AmdR9mxVER0FtjIHgFP+QZe4f uEoOYbi7NaKR5fv1XLDA/UuR3wn10fXZa7xTztTMRepzd67+vbXlSsUKlUD0F+MeOvCc Jzl17Ix/Q0nYZl5WepYWqDD6AYfHEN6NTcNksiXsJGokChQE+xr1K9fRNkjV+Uoqx0SA 5NCtZ9j78I5xnPo4S8rtvCHHaWmWeXag5FNadmWDb+pu0VhIoaberijewFacaV9uOstp OZ8w== X-Gm-Message-State: ACrzQf3yU8tVNVcV3OlwyzvoiSAwlztwQlOQP3TxTeqwU3BHZbvVQ9sc 6ikK6V4WHN/zfR1LJ2whJq97WPVR/oxcP/V+zkc285kv X-Google-Smtp-Source: AMsMyM6MHLtMRdbACaZVwjyE7aD2i77X3uQfV4Hn1/wNyz4umKP4B4JWzk9RsdZSxZRNO+1lKiwf3fukr4jDRE680MU= X-Received: by 2002:a17:906:dc8f:b0:7a5:8160:1995 with SMTP id cs15-20020a170906dc8f00b007a581601995mr37105600ejc.500.1667605677457; Fri, 04 Nov 2022 16:47:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "H.J. Lu" Date: Fri, 4 Nov 2022 16:47:19 -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=-3018.0 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 6:02 PM H.J. Lu wrote: > > 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. I am checking it in. -- H.J.