Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2130170pxb; Fri, 29 Jan 2021 14:10:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQosGnTL6cYAU1YD7swU3L1x2rXYxsnTchaTCwX/uWQ+7kFYCGUqy7iIhVprwSvHhCLwwz X-Received: by 2002:a05:6402:2048:: with SMTP id bc8mr7533363edb.292.1611958248229; Fri, 29 Jan 2021 14:10:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611958248; cv=none; d=google.com; s=arc-20160816; b=ms54+yuZoLM7/7s9ilT3WDtTT7ctgAabnyN6GCFRBHgNYgHXxDw4atUPny/i+KlXyx 1JhDGveWdcbUfzc2HfJnYjhREl7PQuKouW8Xw82sdTLEZPJScIa+zKGzHYncmi+pG29u 4AOysqSIgEqZqgcrOyrMjb0d3Uvctxm76jv9ae8NH+uf3AVYKEBx5bMT7oBeztic6El8 Eayq8OFNEmvPqhjBXe473vjpip6h+V3FPrM6a/E0HE3CHG3t/Ria7Yz6FBcdIx1Zhqub YsguKHxGLmbKqShE4fwo2mMFDQOOGgKWC24btUzCaT4iI80/kqkw1WXz8OUN7G1v/vuI 6CaQ== 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=xbB83yQ/mNcv3yi7gTIvEjnZRAP51fOKghx1oZz8Us8=; b=RhYzEcnISswTXlC2J5zz/xPP7LRLI7VKzf29LddwsEurrVvYctl1VnYEzyCZ5sMH3d 8jZ6uguO+6KUsFSNeKKjfZYLA4EMjJSUBk73brysfl7jDf8xpx4XD5hi5Zp42sqazYfT MJUtLbrYeYyhBuFWKsmMHYSgwA+yTvWTH50YNMeooq5YnCd8V3RDAHYTl4l2nul4alYD X1C+KgPPeeWGiFtn9a15wmsWzy4d11QwRtHGAQUb9jPmyzvkV+//laGHgLJ/xMrX6uMt 2SVoUVDfX2nmAIInuyKTNl2qMwnA/pYASaR7a6lEImozc0KIVD8SQlssyqRPLebK7G0I C9sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=lb4i2596; 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 q26si5836087eja.258.2021.01.29.14.10.23; Fri, 29 Jan 2021 14:10:48 -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=lb4i2596; 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 S232808AbhA2WHD (ORCPT + 99 others); Fri, 29 Jan 2021 17:07:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232012AbhA2WHB (ORCPT ); Fri, 29 Jan 2021 17:07:01 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81474C061756 for ; Fri, 29 Jan 2021 14:06:10 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id w18so7075535pfu.9 for ; Fri, 29 Jan 2021 14:06:10 -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=xbB83yQ/mNcv3yi7gTIvEjnZRAP51fOKghx1oZz8Us8=; b=lb4i2596PDrPRAeQdhV0FrDfmDCJ6RHfIjf6vJ4dYUVwihSdmGZ1EMdFDEDD6sOyHQ tgM9l9b0LJ392ggfalldUZrNZ/4aZZZBRgYtU5QuTwxMS9McVNwifc5ELo2rR65F6Owk 1oqfBOzjazSQVKoNoNDtxVro1PgJ9v2SnOfkpYFKBqgYOG9lsnr7k8Vmj4LNLo+/r62D YHIntyqFdudv3wsHuHb2hYuC05F+OxGe1vqOntbgIgBeLhbnpblGGN+gyunDKgtDzC+W rWN8FqQhhojAxo8LKt+1HYsOXg8ql9EcBbpgDz3JK9c3u9WdMjKDIjui2K/GOGS/gpXG A95g== 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=xbB83yQ/mNcv3yi7gTIvEjnZRAP51fOKghx1oZz8Us8=; b=TfGBrbbSQUSRC53uC+2gxjAnn8KW3L+y3XjAVxgx+gUJTH6YrspeKNWi1lxnbjcuHq ynJEEOYOLiFm4l41deUSr4ZbUEctzF9Z6oFL1lDRCiyE2c+s9J8NoYZYOjLUvViUXyco tdXZldiXPJM1EzDZ8n7AQuVVn8iilnqiyQu977nDuzhza76aIdmSvViCLR6/kYl66AdL YmF6EK8YaaiWERyknFijqXDUJZp+hdyiJ+uoG4sp/OsR1qce29d9nmMsV1/fQ3aHELOs rMP4fS6OKdoLJrguAbvD2A/flkPdbTPHHsBfEZuz2gfBEyqodlUehnf/NdthVdZ8MdnV S7yA== X-Gm-Message-State: AOAM533kOdh4EnwdWDAXfKjg/ywHrkEx/IBjM7oGe3B/0Ts5+F4GxSHF CaIYJPcW6JompNyV/7MTSjAM5lDphWSaCpyBla8zeA== X-Received: by 2002:a65:4201:: with SMTP id c1mr6554563pgq.10.1611957969765; Fri, 29 Jan 2021 14:06:09 -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> In-Reply-To: <20210129211102.GT4020736@tucnak> From: Nick Desaulniers Date: Fri, 29 Jan 2021 14:05:59 -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 1:11 PM Jakub Jelinek wrote: > > On Fri, Jan 29, 2021 at 01:05:56PM -0800, Nick Desaulniers wrote: > > > Wasn't that fixed in GAS? > > > https://sourceware.org/bugzilla/show_bug.cgi?id=27195 > > > > $ make LLVM=1 -j72 defconfig > > $ ./scripts/config -e DEBUG_INFO -e DEBUG_INFO_DWARF5 > > $ make LLVM=1 -j72 > > ... > > /tmp/init-d50d89.s: Assembler messages: > > /tmp/init-d50d89.s:10: Error: file number less than one > > /tmp/init-d50d89.s:11: Error: junk at end of line, first unrecognized > > character is `m' > > > > which is https://sourceware.org/bugzilla/show_bug.cgi?id=25611. > > > > $ as --version | head -n1 > > GNU assembler (GNU Binutils for Debian) 2.35.1 > > > > Maybe GAS should not need to be told -gdwarf-5 to parse these? Then > > we would not need to pass -Wa,-gdwarf-5 via clang with > > -no-integrated-as. > > That is what sw#27195 is about, just try current binutils 2.35, 2.36 or > trunk branches. 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? -- Thanks, ~Nick Desaulniers