Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp231581pxb; Fri, 15 Jan 2021 11:31:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWW7eifm3UwH4Gc7xcyroH2QuH3B0aovo48qRJAqSxU+a5Hhbuja1xlDQhMqYXY2JYvGDv X-Received: by 2002:a17:906:77c5:: with SMTP id m5mr9738577ejn.424.1610739092939; Fri, 15 Jan 2021 11:31:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610739092; cv=none; d=google.com; s=arc-20160816; b=nSmrliL3IrDORtrZHwLV7gUPmezyRZT2lcidjhr49v2UFw5lhJJ++d7uB2S+YXKfPT JQyDVCO+pffbKJNk0SfSN5sbsBy5TCiRy5lnDkLm9MiwMeP12hERBcq5GRWzBzCvw9WO KR374ladVx+R31fwpkwU48blEBPhohIy1T4r/cnpJOi6MOCX4/9O5VjP7nZPgj8bdJcH 1PrpyWN9V1QDYJwxw5RYfZXI5YiaKnpIS9jZZ9Fy4BHft4VlZSxoWL68xJPQ84Hl2srd BkSaG+OAdt1tnzahklBl4LUHGHVfU6N06xO43higG7SwF/SQwhzFh15ptN0gDKRhFE7n L6EQ== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=6zCZrnhgRt+dBoyQ8tcWZS1tIQoo0VWZii3AgJIF8i0=; b=tkF8uKxP52hS8iefCWaF3jgwUYFez6gRop8UBImYbGf196xV/jA0sfkxCRWD0mb3cn rBN4X4OOcw9kiHsIVdsLr3MDvz7vnh8nXvPbqowS+YPgzWzqIisTB8osI7LMPwjjSvpB RPB7pdtR8kNkkRAiiXcpiZIQpFt6pahMXPD6fVSDhSyiWqJkUpDbxFidCgBrMGP4Q6g/ 0jqgjAX1FNQsbMrWzXLC9Eqptdxfztoc1ZGThqVhq1CJanZN94fWlIpHjh17J9xQLmmU F2gUtFAXbDVqlsRnlFXbOWqaUPfe/d1BF+BJ+5aQXGtvJuKQyGin1lCVi52KXvikm70Z eyYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Vgj8FNW6; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q4si4424668eji.447.2021.01.15.11.31.08; Fri, 15 Jan 2021 11:31:32 -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=@gmail.com header.s=20161025 header.b=Vgj8FNW6; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388032AbhAOT2q (ORCPT + 99 others); Fri, 15 Jan 2021 14:28:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728293AbhAOT2q (ORCPT ); Fri, 15 Jan 2021 14:28:46 -0500 Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3078EC061757; Fri, 15 Jan 2021 11:28:06 -0800 (PST) Received: by mail-qk1-x72a.google.com with SMTP id p14so12795325qke.6; Fri, 15 Jan 2021 11:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=6zCZrnhgRt+dBoyQ8tcWZS1tIQoo0VWZii3AgJIF8i0=; b=Vgj8FNW6Or7PTM4LGoU0zBghO/2JuSVuOzZYSsvhZt1xwvDuTGXfNEgsmIhMp7KZGB abRgydY+HCbwOzxUCpfkL3Jb16lX+8Y8M8y6R+5CDXk1cCLA3A5NLT1a85pDGC8NN29w fNYfH1VhgN3NvJfYDN258yEuAD67w0zl1d7ysnrwLERXtZpAZJuKNqx3RQiRvwBPSUrK +v1Tx2CysJW+H6+t8Bq8rp7lbb7portcg9XcIGn96NcxDjrbT+vnuWpfINEXdaELtMBN BDCh9nQnkUkdv2G4lTrcCl2rB7q7czzK/oti2kKkkctq492Dv84k2gfWD82p234tv9zY zipg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=6zCZrnhgRt+dBoyQ8tcWZS1tIQoo0VWZii3AgJIF8i0=; b=IPyfJt2UzuxaCaUv/BbFJg0htMTGJyWH2xlgfADKr4c34sFENaUXF/X0RFP9Iifl9+ d3AgPwTzRowbMNtmicudHrWPd8NtfNFxAcfIeLnDtFspAUsfRt0Xu2JXfteEoZpmn4SO gN5DMbt6FaxfUKtGg3LD+sgdvBW1zAWJMNtfDfYpXYtYq/vkEeyXyqJmZBxJaSfARzG7 swZA8eOJTQ8e2CKtJwDkxpG3DtvtUiZy13BWkgmJ1ybvtzLgd7ud7rYAjxfHe96tgbg2 841ysbbyjWePzoIAkieTFO/P9q+YNij96HI9I0MOdt64iJUH9M26gHWoLgP1ztTdWQ3G u3ZA== X-Gm-Message-State: AOAM532zq5R5WIp5TdLX/AA/zwaGRfUid6vTELgM8YebdOordiFGvIjK 5Ay6daj3kBgrPp5wu6sOhc4= X-Received: by 2002:a37:78c4:: with SMTP id t187mr13833259qkc.139.1610738885332; Fri, 15 Jan 2021 11:28:05 -0800 (PST) Received: from ubuntu-m3-large-x86 ([2604:1380:45f1:1d00::1]) by smtp.gmail.com with ESMTPSA id v5sm5619396qkv.64.2021.01.15.11.28.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 11:28:04 -0800 (PST) Date: Fri, 15 Jan 2021 12:28:03 -0700 From: Nathan Chancellor To: Anders Roxell Cc: tsbogend@alpha.franken.de, ndesaulniers@google.com, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, stable@vger.kernel.org Subject: Re: [PATCH] mips: vdso: fix DWARF2 warning Message-ID: <20210115192803.GA3828660@ubuntu-m3-large-x86> References: <20210115191330.2319352-1-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210115191330.2319352-1-anders.roxell@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/ Cheers, Nathan