Re: [PATCH] kbuild: disable clang's default use of -fmerge-all-constants

From: Daniel Borkmann
Date: Tue Mar 20 2018 - 20:38:56 EST


On 03/21/2018 01:36 AM, Linus Torvalds wrote:
> On Tue, Mar 20, 2018 at 5:18 PM, Daniel Borkmann <daniel@xxxxxxxxxxxxx> wrote:
>> Prasad reported that he has seen crashes in BPF subsystem with netd
>> on Android with arm64 in the form of (note, the taint is unrelated):
>
> Ack. This looks good to me. And thanks for noticing the behavior wrt
> the correct gcc merging.
>
>> [ Hi Linus, feel free to take this fix directly if you want.
>> Alternatively, we could route it via bpf tree. Thanks a
>> lot for your feedback! ]
>
> So since it's your patch and the only known issue comes from the bpf
> side, I think it should just go through the bpf tree, and I expect it
> to get to me through all the usual channels.

Yeah, that's fine, thanks for letting us know!

Best,
Daniel