Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2171798pxb; Fri, 29 Jan 2021 15:32:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlc/I2clyX1zpbxC3E50riYVHl93L+1UNDjDsmAsu/HSW/DQjCmlTHzyr26ghYCktBBxml X-Received: by 2002:a50:bc15:: with SMTP id j21mr7810518edh.187.1611963146244; Fri, 29 Jan 2021 15:32:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611963146; cv=none; d=google.com; s=arc-20160816; b=fNvrSb/RJczobYiU1En4N8hjJwk3A3nRoJxJAXHdx2usun9UD43XXCpbZt/j6Cy9k0 SNP05VL3ySb6K4NSG53CLBUnv3L5u3luAIvQ6NqKeTAuWdlwTts8PHSfhEc+c8UmLUmR ya0j0t5YIYbkNnlwVi52MsVkIOKHd4xK1mCC8mdCaUalvviF874rtlXQWHPMWPYMZS79 oy0YgMKJtwI7oRh/nIJDWMfk/+/ln5x5XQ8waUCHeXdGV/Zi3yB23yIJfL1zMPOEsmfL 2JULb59dSnyVRRqSYmSMyQZbkAotSBTHaT4TU8IZRppHiS3+x3rI2Ll3oXT7QeMq+LG4 MR2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wQXKy21pEcRclb3wAZG5ISCNN6W5kQy6JQslnD7Vmx0=; b=GOZlVI7fIcuIXNvb1IIjXuQu/pan1M4rsvaq/zfqHgF4TYJHuf5hSKj23BrG2q2Nmi CdUpXQBtrHJOelRp8urXejybuzEAwZUj7SdCyrSbU48secVMw/3tpxwos1jkgbAKk6Wx uUAR9kDAXkwU0Hs/IsvrsF3xppiFvJV8wcjlQ7jgrweo5ELDGvhoiEbqialtsksFhTDk 4KBQNzmILafNB+yUC8TpjAn3cDUkjcMliL1BFpbDgqf0kVx+/cUBTuCRPpH0GLKvlcy/ ofa1uTx/KKehBFcdTJ8ZkIM2GC2sCW9nYmlal3gLhlF+C/JZZhJ8eItN0gIU/uSamIvS vgjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=QpFH+sYq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f23si6089388edm.270.2021.01.29.15.32.01; Fri, 29 Jan 2021 15:32:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=QpFH+sYq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231183AbhA2XbZ (ORCPT + 99 others); Fri, 29 Jan 2021 18:31:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231174AbhA2XbV (ORCPT ); Fri, 29 Jan 2021 18:31:21 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57410C061574 for ; Fri, 29 Jan 2021 15:30:41 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id y10so1949019plk.7 for ; Fri, 29 Jan 2021 15:30:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wQXKy21pEcRclb3wAZG5ISCNN6W5kQy6JQslnD7Vmx0=; b=QpFH+sYq9frbG1nqLvcOEsHB/q0UQxlaH0k6imY5kj6e1nFQjF4bMWPoSCJJNsmSjq TYqorWB5pdzjpJvp3tAKpSQenuvRmE4jvmPmPGfnz34LWAJqMcqmRJOhtc7hQ9M4JuG0 9NwkrdUsFjQ6nZqCG+dVGSoTzgTuhMPhZuWJIsHUfE7M4reRjSQzJsIErsxfJx0e9Ewl a2eJQCVLrjVf7+3NYaa9oMpoK0rAAFE9Paps6Z4CMq82EtCQGr0OpPt47BGyhSlVXBlY 8PqFBJt+pQcjBcBmRzgH6zaxQ4Mb77o/ZrXmg/y7FrsigvGjBCa2tPHG/9T3iQsHmIcL l9XA== 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=wQXKy21pEcRclb3wAZG5ISCNN6W5kQy6JQslnD7Vmx0=; b=DeMeL9EtI1bc+aQkOY3Uf75COsTGZENOftzO2iDzQ90w3crTe6QD8GYNCY0j4VAIb4 QxMzaRFBbBTvri1k3r9S9knz6zWO1SEmwsiiYiw10WflQqRjKMaFuRx8GTD+jHDvuWKI +JQsnIjvYOwG8AHJvj1fAOstkwnfMwjS20BzXYBLjNBu7oV60MwkJK7IfH2cuFw6QzxR 5RShkmKFjZuKJeIT42Xny9p+0QljzVSPJSU068B1GGlMXSQGEGwx6nYpBtcwaVf2C3PK QONIM4Z5DLbFasbArZaFbuoLLLZBRzIWOZ0Ccefk3dswk2EH53uVDCeAOhQCQSJnhcaa py/Q== X-Gm-Message-State: AOAM532W5GwNzD+xvGiRqv2BqpfmyX/y+CRO0Y3aPDNxPQpCuCqXoMna 6zLEdh74YHuYG2QG3ugYp7mP7Du7cuQa9/IL/UVB/w== X-Received: by 2002:a17:902:ed94:b029:de:8844:a650 with SMTP id e20-20020a170902ed94b02900de8844a650mr6619051plj.56.1611963040680; Fri, 29 Jan 2021 15:30:40 -0800 (PST) MIME-Version: 1.0 References: <20210129194318.2125748-1-ndesaulniers@google.com> <20210129194318.2125748-3-ndesaulniers@google.com> <20210129205702.GS4020736@tucnak> <20210129211102.GT4020736@tucnak> <20210129220939.GY4020736@tucnak> In-Reply-To: From: Nick Desaulniers Date: Fri, 29 Jan 2021 15:30:29 -0800 Message-ID: Subject: Re: [PATCH v6 2/2] Kbuild: implement support for DWARF v5 To: Jakub Jelinek , Nick Clifton Cc: Sedat Dilek , Masahiro Yamada , Nathan Chancellor , Andrew Morton , LKML , Clang-Built-Linux ML , Linux Kbuild mailing list , linux-arch , Fangrui Song , Caroline Tice , Yonghong Song , Jiri Olsa , Andrii Nakryiko , Arnaldo Carvalho de Melo , Arvind Sankar Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 29, 2021 at 3:25 PM Nick Desaulniers wrote: > > On Fri, Jan 29, 2021 at 2:10 PM Jakub Jelinek wrote: > > > > On Fri, Jan 29, 2021 at 02:05:59PM -0800, Nick Desaulniers wrote: > > > Ah, I see. Then I should update the script I add > > > (scripts/test_dwarf5_support.sh) to feature detect that bug, since > > > it's the latest of the bunch. Also, should update my comment to note > > > that this requires binutils greater than 2.35.1 (which is what I have, > > > which fails, since the backport landed in ... what?!) How was this > > > backported to 2.35 > > > (https://sourceware.org/bugzilla/show_bug.cgi?id=27195#c12, Jan 26 > > > 2021) when binutils-2_35_1 was tagged sept 19 2020? Or will there be > > > a binutils 2.35.2 point release? > > > > AFAIK yes, soon. > > Err...perhaps https://sourceware.org/bugzilla/show_bug.cgi?id=27195 > was about `.file 0`, but it looks like `.file 1 "filename" md5 > 0x7a0b65214090b6693bd1dc24dd248245` without -gdwarf-5. Specifically > the md5 ... . > > So https://sourceware.org/bugzilla/show_bug.cgi?id=25611 needs a rework perhaps? $ echo '.file 1 "filename" md5 0x7a0b65214090b6693bd1dc24dd248245' | binutils-gdb/gas/as - {standard input}: Assembler messages: {standard input}:1: Error: junk at end of line, first unrecognized character is `m' $ echo '.file 1 "filename" md5 0x7a0b65214090b6693bd1dc24dd248245' | binutils-gdb/gas/as -gdwarf-5 - $ https://sourceware.org/bugzilla/show_bug.cgi?id=27280 -- Thanks, ~Nick Desaulniers