Re: [PATCH 6.1 000/127] 6.1.45-rc1 review

From: Guenter Roeck
Date: Thu Aug 10 2023 - 23:41:50 EST


On 8/10/23 20:22, Naresh Kamboju wrote:
On Wed, 9 Aug 2023 at 16:21, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

This is the start of the stable review cycle for the 6.1.45 release.
There are 127 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.

Responses should be made by Fri, 11 Aug 2023 10:36:10 +0000.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.45-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.

thanks,

greg k-h


While building Linux stable rc 6.1 x86_64 with clang-17 failed due to
following warnings / errors.

Regressions found on x86_64:

- build/clang-nightly-lkftconfig-kselftest
- build/clang-nightly-x86_64_defconfig
- build/clang-nightly-lkftconfig
- build/clang-lkftconfig
- build/clang-nightly-allmodconfig


Build errors:
-----
ld.lld: error: ./arch/x86/kernel/vmlinux.lds:193: at least one side of
the expression must be absolute
make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1


We see that with v5.10.y, v5.15.y, and v6.1.y when building ChromeOS images with
clang/lld. There are additional problems with LTO and the built-in assembler. See
https://www.linuxquestions.org/questions/slackware-14/error-building-kernel-6-1-44-on-current-with-clang-4175727865/
for a summary.

As far as I can see none of those problems has been fixed in the upstream kernel.

Guenter


Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

upstream report:
-----
- https://lore.kernel.org/llvm/CA+G9fYsdUeNu-gwbs0+T6XHi4hYYk=Y9725-wFhZ7gJMspLDRA@xxxxxxxxxxxxxx/

Proposed fix patch:
-----
[PATCH] x86/srso: fix build breakage for LD=ld.lld
- https://lore.kernel.org/lkml/20230809-gds-v1-1-eaac90b0cbcc@xxxxxxxxxx/T/

This patch is yet to be backported and CC to stable.

--
Linaro LKFT
https://lkft.linaro.org