Re: [PATCH] lib/ubsan: default UBSAN_ALIGNMENT to not set

2019-01-30 Thread Arnd Bergmann
On Wed, Jan 30, 2019 at 6:12 PM Andrey Ryabinin wrote: > On 1/30/19 4:36 AM, Andrew Morton wrote: > > On Fri, 11 Jan 2019 22:01:16 +0300 Andrey Ryabinin > > wrote: > >> On 12/17/18 6:03 PM, Anders Roxell wrote: > >>> When booting an allmodconfig kernel, there are a lot of false-positives. > >>>

Re: [PATCH] lib/ubsan: default UBSAN_ALIGNMENT to not set

2019-01-30 Thread Andrey Ryabinin
On 1/30/19 4:36 AM, Andrew Morton wrote: > On Fri, 11 Jan 2019 22:01:16 +0300 Andrey Ryabinin > wrote: > >> >> >> On 12/17/18 6:03 PM, Anders Roxell wrote: >>> When booting an allmodconfig kernel, there are a lot of false-positives. >>> With a message like this 'UBSAN: Undefined behaviour

Re: [PATCH] lib/ubsan: default UBSAN_ALIGNMENT to not set

2019-01-29 Thread Andrew Morton
On Fri, 11 Jan 2019 22:01:16 +0300 Andrey Ryabinin wrote: > > > On 12/17/18 6:03 PM, Anders Roxell wrote: > > When booting an allmodconfig kernel, there are a lot of false-positives. > > With a message like this 'UBSAN: Undefined behaviour in...' with a call > > trace that follows. > > > >

Re: [PATCH] lib/ubsan: default UBSAN_ALIGNMENT to not set

2019-01-11 Thread Andrey Ryabinin
On 12/17/18 6:03 PM, Anders Roxell wrote: > When booting an allmodconfig kernel, there are a lot of false-positives. > With a message like this 'UBSAN: Undefined behaviour in...' with a call > trace that follows. > > Reworked so that when building a allmodconfig kernel that turns > everything

[PATCH] lib/ubsan: default UBSAN_ALIGNMENT to not set

2018-12-17 Thread Anders Roxell
When booting an allmodconfig kernel, there are a lot of false-positives. With a message like this 'UBSAN: Undefined behaviour in...' with a call trace that follows. Reworked so that when building a allmodconfig kernel that turns everything into '=m' or '=y' will turn off UBSAN_ALIGNMENT.