[PW_SID:1119584] riscv: vdso: Do not use LTO for the vDSO#2187
[PW_SID:1119584] riscv: vdso: Do not use LTO for the vDSO#2187linux-riscv-bot wants to merge 3 commits into
Conversation
With LTO enabled the compiler assumes that the vDSO functions are not used and optimizes them away completely. Currently this happens to __vdso_clock_getres(), __vdso_clock_gettime(), __vdso_getrandom(), __vdso_gettimeofday() and __vdso_riscv_hwprobe(). Disable LTO for the vDSO, as these functions are hand-optimized anyways. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202606301855.WvkSC4kD-lkp@intel.com/ Fixes: 021d234 ("RISC-V: build: Allow LTO to be selected") Cc: stable@vger.kernel.org Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Listing all flags for each object file is tedious and error-prone. Replace it with a simpler solution. Link: https://lore.kernel.org/all/20260630135316-f26f0e0f-c08c-4d4d-9963-10f9985a7689@linutronix.de/ Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 1: "[1/2] riscv: vdso: Do not use LTO for the vDSO" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
|
Patch 2: "[2/2] riscv: vdso: Simplify cflags remove logic" |
a50938c to
40ba5ca
Compare
PR for series 1119584 applied to workflow__riscv__fixes
Name: riscv: vdso: Do not use LTO for the vDSO
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1119584
Version: 1