Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2101665pxb; Fri, 29 Jan 2021 13:16:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJykmpDrR/GIW9w3LNX0SpM3ISNpZSoF27HIIIRWgRurE4rslpRxZWDChBSxj7fc0/BDdVKx X-Received: by 2002:a05:6402:31ae:: with SMTP id dj14mr7458945edb.364.1611954976140; Fri, 29 Jan 2021 13:16:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611954976; cv=none; d=google.com; s=arc-20160816; b=DIeOgzIXSXir0FFzyZWkG4yOrvYSeB6qcVs4h8cV3If0n9BgdqZW/6TlUescA9Qi2/ tPznvF/oEh1idF2p8nCejoKxQHokmdkg35kefGCUkjfyItwLI7dEpJAdqsYE4J4TFWFk vkPQjgIoLLtzVmmdraFrnJ09nmS0jkeLI1LOj45NunzOmyzKBMikqMbKvsoJPepOuAXC u1I4eL6Zj98lNliG/jMMvGu7ThKYAMfL0to0DamsqhNmlqG2Ulx7CEEtMe3cb/UTy+dL UjMjStExxqj8vhEjmJ2L9ifR+dcwPBr7Hqjo6ckdYQvhHY7Kn60UC16pjEGm8Li4mUN8 yCsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=shT0OeZAFzbhZjSLEQmMeSn6z+pT7stkEH8f+xcX918=; b=nZE9QpyelCU6LCsmjfPGvbQQ0/2xfPjRQqUD4aonQMDsMO1favw8AwXDcHRlg9yNVm 0TPAH7Hy4n6sQH3MC54MHvJ5sbF3hZbZgRhb2tL9Hljt4sSvJEAFmzikbhetmNlwHd98 EMLABY2ETBXgxQTyyNJDZJnHuypHiqscnmjV3MW66Izo2F+82oFp5Xlh4FQCd+8p1My4 fzkE63qhCkdTzsI/ePW4BTzDkyLcg/d7qpOtsLoBrpnqKfCGNGN1IMfTdhq2oJs6I1PG It/xYgJpDIFbj4mN6/kOsm9dLmkBgTnCIH0nFRTnQaMxq4dBRK2j7Pf1LcEB2VCZPwKw afpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TMoakqyk; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si6223803ejg.426.2021.01.29.13.15.52; Fri, 29 Jan 2021 13:16:16 -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=@redhat.com header.s=mimecast20190719 header.b=TMoakqyk; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232808AbhA2VMn (ORCPT + 99 others); Fri, 29 Jan 2021 16:12:43 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:47045 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233142AbhA2VMl (ORCPT ); Fri, 29 Jan 2021 16:12:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611954675; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=shT0OeZAFzbhZjSLEQmMeSn6z+pT7stkEH8f+xcX918=; b=TMoakqykxbPhoaASeZHbOhc0j5W9CCw7soGjg1xVkO3VuDe6G84fhw4lhIY40JMTyWzdiE DGk1cxhxi73vOcL+X3+DLzepdpCZ5IMl0lhDHXA53eCbqEkpa49QNF6UOEQxdv/ZHGv381 IQ4gsh3E2hHhmZx0WXpV/I6TsYBFufQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-385-Vw16BpxQMgqiuTPKuage9A-1; Fri, 29 Jan 2021 16:11:11 -0500 X-MC-Unique: Vw16BpxQMgqiuTPKuage9A-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CCB9B802B46; Fri, 29 Jan 2021 21:11:08 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-112-64.ams2.redhat.com [10.36.112.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5F05C5C257; Fri, 29 Jan 2021 21:11:08 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 10TLB4Bq2565520 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 29 Jan 2021 22:11:05 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 10TLB3RH2565499; Fri, 29 Jan 2021 22:11:03 +0100 Date: Fri, 29 Jan 2021 22:11:02 +0100 From: Jakub Jelinek To: Nick Desaulniers Cc: Nick Clifton , 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 Subject: Re: [PATCH v6 2/2] Kbuild: implement support for DWARF v5 Message-ID: <20210129211102.GT4020736@tucnak> Reply-To: Jakub Jelinek References: <20210129194318.2125748-1-ndesaulniers@google.com> <20210129194318.2125748-3-ndesaulniers@google.com> <20210129205702.GS4020736@tucnak> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Jakub