From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751743AbdBUKZA convert rfc822-to-8bit (ORCPT ); Tue, 21 Feb 2017 05:25:00 -0500 Received: from ozlabs.org ([103.22.144.67]:41601 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751266AbdBUKYx (ORCPT ); Tue, 21 Feb 2017 05:24:53 -0500 From: Michael Ellerman To: abdul , linuxppc-dev@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, fweisbec@gmail.com Subject: Re: [PowerPC] 4.10.0 fails to build on BE config In-Reply-To: References: User-Agent: Notmuch/0.21 (https://notmuchmail.org) Date: Tue, 21 Feb 2017 21:24:43 +1100 Message-ID: <87h93nn8no.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org abdul writes: > Hi, > > Today's mainline build, breaks on Power6 and Power7 (all BE config) with > these build errors > > arch/powerpc/kernel/time.c: In function ‘running_clock’: > arch/powerpc/kernel/time.c:712:2: error: implicit declaration of > function ‘cputime_to_nsecs’ [-Werror=implicit-function-declaration] > return local_clock() - > cputime_to_nsecs(kcpustat_this_cpu->cpustat[CPUTIME_STEAL]); > ^ > cc1: some warnings being treated as errors > make[1]: *** [arch/powerpc/kernel/time.o] Error 1 What exact config is that? And what compiler are you using? I build ~250 configs with two different compilers multiple times a day, so I'm curious how we failed to notice this. cheers