Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp235551pxb; Fri, 15 Jan 2021 11:37:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2DzCstiNI/3S+ekVMLJhq/P01UDCF43+osE9oSsZJRKUopInIq1VbSrRSNdamijDE70v6 X-Received: by 2002:a17:906:fa85:: with SMTP id lt5mr10111924ejb.344.1610739478003; Fri, 15 Jan 2021 11:37:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610739477; cv=none; d=google.com; s=arc-20160816; b=kEqbuyAu0rIlpv7jRWHTcPxAFWF6Kn+WptI2CVnAn4GkgzPlGYZvQEyG4zen8UMypV hCX1HiPDFEegGoPBnj5nut1Ww8iYzaOwQmui0dNF5wsVEtnpfWQJg5JWSRhRinGhxkdl rIdhYBJStDmU++At77dcXUv78o7RqtX3Vj2q5l1NVoSuasyvzOXoCzEIz2RmWp/bklCi s5bZJMiyhbr8bMVuXkQ6g5BEmvFj3iT2SLdITq0EcODdtunfDUA/VKtlX+Dk7f55J3RO UV/3Y05kQndO5nP52rtiP79mC33jUmR8a6l1kPtBbYgYnL+ZOk42l9Sc3pGBY8RphFOJ oY1A== 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=tgVsYmSCdgmeuL9qYmhROq6jdCnyLmcDJlct14eS4/U=; b=kany+/es8BKMQJH/RYkVtxB9lnckmOjUqjvxfnrJdcQJTa8H6pJG3bazco/Zx6Henz t9Ys2WDq2bzqFQNKDRhbu8I1+FdOTXv/e6ALt8+e7Qv2xMSoNNECZ5HUFMURhtREGUWV 0XHtcy20Srom+WGiqhOZmC4z9q+0uTU/IogNxug4cg8yyd/AjicHguO/MoogtopqVz6f L5V1qUJ5Ek0B3M6PKJKYeXsSHTCVDOGvKWCEpv72T7W+M0jUB4AU4Ekrbao4cgzDKDGh jTJac4B7qohkmswWqWkkQrz1FHmBNBnfKoy9OKK7y+RgOkHlEKx3dwmRvV2PuoyiI/ML Etwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T4ZP2fit; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si4949996edv.267.2021.01.15.11.37.34; Fri, 15 Jan 2021 11:37:57 -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=@linaro.org header.s=google header.b=T4ZP2fit; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388220AbhAOTgl (ORCPT + 99 others); Fri, 15 Jan 2021 14:36:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388679AbhAOTgY (ORCPT ); Fri, 15 Jan 2021 14:36:24 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBC42C0613C1 for ; Fri, 15 Jan 2021 11:35:43 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id s26so14789449lfc.8 for ; Fri, 15 Jan 2021 11:35:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tgVsYmSCdgmeuL9qYmhROq6jdCnyLmcDJlct14eS4/U=; b=T4ZP2fit5hD7OMKVpQmKducPUz6KHQC5Sm7FPYbm11nfGkvIq2pZ44EDsML2HNDvSd CClAfue4Y4DZ1S+KfNvk//2nKGQhvrtUbr7AkN34pbwZljJLJt0SbKmJTgx9UjIYE73A 51oS9BzN9T5zvLV49js4998Gj0+DfoVJkPdcyIlmo+eZDGieIaj4aj9OFMviHWBn3otR CfTsNTqCe2utFSdrZ/mOws/Z8mFRi3xNPeQqAScH6Aef5es6vvNiQiK1HG7F60GfJ15D S4ZFwQ/tnAgwlrYeR2PgE+Vfnzg+z3/kvgOj3wStKS7Ct4ygPBVY5Hucalr3otLPJ2U6 mxxw== 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=tgVsYmSCdgmeuL9qYmhROq6jdCnyLmcDJlct14eS4/U=; b=S3j8G7SE3hu6Myka9pXK1ANZQNekEmye0dDSQJWHkmPo3sNkNpcoBy6jz2FUzCEfNY 6dooF4qD/kh9DIch2JY4T8c77uR+A0DcCjPbRqkRzzpx9B2A5Bpzyy25pAJlCAqZiXZK zPvV668wnkMgQFP5V0WDqPbac+DqCdybTUF/lc3fPSvGAR0adsu7kbgU3DuY3auVpk0h DsSg5pab1OjIhh5cgowFKSHmwkb/K4TAil8ertnSQYiv/qQIhMamnJRGqwWrZ5B6XCea 3Q/JjicLEG+eB793wJ7iWIqBvsyAcnlKl/bHQRvTso9G7qJ2dhmD+jLTd3xqWzpWzXGE 4kZQ== X-Gm-Message-State: AOAM530SiDVcWR7JUB5Oq8fhkMFNyvxhYACkPJ5HgZYiDxJlrvgxoEtv pUfRgKVIckbFedWmT9k0WXhroFO5IsCHmq7VS646sw== X-Received: by 2002:a19:4107:: with SMTP id o7mr5912867lfa.512.1610739342289; Fri, 15 Jan 2021 11:35:42 -0800 (PST) MIME-Version: 1.0 References: <20210115191330.2319352-1-anders.roxell@linaro.org> <20210115192803.GA3828660@ubuntu-m3-large-x86> In-Reply-To: <20210115192803.GA3828660@ubuntu-m3-large-x86> From: Anders Roxell Date: Fri, 15 Jan 2021 20:35:31 +0100 Message-ID: Subject: Re: [PATCH] mips: vdso: fix DWARF2 warning To: Nathan Chancellor Cc: Thomas Bogendoerfer , Nick Desaulniers , linux-mips@vger.kernel.org, Linux Kernel Mailing List , clang-built-linux , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 Jan 2021 at 20:28, Nathan Chancellor wrote: > > On Fri, Jan 15, 2021 at 08:13:30PM +0100, Anders Roxell wrote: > > When building mips tinyconifg the following warning show up > > > > make --silent --keep-going --jobs=8 O=/home/anders/src/kernel/next/out/builddir ARCH=mips CROSS_COMPILE=mips-linux-gnu- HOSTCC=clang CC=clang > > /srv/src/kernel/next/arch/mips/vdso/elf.S:14:1: warning: DWARF2 only supports one section per compilation unit > > .pushsection .note.Linux, "a",@note ; .balign 4 ; .long 2f - 1f ; .long 4484f - 3f ; .long 0 ; 1:.asciz "Linux" ; 2:.balign 4 ; 3: > > ^ > > /srv/src/kernel/next/arch/mips/vdso/elf.S:34:2: warning: DWARF2 only supports one section per compilation unit > > .section .mips_abiflags, "a" > > ^ > > > > Rework so the mips vdso Makefile adds flag '-no-integrated-as' unless > > LLVM_IAS is defined. > > > > Link: https://github.com/ClangBuiltLinux/linux/issues/1256 > > Cc: stable@vger.kernel.org # v4.19+ > > Suggested-by: Nick Desaulniers > > Signed-off-by: Anders Roxell > > I believe this is the better solution: > > https://lore.kernel.org/r/20210115192622.3828545-1-natechancellor@gmail.com/ Yes, I agree. Cheers, Anders