From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E78DFC433EF for ; Wed, 27 Apr 2022 18:22:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8KsqGTWifPxR9O3lp8nLp+Aqz4M3pADat9hXqraYbpY=; b=W9h+dRqRCJoKc7 LazEMbd2Gbv8eMRRc2vI0V/gvoC4XLd7BVSfIInnOR28n50n1XPP96reUwARio5RCuVrtM2Tbrf7x feWSUswWXuvOfaDbQ7HQxiWnxXdEUIdYKlV573cvQCCCIJlNIFYwztUd/0QYHJiupEgaCbAFyfTrr JY6ofnTZhJCzb7QDksvAt+kNYcgfP/Q4VSfhkZaqGZqrnEhjXSv2ZOyBgRLLdTTN7yB38/mi6z3jG ZKWTNqi1AJILrlP7QJPNSRjcfNif1lFXpy3yqjVrbJAtHdZaFDlZdFsLKuKQZN9ALz2+4u/oSdEvc IfYeznOxW7e1q0DQZlCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njmIO-002xw5-78; Wed, 27 Apr 2022 18:21:48 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njmHJ-002xSz-7b for linux-arm-kernel@lists.infradead.org; Wed, 27 Apr 2022 18:20:42 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1B00D61EC5; Wed, 27 Apr 2022 18:20:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BF7FC385A7; Wed, 27 Apr 2022 18:20:38 +0000 (UTC) Date: Wed, 27 Apr 2022 19:20:34 +0100 From: Catalin Marinas To: Joey Gouly Cc: linux-arm-kernel@lists.infradead.org, nd@arm.com, keescook@chromium.org, masahiroy@kernel.org, vincenzo.frascino@arm.com, will@kernel.org Subject: Re: [PATCH v4 0/4] Enable orphan-handling=warn for VDSO Message-ID: References: <20220414104611.17748-1-joey.gouly@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220414104611.17748-1-joey.gouly@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220427_112041_366654_555C070C X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Joey, On Thu, Apr 14, 2022 at 11:46:07AM +0100, Joey Gouly wrote: > This small series enables the orphan-handling linker flag for the VDSO. > This could catch subtle errors if features that use special sections are > introduced into the VDSO implementation. Building the 5.18-rc3 kernel with these patches, I get lots of: aarch64-linux-ld: warning: orphan section `.rela.got' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.rela.dyn' aarch64-linux-ld: warning: orphan section `.got' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.got' aarch64-linux-ld: warning: orphan section `.got.plt' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.got.plt' aarch64-linux-ld: warning: orphan section `.plt' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.plt' aarch64-linux-ld: warning: orphan section `.rela.plt' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.rela.dyn' arm-linux-gnueabihf-ld: warning: orphan section `.glue_7' from `linker stubs' being placed in section `.glue_7' arm-linux-gnueabihf-ld: warning: orphan section `.glue_7t' from `linker stubs' being placed in section `.glue_7t' arm-linux-gnueabihf-ld: warning: orphan section `.vfp11_veneer' from `linker stubs' being placed in section `.vfp11_veneer' arm-linux-gnueabihf-ld: warning: orphan section `.v4_bx' from `linker stubs' being placed in section `.v4_bx' arm-linux-gnueabihf-ld: warning: orphan section `.rel.got' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.rel.dyn' arm-linux-gnueabihf-ld: warning: orphan section `.got.plt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.got.plt' arm-linux-gnueabihf-ld: warning: orphan section `.plt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.plt' arm-linux-gnueabihf-ld: warning: orphan section `.iplt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.iplt' arm-linux-gnueabihf-ld: warning: orphan section `.rel.iplt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.rel.dyn' arm-linux-gnueabihf-ld: warning: orphan section `.igot.plt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.igot.plt' arm-linux-gnueabihf-ld: warning: orphan section `.rel.text' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.rel.dyn' Do they need fixing or there's something wrong with my toolchain? -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel