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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5DD2C4332F for ; Tue, 13 Dec 2022 16:51:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236076AbiLMQvK (ORCPT ); Tue, 13 Dec 2022 11:51:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236229AbiLMQvJ (ORCPT ); Tue, 13 Dec 2022 11:51:09 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 595CC1055F; Tue, 13 Dec 2022 08:51:08 -0800 (PST) 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 E47FD615E7; Tue, 13 Dec 2022 16:51:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17D69C433EF; Tue, 13 Dec 2022 16:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670950267; bh=XuyPsD72oPHirUFch10ORuPd8S8i15OahN565MHaV3Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UulrFBfvcnR1w6K3YNUjNDZcZ7syW1CNLwHP52g1fRg0NiL+ufzmvvXbtW+qWBLF4 JXeZbqtpwOTCcV7XYKGyfBsOp4vCdXCJSu6EP5sLRYjYy9QuPIqFYmCjzkJ6pAMdAD bw0SJzye9X/1myFawQ6MwgsuUoS4+fcEnnFop6uNiQAyanNtA7pyKjmomzBETf7Wzs H6EFFqunywPAOVhpjRz2tlrMOp6r/E/H83WJwJ9+W9PAetSChyYS8oPzhW2HwxpNDY S2IjtGNRAwlu+HJpR/BxYZkoLbyjvbpj6n2ZQ/EuhnL5f9yjHHMN35Kxh9ycOjAjt5 VqC4SArSIY+lg== Date: Tue, 13 Dec 2022 09:51:04 -0700 From: Nathan Chancellor To: Naresh Kamboju Cc: Greg Kroah-Hartman , llvm@lists.linux.dev, stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de Subject: Re: [PATCH 6.0 000/157] 6.0.13-rc1 review Message-ID: References: <20221212130934.337225088@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Hi Naresh, On Tue, Dec 13, 2022 at 12:01:25PM +0530, Naresh Kamboju wrote: > This is an additional report. > Following issue is specific to clang nightly, > > x86 clang-nightly builds failed with defconfig and tinyconfig due to > below errors / warnings. > > Reported-by: Linux Kernel Functional Testing > > Regressions found on x86_64: > > - build/clang-nightly-tinyconfig > - build/clang-nightly-x86_64_defconfig > - build/clang-nightly-allnoconfig > - build/clang-nightly-lkftconfig > > make --silent --keep-going --jobs=8 > O=/home/tuxbuild/.cache/tuxmake/builds/1/build LLVM=1 LLVM_IAS=1 > ARCH=x86_64 SRCARCH=x86 CROSS_COMPILE=x86_64-linux-gnu- HOSTCC=clang > CC=clang > > ld.lld: error: version script assignment of 'LINUX_2.6' to symbol > '__vdso_sgx_enter_enclave' failed: symbol not defined > llvm-objdump: error: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file > or directory > llvm-objcopy: error: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file > or directory > make[4]: *** [/builds/linux/arch/x86/entry/vdso/Makefile:136: > arch/x86/entry/vdso/vdso64.so] Error 1 Thanks for the report! This is resolved in mainline now with commit 45be2ad007a9 ("x86/vdso: Conditionally export __vdso_sgx_enter_enclave()"). I was going to request stable backports once it was a little calmer but if people are hitting this now, I guess now is as good a time as ever :) I believe it should backport cleanly to 5.15+, which is where it is needed. Cheers, Nathan