Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966603AbbBCTH5 (ORCPT ); Tue, 3 Feb 2015 14:07:57 -0500 Received: from mail-qc0-f177.google.com ([209.85.216.177]:32984 "EHLO mail-qc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966583AbbBCTHu (ORCPT ); Tue, 3 Feb 2015 14:07:50 -0500 Message-ID: <54D11C84.2060606@hurleysoftware.com> Date: Tue, 03 Feb 2015 14:07:48 -0500 From: Peter Hurley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Guenter Roeck , Stephen Rothwell CC: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Vineet Gupta Subject: Re: linux-next: Tree for Feb 3 (arc:defconfig build failure) References: <20150203182010.73624992@canb.auug.org.au> <20150203184218.GA20822@roeck-us.net> In-Reply-To: <20150203184218.GA20822@roeck-us.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2515 Lines: 79 On 02/03/2015 01:42 PM, Guenter Roeck wrote: > On Tue, Feb 03, 2015 at 06:20:10PM +1100, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20150202: >> >> The target-updates tree gained a conflict against Linus' tree. >> >> The clk tree gained conflicts against the arm-soc tree. >> >> Non-merge commits (relative to Linus' tree): 7173 >> 7143 files changed, 301126 insertions(+), 167764 deletions(-) >> >> ---------------------------------------------------------------------------- >> > Building arc:defconfig ... failed > -------------- > Error log: > > drivers/built-in.o: In function `of_setup_earlycon': > (.init.text+0xb3e): undefined reference to `arc_early_base_baud' > drivers/built-in.o: In function `setup_earlycon': > (.init.text+0xcd0): undefined reference to `arc_early_base_baud' > make: *** [vmlinux] Error 1 > > This is due to "ARC: Dynamically determine BASE_BAUD from DeviceTree". > arc:defconfig does not define CONFIG_SERIAL_8250 and thus also not > CONFIG_SERIAL_8250_CONSOLE, but it looks like it is mandatory > after this patch. > > Guenter Thanks for the report. Does the patch below fix the build breakage? Regards, Peter Hurley --- >% --- Subject: [PATCH] ARC: Fix earlycon build breakage Commit ffb7fcd66f14 ("ARC: Dynamically determine BASE_BAUD from DeviceTree") breaks arc:defconfig build: drivers/built-in.o: In function `of_setup_earlycon': (.init.text+0xb3e): undefined reference to `arc_early_base_baud' drivers/built-in.o: In function `setup_earlycon': (.init.text+0xcd0): undefined reference to `arc_early_base_baud' make: *** [vmlinux] Error 1 BASE_BAUD is only required for earlycon, which should depend on CONFIG_SERIAL_EARLYCON. Reported-by: Guenter Roeck Signed-off-by: Peter Hurley --- arch/arc/kernel/devtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/kernel/devtree.c b/arch/arc/kernel/devtree.c index 5036d4c..e32b54a 100644 --- a/arch/arc/kernel/devtree.c +++ b/arch/arc/kernel/devtree.c @@ -17,7 +17,7 @@ #include #include -#ifdef CONFIG_SERIAL_8250_CONSOLE +#ifdef CONFIG_SERIAL_EARLYCON static unsigned int __initdata arc_base_baud; -- 2.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/