forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
[ARCH] x86_64This bug impacts ARCH=x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[PATCH] SubmittedA patch has been submitted for reviewA patch has been submitted for review[TOOL] objtoolwarning is produced by the kernel's objtoolwarning is produced by the kernel's objtool
Description
$ cat allno.config
CONFIG_COMMON_CLK=y
# CONFIG_LTO_NONE is not set
CONFIG_LTO_CLANG_THIN=y
CONFIG_I2C=y
CONFIG_MEDIA_CAMERA_SUPPORT=y
CONFIG_MEDIA_SUPPORT=y
CONFIG_MODULES=y
CONFIG_VIDEO_CAMERA_SENSOR=y
CONFIG_VIDEO_CCS=m
CONFIG_VIDEO_DEV=y
$ make -skj"$(nproc)" ARCH=x86_64 KCONFIG_ALLCONFIG=1 LLVM=1 clean allnoconfig drivers/media/i2c/ccs/ccs.o
drivers/media/i2c/ccs/ccs.o: warning: objtool: ccs_set_selection(): unexpected end of section .text.ccs_set_selection
This likely involves some sort of undefined behavior that is only apparent from inlining that LTO enables.
Metadata
Metadata
Assignees
Labels
[ARCH] x86_64This bug impacts ARCH=x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[PATCH] SubmittedA patch has been submitted for reviewA patch has been submitted for review[TOOL] objtoolwarning is produced by the kernel's objtoolwarning is produced by the kernel's objtool