From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: Re: linux-next: build failure after merge of the akpm tree Date: Fri, 22 Jan 2016 11:24:42 +1100 Message-ID: <20160122112442.75c07aac@canb.auug.org.au> References: <20151231232210.7ab890f1@canb.auug.org.au> <20160114151541.17e76d23@canb.auug.org.au> <20160115130527.c43357d0aef93d22380c6673@linux-foundation.org> <20160116100047.681e0e03@canb.auug.org.au> <20160115151401.03fe1a39ca397079407c2ca9@linux-foundation.org> <20160121073859.3a6c22a3@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from ozlabs.org ([103.22.144.67]:58209 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751587AbcAVAYo (ORCPT ); Thu, 21 Jan 2016 19:24:44 -0500 In-Reply-To: <20160121073859.3a6c22a3@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Takashi Iwai Cc: Vinod Koul , Andrew Morton , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Pierre-Louis Bossart Hi all, On Thu, 21 Jan 2016 07:38:59 +1100 Stephen Rothwell wrote: > > On Wed, 20 Jan 2016 15:09:47 +0100 Takashi Iwai wrote: > > > > On Sat, 16 Jan 2016 09:51:29 +0100, > > Takashi Iwai wrote: > > > > > > There are a few ways to fix this, but all are not comfortable. > > > > > > A. Disable compress API for powerpc. > > This also affects alpha, mips and (maybe) sparc. This was exposed on PowerPC by commit bf76f73c5f65 ("powerpc: enable UBSAN support") which is in Linus' tree as of this morning. The only relevant change that made was in the compiler flags (I tested this by building the file without that commit but with these new compiler flags: -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable -fsanitize=vla-bound -fsanitize=null -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=object-size -fsanitize=returns-nonnull-attribute -fsanitize=bool -fsanitize=enum -fsanitize=alignment The preprocessed file is the same in both cases, but with these flags the compiler errors. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au