* [linux-next:master 5302/7547] fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored
@ 2026-05-21 18:18 kernel test robot
2026-05-23 0:52 ` Nathan Chancellor
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-05-21 18:18 UTC (permalink / raw)
To: Nathan Chancellor; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 550604d6c9b9efc8d068aff94dc301694a7afdee
commit: bc5ffe737f56ee2734597069ed71f48830549483 [5302/7547] Disable -Wattribute-alias for clang-23 and newer
config: arm-defconfig (https://download.01.org/0day-ci/archive/20260522/202605220247.dQAHslyv-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260522/202605220247.dQAHslyv-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605220247.dQAHslyv-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
152 | SYSCALL_DEFINE2(truncate, const char __user *, path, long, length)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:223:27: note: expanded from here
223 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/open.c:209:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
209 | SYSCALL_DEFINE2(ftruncate, unsigned int, fd, off_t, length)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:35:27: note: expanded from here
35 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/open.c:223:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
223 | SYSCALL_DEFINE2(truncate64, const char __user *, path, loff_t, length)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:68:27: note: expanded from here
68 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/open.c:228:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
228 | SYSCALL_DEFINE2(ftruncate64, unsigned int, fd, loff_t, length)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:101:27: note: expanded from here
101 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/open.c:365:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
365 | SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len)
| ^
include/linux/syscalls.h:228:36: note: expanded from macro 'SYSCALL_DEFINE4'
228 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
--
>> fs/read_write.c:412:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
412 | SYSCALL_DEFINE3(lseek, unsigned int, fd, off_t, offset, unsigned int, whence)
| ^
include/linux/syscalls.h:227:36: note: expanded from macro 'SYSCALL_DEFINE3'
227 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:46:27: note: expanded from here
46 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/read_write.c:426:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
426 | SYSCALL_DEFINE5(llseek, unsigned int, fd, unsigned long, offset_high,
| ^
include/linux/syscalls.h:229:36: note: expanded from macro 'SYSCALL_DEFINE5'
229 | #define SYSCALL_DEFINE5(name, ...) SYSCALL_DEFINEx(5, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:80:27: note: expanded from here
80 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/read_write.c:724:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
724 | SYSCALL_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count)
| ^
include/linux/syscalls.h:227:36: note: expanded from macro 'SYSCALL_DEFINE3'
227 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:32:27: note: expanded from here
32 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/read_write.c:748:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
748 | SYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf,
| ^
include/linux/syscalls.h:227:36: note: expanded from macro 'SYSCALL_DEFINE3'
227 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:72:27: note: expanded from here
72 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/read_write.c:770:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
770 | SYSCALL_DEFINE4(pread64, unsigned int, fd, char __user *, buf,
| ^
include/linux/syscalls.h:228:36: note: expanded from macro 'SYSCALL_DEFINE4'
228 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
--
>> fs/stat.c:505:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
505 | SYSCALL_DEFINE2(newstat, const char __user *, filename,
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:119:27: note: expanded from here
119 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/stat.c:518:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
518 | SYSCALL_DEFINE2(newlstat, const char __user *, filename,
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:18:27: note: expanded from here
18 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/stat.c:546:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
546 | SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf)
| ^
include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:51:27: note: expanded from here
51 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/stat.c:596:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
596 | SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname,
| ^
include/linux/syscalls.h:228:36: note: expanded from macro 'SYSCALL_DEFINE4'
228 | #define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
135 | #define __diag_clang_23(s) __diag(s)
| ^
include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
| ^
<scratch space>:92:27: note: expanded from here
92 | clang diagnostic ignored "-Wattribute-alias"
| ^
fs/stat.c:602:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
602 | SYSCALL_DEFINE3(readlink, const char __user *, path, char __user *, buf,
| ^
include/linux/syscalls.h:227:36: note: expanded from macro 'SYSCALL_DEFINE3'
227 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
| ^
include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^
include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
| ^
note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
..
vim +152 fs/open.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 151
4fd8da8d62416d0 Heiko Carstens 2009-09-23 @152 SYSCALL_DEFINE2(truncate, const char __user *, path, long, length)
^1da177e4c3f415 Linus Torvalds 2005-04-16 153 {
e8767a3134ca69a Christoph Hellwig 2026-03-23 154 return ksys_truncate(path, length);
^1da177e4c3f415 Linus Torvalds 2005-04-16 155 }
^1da177e4c3f415 Linus Torvalds 2005-04-16 156
:::::: The code at line 152 was first introduced by commit
:::::: 4fd8da8d62416d0dae05603ab5990a498d9aeb12 fs: change sys_truncate length parameter type
:::::: TO: Heiko Carstens <heiko.carstens@de.ibm.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-next:master 5302/7547] fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored
2026-05-21 18:18 [linux-next:master 5302/7547] fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored kernel test robot
@ 2026-05-23 0:52 ` Nathan Chancellor
2026-05-27 13:17 ` Philip Li
0 siblings, 1 reply; 3+ messages in thread
From: Nathan Chancellor @ 2026-05-23 0:52 UTC (permalink / raw)
To: kernel test robot; +Cc: llvm, oe-kbuild-all
On Fri, May 22, 2026 at 02:18:49AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: 550604d6c9b9efc8d068aff94dc301694a7afdee
> commit: bc5ffe737f56ee2734597069ed71f48830549483 [5302/7547] Disable -Wattribute-alias for clang-23 and newer
> config: arm-defconfig (https://download.01.org/0day-ci/archive/20260522/202605220247.dQAHslyv-lkp@intel.com/config)
> compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260522/202605220247.dQAHslyv-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202605220247.dQAHslyv-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
> 152 | SYSCALL_DEFINE2(truncate, const char __user *, path, long, length)
> | ^
> include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
> 226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
> | ^
> include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
> 236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
> | ^
> include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
> 250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
> | ^
> note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
> include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
> 135 | #define __diag_clang_23(s) __diag(s)
> | ^
> include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
> 132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
> | ^
> <scratch space>:223:27: note: expanded from here
> 223 | clang diagnostic ignored "-Wattribute-alias"
> | ^
Please update your clang-23, this will be avoided with a newer version
from main that has the change that adds -Wattribute-alias.
--
Cheers,
Nathan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-next:master 5302/7547] fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored
2026-05-23 0:52 ` Nathan Chancellor
@ 2026-05-27 13:17 ` Philip Li
0 siblings, 0 replies; 3+ messages in thread
From: Philip Li @ 2026-05-27 13:17 UTC (permalink / raw)
To: Nathan Chancellor; +Cc: kernel test robot, llvm, oe-kbuild-all
On Fri, May 22, 2026 at 05:52:04PM -0700, Nathan Chancellor wrote:
> On Fri, May 22, 2026 at 02:18:49AM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head: 550604d6c9b9efc8d068aff94dc301694a7afdee
> > commit: bc5ffe737f56ee2734597069ed71f48830549483 [5302/7547] Disable -Wattribute-alias for clang-23 and newer
> > config: arm-defconfig (https://download.01.org/0day-ci/archive/20260522/202605220247.dQAHslyv-lkp@intel.com/config)
> > compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260522/202605220247.dQAHslyv-lkp@intel.com/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202605220247.dQAHslyv-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > >> fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored [-Werror,-Wunknown-warning-option]
> > 152 | SYSCALL_DEFINE2(truncate, const char __user *, path, long, length)
> > | ^
> > include/linux/syscalls.h:226:36: note: expanded from macro 'SYSCALL_DEFINE2'
> > 226 | #define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
> > | ^
> > include/linux/syscalls.h:236:2: note: expanded from macro 'SYSCALL_DEFINEx'
> > 236 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
> > | ^
> > include/linux/syscalls.h:250:2: note: expanded from macro '__SYSCALL_DEFINEx'
> > 250 | __diag_ignore(clang, 23, "-Wattribute-alias", \
> > | ^
> > note: (skipping 4 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
> > include/linux/compiler-clang.h:135:28: note: expanded from macro '__diag_clang_23'
> > 135 | #define __diag_clang_23(s) __diag(s)
> > | ^
> > include/linux/compiler-clang.h:132:20: note: expanded from macro '__diag'
> > 132 | #define __diag(s) _Pragma(__diag_str(clang diagnostic s))
> > | ^
> > <scratch space>:223:27: note: expanded from here
> > 223 | clang diagnostic ignored "-Wattribute-alias"
> > | ^
>
> Please update your clang-23, this will be avoided with a newer version
> from main that has the change that adds -Wattribute-alias.
Thanks Nathan, we will upgrade the clang version asap to avoid this false report.
>
> --
> Cheers,
> Nathan
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-27 13:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-21 18:18 [linux-next:master 5302/7547] fs/open.c:152:1: error: unknown warning group '-Wattribute-alias', ignored kernel test robot
2026-05-23 0:52 ` Nathan Chancellor
2026-05-27 13:17 ` Philip Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox