File tree Expand file tree Collapse file tree 5 files changed +28
-12
lines changed
Expand file tree Collapse file tree 5 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 22# Automatically generated file; DO NOT EDIT.
33# Linux/x86 6.18.6 Kernel Configuration
44#
5- CONFIG_CC_VERSION_TEXT="clang version 21.1.6 "
5+ CONFIG_CC_VERSION_TEXT="clang version 21.1.8 "
66CONFIG_GCC_VERSION=0
77CONFIG_CC_IS_CLANG=y
8- CONFIG_CLANG_VERSION=210106
8+ CONFIG_CLANG_VERSION=210108
99CONFIG_AS_IS_LLVM=y
10- CONFIG_AS_VERSION=210106
10+ CONFIG_AS_VERSION=210108
1111CONFIG_LD_VERSION=0
1212CONFIG_LD_IS_LLD=y
13- CONFIG_LLD_VERSION=210106
13+ CONFIG_LLD_VERSION=210108
1414CONFIG_RUSTC_VERSION=0
1515CONFIG_RUSTC_LLVM_VERSION=0
1616CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
Original file line number Diff line number Diff line change 22# Automatically generated file; DO NOT EDIT.
33# Linux/arm64 6.18.6 Kernel Configuration
44#
5- CONFIG_CC_VERSION_TEXT="clang version 21.1.6 "
5+ CONFIG_CC_VERSION_TEXT="clang version 21.1.8 "
66CONFIG_GCC_VERSION=0
77CONFIG_CC_IS_CLANG=y
8- CONFIG_CLANG_VERSION=210106
8+ CONFIG_CLANG_VERSION=210108
99CONFIG_AS_IS_LLVM=y
10- CONFIG_AS_VERSION=210106
10+ CONFIG_AS_VERSION=210108
1111CONFIG_LD_VERSION=0
1212CONFIG_LD_IS_LLD=y
13- CONFIG_LLD_VERSION=210106
13+ CONFIG_LLD_VERSION=210108
1414CONFIG_RUSTC_VERSION=0
1515CONFIG_RUSTC_LLVM_VERSION=0
1616CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ shell: /bin/bash
44dependencies :
55 - stage : base
66 - stage : kernel-build
7+ - image : " {{ .LLVM }}"
78steps :
89 - sources :
910 - url : https://github.com/Mellanox/mstflint/releases/download/v{{ .mellanox_mstflint_version }}/kernel-mstflint-{{ .mellanox_mstflint_version }}.tar.gz
@@ -17,15 +18,15 @@ steps:
1718 tar -xzf kernel-mstflint.tgz --strip-components=1
1819 build :
1920 - |
20- make KPVER=$(cat /src/include/config/kernel.release) KSRC=/src
21+ make LLVM=1 KPVER=$(cat /src/include/config/kernel.release) KSRC=/src
2122 install :
2223 - |
2324 mkdir -p /rootfs/usr/lib/modules/$(cat /src/include/config/kernel.release)/
2425 cp /src/modules.order /rootfs/usr/lib/modules/$(cat /src/include/config/kernel.release)/
2526 cp /src/modules.builtin /rootfs/usr/lib/modules/$(cat /src/include/config/kernel.release)/
2627 cp /src/modules.builtin.modinfo /rootfs/usr/lib/modules/$(cat /src/include/config/kernel.release)/
2728
28- make -C /src M=$PWD modules_install INSTALL_MOD_PATH=/rootfs/usr INSTALL_MOD_DIR=extras INSTALL_MOD_STRIP=1
29+ make LLVM=1 -C /src M=$PWD modules_install INSTALL_MOD_PATH=/rootfs/usr INSTALL_MOD_DIR=extras INSTALL_MOD_STRIP=1
2930 test :
3031 - |
3132 # https://www.kernel.org/doc/html/v4.15/admin-guide/module-signing.html#signed-modules-and-stripping
Original file line number Diff line number Diff line change 1+ diff --git a/dev.c b/dev.c
2+ index 7cd8304..0473244 100755
3+ --- a/dev.c
4+ +++ b/dev.c
5+ @@ -69,7 +69,7 @@ static struct fuse_req *__fuse_request_alloc(gfp_t flags)
6+ return req;
7+ }
8+
9+ - struct fuse_req *fuse_request_alloc()
10+ + struct fuse_req *fuse_request_alloc(void)
11+ {
12+ return __fuse_request_alloc(GFP_NOIO);
13+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ shell: /bin/bash
44dependencies :
55 - stage : base
66 - stage : kernel-build
7+ - image : " {{ .LLVM }}"
78steps :
89 - sources :
910 - url : https://github.com/portworx/px-fuse/archive/{{ .px_fuse_ref }}.tar.gz
@@ -17,20 +18,21 @@ steps:
1718 tar xf px-fuse.tar.gz --strip-components=1
1819 - |
1920 patch -p1 < /pkg/patches/idr.patch
21+ patch -p1 < /pkg/patches/prototypes.patch
2022 - |
2123 autoreconf
2224 ./configure
2325 build :
2426 - |
25- make -j $(nproc) KERNELPATH=/src
27+ make LLVM=1 -j $(nproc) KERNELPATH=/src
2628 install :
2729 - |
2830 mkdir -p /rootfs/usr/lib/modules/$(cat /src/include/config/kernel.release)/
2931 cp /src/modules.order /rootfs/usr/lib/modules/$(cat /src/include/config/kernel.release)/
3032 cp /src/modules.builtin /rootfs/usr/lib/modules/$(cat /src/include/config/kernel.release)/
3133 cp /src/modules.builtin.modinfo /rootfs/usr/lib/modules/$(cat /src/include/config/kernel.release)/
3234
33- make -C /src M=$(pwd) modules_install INSTALL_MOD_PATH=/rootfs/usr INSTALL_MOD_DIR=extras INSTALL_MOD_STRIP=1
35+ make LLVM=1 -C /src M=$(pwd) modules_install INSTALL_MOD_PATH=/rootfs/usr INSTALL_MOD_DIR=extras INSTALL_MOD_STRIP=1
3436 test :
3537 - |
3638 # https://www.kernel.org/doc/html/v4.15/admin-guide/module-signing.html#signed-modules-and-stripping
You can’t perform that action at this time.
0 commit comments