Re: [PATCH] [v2] ubsan: build ubsan.c more conservatively

2019-07-22 Thread Andrey Ryabinin
On 7/22/19 3:50 PM, Arnd Bergmann wrote: > objtool points out several conditions that it does not like, depending > on the combination with other configuration options and compiler > variants: > > stack protector: > lib/ubsan.o: warning: objtool: __ubsan_handle_type_mismatch()+0xbf: call to >

[PATCH] [v2] ubsan: build ubsan.c more conservatively

2019-07-22 Thread Arnd Bergmann
objtool points out several conditions that it does not like, depending on the combination with other configuration options and compiler variants: stack protector: lib/ubsan.o: warning: objtool: __ubsan_handle_type_mismatch()+0xbf: call to __stack_chk_fail() with UACCESS enabled lib/ubsan.o: