forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
Reported upstreamThis bug was filed on LLVM’s issue tracker, Phabricator, or the kernel mailing list.This bug was filed on LLVM’s issue tracker, Phabricator, or the kernel mailing list.[ARCH] x86_64This bug impacts ARCH=x86_64This bug impacts ARCH=x86_64[BUG] llvmA bug that should be fixed in upstream LLVMA bug that should be fixed in upstream LLVM[FIXED][LLVM] 22This bug was fixed in LLVM 22This bug was fixed in LLVM 22[FIXED][LLVM] 23This bug was fixed in LLVM 23This bug was fixed in LLVM 23[TOOL] objtoolwarning is produced by the kernel's objtoolwarning is produced by the kernel's objtool
Description
With several x86_64 distribution configurations:
$ curl -LSso .config https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/main/config
$ make -skj"$(nproc)" ARCH=x86_64 LLVM=1 olddefconfig drivers/gpu/drm/radeon/radeon.o
...
drivers/gpu/drm/radeon/radeon.o: warning: objtool: radeon_bo_list_validate+0x260: __stack_chk_fail() missing __noreturn in .c/.h or NORETURN() in noreturns.h
With a simpler configuration, there is a different warning in this function.
$ cat allno.config
CONFIG_DRM=y
CONFIG_DRM_RADEON=m
CONFIG_MODULES=y
CONFIG_PCI=y
$ make -skj"$(nproc)" ARCH=x86_64 LLVM=1 clean allnoconfig drivers/gpu/drm/radeon/radeon.o
drivers/gpu/drm/radeon/radeon_object.o: warning: objtool: radeon_bo_list_validate+0x21b: unreachable instruction
Metadata
Metadata
Assignees
Labels
Reported upstreamThis bug was filed on LLVM’s issue tracker, Phabricator, or the kernel mailing list.This bug was filed on LLVM’s issue tracker, Phabricator, or the kernel mailing list.[ARCH] x86_64This bug impacts ARCH=x86_64This bug impacts ARCH=x86_64[BUG] llvmA bug that should be fixed in upstream LLVMA bug that should be fixed in upstream LLVM[FIXED][LLVM] 22This bug was fixed in LLVM 22This bug was fixed in LLVM 22[FIXED][LLVM] 23This bug was fixed in LLVM 23This bug was fixed in LLVM 23[TOOL] objtoolwarning is produced by the kernel's objtoolwarning is produced by the kernel's objtool