Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3789066pxu; Wed, 9 Dec 2020 00:00:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvidFBPlE09/3vc24LwP8yQTerGWFP9wyhVBA2eK1p2Rm1iKnPGGhVFi+QA3eOms6go19l X-Received: by 2002:a05:6402:44b:: with SMTP id p11mr884608edw.164.1607500858464; Wed, 09 Dec 2020 00:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607500858; cv=none; d=google.com; s=arc-20160816; b=igI1uPyaSms1fD00MzCqAwd5z3vGgAw5HGww4QEuR9Ii+kYeeWe3Zpx4EVY04C8jPq fxsJROeR157lPRb01lOQCwoU20G1KHrjrjQS0fi8lkoZEcqb8teoliMuUetSaDSxlEc2 hSlJ5+c5A6Aa8jbIoJYAWKVS8FFF8o4PZ4/yb65npAZ5p+0M+VVU1SAe2d9v1Om9bL9c ki13p+p/S35rktY6anouL/gMovvtfDo490KE6IzSEwNnbTJZWLtoauLy8MgYklvnD8Pf GLYWrA+gfcYPABL5CjRedCMk3iPcWZObeqfgfWvmZEvg2HOUxKiLy1b0y/Am+VXf37ac 97Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=ezeYltFFWQPk8TbHKD5hrTf2iQVtdo+aiCKRad0htjA=; b=xKeu024YMuzeuo8ab3u9cepbZOipPKq25Aefx2tcdBnPluC4mE8/ShmPsioD3fGbym fsMFs0ZYyL26Ce8bEIJNceGC0zLI/xqLq543x8/zTf0YgDIZF38HTtWtXy2P4Ke2bvpD 9bVoX5324d05QSxajqKBEGw5q32Q7+HNpoClzWMtuKJFwE+eYWyl16qM/DFaN3/pyHa2 h6K0uMJrbcaf11jpTKqgZAVDDNAj0WdYeK4PzyraBtHm5YJoz5ZX2pmOVCYev6PlJlb/ 3vqcLmuY/x2pkdylVq4wx9r7UzR7kHAeVbcwCulXzTe+OehkId9+tCFIfph8xx4yqhvn tQsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=PlVCAeMh; 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 b22si384485ejk.400.2020.12.09.00.00.33; Wed, 09 Dec 2020 00:00: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=@ellerman.id.au header.s=201909 header.b=PlVCAeMh; 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 S1727526AbgLIEpW (ORCPT + 99 others); Tue, 8 Dec 2020 23:45:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727293AbgLIEpV (ORCPT ); Tue, 8 Dec 2020 23:45:21 -0500 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12491C0613CF; Tue, 8 Dec 2020 20:44:41 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4CrPbV2x6Zz9sWL; Wed, 9 Dec 2020 15:44:38 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1607489078; bh=KZ5wgpAwKiYgJzOPspqhqBP0PP7NjKGB38+vQR6Jig0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=PlVCAeMh/RycrGV8mp4Iyl0iSEjrcAbVXERIan3iGmed1cXLHg63sSOUhoT4rsYFt O7bFKxlRsLDQFLNGTxk/sQllwvTvCUhTIrjwPgFaiA3x/3bHKMNZxRHnfg1yh81kP0 GOmJdJ4ypiy4toslx5oJBqNnNa/rcm4EW+1q1OK9XJG2p7dBr+0NXuxe+rZMcsofyp bzC1lOSWALJzrCu5k5BsbJBm3qXvoQca3byDNHO5HqHc0Q/+j10NDktlmjWyHGHXbv g8QYV0ptd6or9kPK+7lPPqddeP+qx+ddjPxQYglcMmwDUttorPjt7VNhgeyJY8PEEs qzYcHg8pZv3Ug== From: Michael Ellerman To: Stephen Rothwell , Andrew Morton Cc: Linux Kernel Mailing List , Linux Next Mailing List , Kees Cook , PowerPC , Mathieu Malaterre , Nicholas Piggin Subject: Re: linux-next: build warning after merge of the akpm tree In-Reply-To: <20201208230157.42c42789@canb.auug.org.au> References: <20201204210000.660293c6@canb.auug.org.au> <20201208230157.42c42789@canb.auug.org.au> Date: Wed, 09 Dec 2020 15:44:35 +1100 Message-ID: <87r1nzsi4s.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen Rothwell writes: > Hi Stephen, > > On Fri, 4 Dec 2020 21:00:00 +1100 Stephen Rothwell wrote: >> >> Hi all, >> >> After merging the akpm tree, today's linux-next build (powerpc >> allyesconfig) produced warnings like this: >> >> ld: warning: orphan section `.data..Lubsan_data177' from `arch/powerpc/oprofile/op_model_pa6t.o' being placed in section `.data..Lubsan_data177' >> >> (lots of these latter ones) > > 781584 of them today! > >> I don't know what produced these, but it is in the akpm-current or >> akpm trees. > > Presumably the result of commit > > 186c3e18dba3 ("ubsan: enable for all*config builds") > > from the akpm-current tree. > > arch/powerpc/kernel/vmlinux.lds.S has: > > #ifdef CONFIG_PPC32 > .data : AT(ADDR(.data) - LOAD_OFFSET) { > DATA_DATA > #ifdef CONFIG_UBSAN > *(.data..Lubsan_data*) > *(.data..Lubsan_type*) > #endif > *(.data.rel*) > *(SDATA_MAIN) > > added by commit > > beba24ac5913 ("powerpc/32: Add .data..Lubsan_data*/.data..Lubsan_type* sections explicitly") > > in 2018, but no equivalent for 64 bit. They should really be in DATA_DATA or similar shouldn't they? cheers