public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us•net>
To: Peter Hurley <peter@hurleysoftware•com>
Cc: Stephen Rothwell <sfr@canb•auug.org.au>,
	linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	Vineet Gupta <vgupta@synopsys•com>
Subject: Re: linux-next: Tree for Feb 3 (arc:defconfig build failure)
Date: Tue, 3 Feb 2015 13:11:42 -0800	[thread overview]
Message-ID: <20150203211142.GA18473@roeck-us.net> (raw)
In-Reply-To: <54D11C84.2060606@hurleysoftware.com>

On Tue, Feb 03, 2015 at 02:07:48PM -0500, Peter Hurley wrote:
> 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 <linux@roeck-us•net>
> Signed-off-by: Peter Hurley <peter@hurleysoftware•com>

Yes, that fixes the problem.

Tested-by: Guenter Roeck <linux@roeck-us•net>

      reply	other threads:[~2015-02-03 21:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03  7:20 linux-next: Tree for Feb 3 Stephen Rothwell
2015-02-03 18:42 ` linux-next: Tree for Feb 3 (arc:defconfig build failure) Guenter Roeck
2015-02-03 19:07   ` Peter Hurley
2015-02-03 21:11     ` Guenter Roeck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150203211142.GA18473@roeck-us.net \
    --to=linux@roeck-us$(echo .)net \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=peter@hurleysoftware$(echo .)com \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=vgupta@synopsys$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox