From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938758AbcLVCCo (ORCPT ); Wed, 21 Dec 2016 21:02:44 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:36459 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934992AbcLVCCn (ORCPT ); Wed, 21 Dec 2016 21:02:43 -0500 Date: Thu, 22 Dec 2016 12:02:24 +1000 From: Nicholas Piggin To: Larry Finger Cc: Russell King , Michal Marek , LKML , linuxppc-dev Subject: Re: Build warning on 32-bit PPC - bisected to commit 989cea5c14be Message-ID: <20161222120224.36202396@roar.ozlabs.ibm.com> In-Reply-To: <53d94073-6e7e-af83-a29a-e811ab5fd802@lwfinger.net> References: <53d94073-6e7e-af83-a29a-e811ab5fd802@lwfinger.net> Organization: IBM X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Dec 2016 13:49:07 -0600 Larry Finger wrote: > I am getting the following warning when I build kernel 4.9-git on my PowerBook > G4 with a 32-bit PPC processor: > > AS arch/powerpc/kernel/misc_32.o > arch/powerpc/kernel/misc_32.S:299:7: warning: "CONFIG_FSL_BOOKE" is not defined > [-Wundef] > > This problem has been bisected to commit 989cea5c14be ("kbuild: prevent > lib-ksyms.o rebuilds"). > > Thanks, > > Larry Hi Larry, This is strange you've bisected it there, I can't see how that patch would trigger it. That said, powerpc has had a few small build system glitches. It looks like this warning could be fixed by changing #elif CONFIG_FSL_BOOKE to #elif defined (CONFIG_FSL_BOOKE). Want to send a patch (if it works)? Thanks, Nick