From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 362722CA4 for ; Wed, 9 Aug 2023 14:43:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CF1AC433C7; Wed, 9 Aug 2023 14:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691592230; bh=SPWJfTnbAyDY9DXjwsNoO3N5YSghdMJD2KAlo08kyuU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N8HUqP58IW1+TxwGGSuVD0eKX0BcuC021V9vGaxKCq62YYnplPFJJFJT4GkCm+1R3 tHiq5Xe4V6uQ+AQMBhOUHJwyJHZLSZu8aMY1/YXWmlPGPhea27sO9+UeF6FTnZ1ZjE aXj+Z8VowJtHdyaFuqYQ8Z5L054I3F+ApjUA9NCOurM2hV6ffTM2DZwBKjyLbyCF0l gLAg3wEXRVwKaABDaWtQtewA3P/HPl/dEG17ATWWTGnNMlxyEknFhFox69ECZm0jR2 ZjHVvBqGfPwhQUoZW+fT0dfZhE3LtWpr1nf1PQgJAfDdlqueOvS+/Zw37UKCbuzAfj OVC97Cde4FGBw== Date: Wed, 9 Aug 2023 10:43:49 -0400 From: Sasha Levin To: Naresh Kamboju , bp@alien8.de Cc: linux-stable , clang-built-linux , Greg Kroah-Hartman , Nathan Chancellor , Nick Desaulniers , Anders Roxell , Arnd Bergmann Subject: Re: ld.lld: error: ./arch/x86/kernel/vmlinux.lds:191: at least one side of the expression must be absolute Message-ID: References: Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: On Wed, Aug 09, 2023 at 11:54:59AM +0530, Naresh Kamboju wrote: >also noticed on stable-rc 5.15 and 5.10. > >On Wed, 9 Aug 2023 at 11:40, Naresh Kamboju wrote: >> >> While building Linux stable rc 6.1 x86_64 with clang-17 failed due to >> following warnings / errors. >> >> make --silent --keep-going --jobs=8 >> O=/home/tuxbuild/.cache/tuxmake/builds/2/build ARCH=x86_64 SRCARCH=x86 >> CROSS_COMPILE=x86_64-linux-gnu- 'HOSTCC=sccache clang' 'CC=sccache >> clang' LLVM=1 LLVM_IAS=1 >> >> arch/x86/lib/retpoline.o: warning: objtool: .altinstr_replacement: >> unexpected end of section >> ld.lld: error: ./arch/x86/kernel/vmlinux.lds:191: at least one side of >> the expression must be absolute >> ld.lld: error: ./arch/x86/kernel/vmlinux.lds:192: at least one side of >> the expression must be absolute >> ld.lld: error: ./arch/x86/kernel/vmlinux.lds:191: at least one side of >> the expression must be absolute >> ld.lld: error: ./arch/x86/kernel/vmlinux.lds:192: at least one side of >> the expression must be absolute >> ld.lld: error: ./arch/x86/kernel/vmlinux.lds:191: at least one side of >> the expression must be absolute >> ld.lld: error: ./arch/x86/kernel/vmlinux.lds:192: at least one side of >> the expression must be absolute >> make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1 >> make[2]: Target '__default' not remade because of errors. >> make[1]: *** [Makefile:1255: vmlinux] Error 2 >> >> >> Build links, >> - https://storage.tuxsuite.com/public/linaro/lkft/builds/2TiTUgExGs7SrTm9Lb4fakgeTfw/ >> - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.44-117-g74848b090997/testrun/18917095/suite/build/test/clang-lkftconfig/details/ >> - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.44-117-g74848b090997/testrun/18917095/suite/build/test/clang-lkftconfig/history/ >> >> Steps to reproduce: >> tuxmake --runtime podman --target-arch x86_64 --toolchain clang-17 >> --kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2TiTUgExGs7SrTm9Lb4fakgeTfw/config >> LLVM=1 LLVM_IAS=1 >> https://storage.tuxsuite.com/public/linaro/lkft/builds/2TiTUgExGs7SrTm9Lb4fakgeTfw/tuxmake_reproducer.sh Same here... Bisected to ac41e90d8daa ("x86/srso: Add a Speculative RAS Overflow mitigation"), so adding in Borislav. -- Thanks, Sasha