mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* clang 15 build error
@ 2025-10-15 14:33 Borislav Petkov
  2025-10-15 16:50 ` Nathan Chancellor
  0 siblings, 1 reply; 2+ messages in thread
From: Borislav Petkov @ 2025-10-15 14:33 UTC (permalink / raw)
  To: Nathan Chancellor; +Cc: x86-ml, lkml

Hey,

before I go dig into this, any ideas? The likelyhood that you know what the
issue is, is high: :-P

That's 32-bit allnoconfig of latest Linus master with Ubuntu clang version
15.0.7:

mm/maccess.c:41:3: error: invalid output size for constraint '=a'
                copy_from_kernel_nofault_loop(dst, src, size, u64, Efault);
                ^
mm/maccess.c:22:3: note: expanded from macro 'copy_from_kernel_nofault_loop'
                __get_kernel_nofault(dst, src, type, err_label);        \
                ^
./arch/x86/include/asm/uaccess.h:629:18: note: expanded from macro '__get_kernel_nofault'
        __get_user_size(*((type *)(dst)), (__force type __user *)(src), \
                        ^
mm/maccess.c:41:3: error: invalid output size for constraint '=a'
mm/maccess.c:22:3: note: expanded from macro 'copy_from_kernel_nofault_loop'
                __get_kernel_nofault(dst, src, type, err_label);        \
                ^
./arch/x86/include/asm/uaccess.h:629:18: note: expanded from macro '__get_kernel_nofault'
        __get_user_size(*((type *)(dst)), (__force type __user *)(src), \
                        ^
2 errors generated.
make[3]: *** [scripts/Makefile.build:287: mm/maccess.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:556: mm] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/home/amd/kernel/linux/Makefile:2010: .] Error 2
make: *** [Makefile:248: __sub-make] Error 2

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-15 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-15 14:33 clang 15 build error Borislav Petkov
2025-10-15 16:50 ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®