Re: [PATCH 1/3] kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures

2023-06-09 Thread Michael Ellerman
Christophe Leroy writes: > Le 12/05/2023 à 18:09, Marco Elver a écrit : >> On Fri, 12 May 2023 at 17:31, Christophe Leroy >> wrote: >>> >>> Activating KCSAN on a 32 bits architecture leads to the following >>> link-time failure: >>> >>> LD .tmp_vmlinux.kallsyms1 >>>powerpc64-linux-l

Re: [PATCH 1/3] kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures

2023-05-12 Thread Christophe Leroy
Le 12/05/2023 à 18:09, Marco Elver a écrit : > On Fri, 12 May 2023 at 17:31, Christophe Leroy > wrote: >> >> Activating KCSAN on a 32 bits architecture leads to the following >> link-time failure: >> >> LD .tmp_vmlinux.kallsyms1 >>powerpc64-linux-ld: kernel/kcsan/core.o: in functio

Re: [PATCH 1/3] kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures

2023-05-12 Thread Marco Elver
On Fri, 12 May 2023 at 17:31, Christophe Leroy wrote: > > Activating KCSAN on a 32 bits architecture leads to the following > link-time failure: > > LD .tmp_vmlinux.kallsyms1 > powerpc64-linux-ld: kernel/kcsan/core.o: in function `__tsan_atomic64_load': > kernel/kcsan/core.c:1273: und

[PATCH 1/3] kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures

2023-05-12 Thread Christophe Leroy
Activating KCSAN on a 32 bits architecture leads to the following link-time failure: LD .tmp_vmlinux.kallsyms1 powerpc64-linux-ld: kernel/kcsan/core.o: in function `__tsan_atomic64_load': kernel/kcsan/core.c:1273: undefined reference to `__atomic_load_8' powerpc64-linux-ld: kernel/k