Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp882532ybg; Wed, 10 Jun 2020 16:45:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypvdPP6AZX0tdXSVAbOfXleFQ1dJxuEl14ZBb4X/DAoydBzMkvICz3SoyPis+cR9hsmxxA X-Received: by 2002:a05:6402:1d29:: with SMTP id dh9mr4553579edb.269.1591832703542; Wed, 10 Jun 2020 16:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591832703; cv=none; d=google.com; s=arc-20160816; b=WHoUIA0kwBVjKsBrYzoUFknZAUxYTrYZAE0htZEkbCL+3X1f3kzsVVM0mfQ37nXntQ KMStCRr69lcaH8gBdYGhVEkn6HibJs7exLrgXCU8Dm6yRM5syK2uQ2N/RlWR3h846rRk fjr64iqIdz+JuMSFOvwZwrCgU0ZOXrMgiHGVk7JuSaIXRtuFfuKQTTd0miJHiijSRMRE ilJ7jYu8wm5xg0Bc45W+oAx8AYZz2zi5cPgAb2uDsaYSYVEFT3r2XFEWpqm20aBDk9b0 ZhX4FR4XuP51BaZVsMT+YysZOCzeaizz+0e/HI/8T4Yjv/YGlNYIEG6+uiox2ayJqgTt V9cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=8JfMKp4EsHexc1E//gaOq+e5Ss9lLtPVkZqEJdXcboc=; b=EEqCEBr/eTDoo8b0n3k2MAJuaiQVRbHddeTPVmqKwUz9Qj9oAPtVWoM+pz93hPsB2L 8vwTozy25R+iMpL+JiuuAcwunqDIlUm0wl60F/LsPnKAwYmn5OBi0Ly7ophh0jX6fSdU 4c+pvdELtqsV80BZQQDJ0FTpDn2wBGxQni2vqEAlwSiWV4Okyk8N3Lgp17kdT9cHgGhC KUekMjHXBASHZMPkaY7YMaKBeHJKLWLWym1J6oxKGxosFv9azhmv2Elpe1UXdvmHO/pX zGvBpA4MyrZxVfv2Hjt2eHOd21uRqmYzb3Xg4Cz8Q8FaAV5lax6D3BGjLsqiNpNoUaKo jMLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=U6yIy4WB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si866077eja.348.2020.06.10.16.44.40; Wed, 10 Jun 2020 16:45:03 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=U6yIy4WB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbgFJXj6 (ORCPT + 99 others); Wed, 10 Jun 2020 19:39:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726374AbgFJXj5 (ORCPT ); Wed, 10 Jun 2020 19:39:57 -0400 Received: from mail-qv1-xf44.google.com (mail-qv1-xf44.google.com [IPv6:2607:f8b0:4864:20::f44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E2A9C03E96B for ; Wed, 10 Jun 2020 16:39:57 -0700 (PDT) Received: by mail-qv1-xf44.google.com with SMTP id er17so1883861qvb.8 for ; Wed, 10 Jun 2020 16:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8JfMKp4EsHexc1E//gaOq+e5Ss9lLtPVkZqEJdXcboc=; b=U6yIy4WBkffclpOeo54p+W92B8hpPVF1RbiS6AGdFmI5SHgYemTqKBoFmgjbZPoceS 3JB3vSGhSLNSRtiGKA6QOsL/JnoR1rp+dt/zHgHCi+Ia5IRTZ/LUBWYUiRBMd4r+Ms4z IhFYoICVFiEzH3vFKSOm4xg1aw0vYYUG7nuog9pAnZnTxjJXRn3YeQ3UNbTv8jek54hK LfcNjHG6K1RXeVjDH7S4HAEN0OIUxh9w4EYvqpmisjL5EpM81SMhNCXMgYGNhrPYJ8fo bnhj5viIzGuXKhVHB/eEVKZlZ3zI+U/3O0mUwEpS468ZaO9sm8XMgs1X/zSYc0pnmIjo lycA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=8JfMKp4EsHexc1E//gaOq+e5Ss9lLtPVkZqEJdXcboc=; b=Qwfk7boWHvvGLSPk0N/lV890vRc9m0yfux3Q0qkAUU2GTKqiUwSQMwrFspEwIwKSdQ ++jaYEYamq//0gIqAggYLdWD6QAB6n4JUP0aSjZ40FOP2MEG8wUzNk8Fc6YnV6o8uIGL +l2vL89oo7frxCg/FX0Mo3UwAbQ8fiawXPfnSFiqrSR5FVKRHNQNhFEW/5x+aprSlLM8 ZyIidmiXcftmVw6GNF8my2TZSxvFjud9W0eqDICpbY7WDjOtE7wO8d6s0c89txkktJ2w VZ6i3tooCVPkdY6EiORfMuXwUh5X+DSYaJ6UyLC3Q1aHk4acCUNpZgSYGzwS3MW7ZXAs shYg== X-Gm-Message-State: AOAM532HVRMyE6nQQAhS/cseixM6FbKsEPq2/rMEitSXij+QVPNA6Fq/ Kn+IO88j3ZJAq9i1Py6YbC8= X-Received: by 2002:ad4:4d09:: with SMTP id l9mr5702939qvl.8.1591832396672; Wed, 10 Jun 2020 16:39:56 -0700 (PDT) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id 80sm911651qkl.116.2020.06.10.16.39.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2020 16:39:56 -0700 (PDT) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Wed, 10 Jun 2020 19:39:54 -0400 To: Arvind Sankar Cc: Nick Desaulniers , Masahiro Yamada , Fangrui Song , Rong Chen , kernel test robot , kbuild-all@lists.01.org, LKML Subject: Re: [PATCH] Makefile: Improve compressed debug info support detection Message-ID: <20200610233954.GB2941409@rani.riverdale.lan> References: <20200610063715.v2qrqvwtegdxdwzl@google.com> <20200610191106.2662548-1-nivedita@alum.mit.edu> <20200610233046.GA2941409@rani.riverdale.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200610233046.GA2941409@rani.riverdale.lan> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 10, 2020 at 07:30:46PM -0400, Arvind Sankar wrote: > On Wed, Jun 10, 2020 at 02:27:55PM -0700, Nick Desaulniers wrote: > > No, as-option does invoke the assembler. The problem here is that with > -Wa, the option is only seen by the assembler, not the gcc driver. So it > will succeed because the assembler supports it, but it will not test > whether the gcc driver also supports it. > I think in theory another way to fix it is to just use -Wa even for CFLAGS, assuming the compiler itself doesn't have to do anything with the option and it's purely an assembler thing. Then you'd just do the as and ld tests.