Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2094066pxb; Fri, 29 Jan 2021 13:03:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9/jneIsJ5/ERg2mKSqtMWrSYDfKJTgpdUTvcyZRQEuxKEtCGMjQbc3QaLOJKrqR6PIj31 X-Received: by 2002:a50:934a:: with SMTP id n10mr7347602eda.26.1611954192953; Fri, 29 Jan 2021 13:03:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611954192; cv=none; d=google.com; s=arc-20160816; b=YVF+Ntrh+C/CvQ2HCiZamIEvcWMbJwt1J4QtZ3/XUGB+IpkVlGW3VVao8iQ7vfzXhA 4Oc2HJtPR/vVXl1M1S6KReeqakDB0qIewg7PaUqa/eFqolPQ4C9cc9ZW85wf2vvNMebs t8xgOXiUgnG91mXIztN/S1eCVFKfEjRdOpBBrxxbJqxYpxacizQPhTV2Za1xsStSCnqF 2DtaVIW90TZZWl5bP1FTR3yHuZp9IsDYkrUCmIcFuGiXiUxNHNgqeaXuJKmejr3Ij43i 8kLa+V2uwUOIHSqGNNlPBfnGFJzyEGSdedxtswuefmRW8TiK94zr4Su+DJVQUbw8TpPx 1TJA== 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=jJAl8faLaTXKp5DstykPQouYkGkdmrA8uwwSrWLNEdw=; b=EpXnxuMNueqYonYeIg8azUswnwXne1XivMmHtKkgDvf3nV8rALFXBQOeQ3cR5pXRIP lgmVBz/vhwm8vFBJwo66+Kloh44s4JaD3saucUfZPjEEZUmIY2ZSqkjzfbUUUda9jwxw 81nbtGTYfYLQP+r+AZ/E2nvg9aR26psFjBMvhKTmbFCpdh7atKo5XrHOMhcsmZjV5th8 VpsLy6EX2XLVESpVThd/rt1JfX5PExhKn6KE+0xIFk8BJX5iq/rMsND/S9SR2Q1Ok05Y JHCPziey4H9esPlP9xVIEqOuldJuzRW1oKw8MVeK8UjEzzgPcfz10mRMMl7hZtY93iaG Kvmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YVNQpP1I; 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 k9si5630121eje.254.2021.01.29.13.02.47; Fri, 29 Jan 2021 13:03:12 -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=YVNQpP1I; 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 S233247AbhA2U6u (ORCPT + 99 others); Fri, 29 Jan 2021 15:58:50 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:60073 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233345AbhA2U6l (ORCPT ); Fri, 29 Jan 2021 15:58:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611953835; 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=jJAl8faLaTXKp5DstykPQouYkGkdmrA8uwwSrWLNEdw=; b=YVNQpP1Iw/6Opz/4f6R0KS1JlwojnVGrb2C5fUgiYUT5MhjWdid8aUVzRzimyT6OKil1xp aGAXJ1q8hT+6R1h/vMAa653Fk9YJOaCqx7r0wUOW9ZOJZoC9Ta4XrJCwe1yJy1CA8uVmIH 1ZfZAJpbZGr/Tu+irIL1MNBJoqC+pxw= 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-584-4jqVEabdM_mz1KST0Orp4A-1; Fri, 29 Jan 2021 15:57:11 -0500 X-MC-Unique: 4jqVEabdM_mz1KST0Orp4A-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 047F1107ACE3; Fri, 29 Jan 2021 20:57:09 +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 7BA7960BE2; Fri, 29 Jan 2021 20:57: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 10TKv4KA2368399 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 29 Jan 2021 21:57:05 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 10TKv2Kg2368396; Fri, 29 Jan 2021 21:57:02 +0100 Date: Fri, 29 Jan 2021 21:57:02 +0100 From: Jakub Jelinek To: Nick Desaulniers Cc: Sedat Dilek , Masahiro Yamada , Nathan Chancellor , Andrew Morton , LKML , Clang-Built-Linux ML , Linux Kbuild mailing list , linux-arch , Fangrui Song , Caroline Tice , Nick Clifton , 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: <20210129205702.GS4020736@tucnak> Reply-To: Jakub Jelinek References: <20210129194318.2125748-1-ndesaulniers@google.com> <20210129194318.2125748-3-ndesaulniers@google.com> 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.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 29, 2021 at 12:48:11PM -0800, Nick Desaulniers wrote: > > Should this be...? > > > > KBUILD_AFLAGS += -Wa,-gdwarf-5 > > No; under the set of conditions Clang is compiling .c to .S with DWARF > v5 assembler directives. GAS will choke unless told -gdwarf-5 via > -Wa,-gdwarf-5 for .c source files, hence it is a C flag, not an A Wasn't that fixed in GAS? https://sourceware.org/bugzilla/show_bug.cgi?id=27195 Jakub