From: balbi@ti.com (Felipe Balbi)
To: linux-arm-kernel@lists.infradead.org
Subject: randconfig build error
Date: Mon, 24 Feb 2014 09:37:35 -0600 [thread overview]
Message-ID: <20140224153735.GB31636@saruman.home> (raw)
In-Reply-To: <20140222141525.GT27282@n2100.arm.linux.org.uk>
On Sat, Feb 22, 2014 at 02:15:25PM +0000, Russell King - ARM Linux wrote:
> On Fri, Feb 21, 2014 at 09:55:13AM -0600, Felipe Balbi wrote:
> > Here's the error I found:
> >
> > warning: (ARCH_HI3xxx && SOC_OMAP5 && ARCH_SHMOBILE_MULTI) selects HAVE_ARM_TWD which has unmet direct dependencies (SMP)
> > warning: (ARCH_HI3xxx && SOC_OMAP5 && ARCH_SHMOBILE_MULTI) selects HAVE_ARM_TWD which has unmet direct dependencies (SMP)
> > arch/arm/mach-prima2/common.c:23:20: warning: ?sirfsoc_map_io? defined but not used [-Wunused-function]
> > static __init void sirfsoc_map_io(void)
> > ^
> > arch/arm/kernel/smp_twd.c: In function ?twd_local_timer_of_register?:
> > arch/arm/kernel/smp_twd.c:391:20: error: ?setup_max_cpus? undeclared (first use in this function)
> > if (!is_smp() || !setup_max_cpus)
> > ^
> > arch/arm/kernel/smp_twd.c:391:20: note: each undeclared identifier is reported only once for each function it appears in
> > make[1]: *** [arch/arm/kernel/smp_twd.o] Error 1
> > make[1]: *** Waiting for unfinished jobs....
> > make: *** [arch/arm/kernel] Error 2
> > make: *** Waiting for unfinished jobs....
> >
> > The funny part of that is that SOC_OMAP5, ARCH_SHMOBILE_MULTI, and
> > ARCH_HI3xxx have:
> >
> > select HAVE_ARM_TWD if SMP
> >
> > so how come we still select it if CONFIG_SMP=n on that particular
> > randconfig ?
>
> Are you entirely certian which kernel version you're building? v3.14-rc1
> to my tip has this:
>
> diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig
> index 8f4649b301b2..1abae5f6a418 100644
> --- a/arch/arm/mach-hisi/Kconfig
> +++ b/arch/arm/mach-hisi/Kconfig
> @@ -8,7 +8,7 @@ config ARCH_HI3xxx
> select CLKSRC_OF
> select GENERIC_CLOCKEVENTS
> select HAVE_ARM_SCU
> - select HAVE_ARM_TWD
> + select HAVE_ARM_TWD if SMP
> select HAVE_SMP
> select PINCTRL
> select PINCTRL_SINGLE
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index 653b489479e0..e2ce4f8366a7 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -54,7 +54,7 @@ config SOC_OMAP5
> select ARM_GIC
> select CPU_V7
> select HAVE_ARM_SCU if SMP
> - select HAVE_ARM_TWD if LOCAL_TIMERS
> + select HAVE_ARM_TWD if SMP
> select HAVE_SMP
> select HAVE_ARM_ARCH_TIMER
> select ARM_ERRATA_798181 if SMP
> diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
> index 338640631e08..05fa505df585 100644
> --- a/arch/arm/mach-shmobile/Kconfig
> +++ b/arch/arm/mach-shmobile/Kconfig
> @@ -8,7 +8,7 @@ config ARCH_SHMOBILE_MULTI
> select CPU_V7
> select GENERIC_CLOCKEVENTS
> select HAVE_ARM_SCU if SMP
> - select HAVE_ARM_TWD if LOCAL_TIMERS
> + select HAVE_ARM_TWD if SMP
> select HAVE_SMP
> select ARM_GIC
> select MIGHT_HAVE_CACHE_L2X0
>
> The relevant bits are the "-" lines, which indicate that with v3.14-rc1,
> ARCH_HI3xxx would select HAVE_ARM_TWD without SMP set, and indeed, your
> config you attached has ARCH_HI3xxx set.
yeah, just checked that it builds just fine on -rc3. Thanks
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140224/e0b761c9/attachment.sig>
prev parent reply other threads:[~2014-02-24 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-21 15:55 randconfig build error Felipe Balbi
2014-02-22 14:15 ` Russell King - ARM Linux
2014-02-24 15:37 ` Felipe Balbi [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=20140224153735.GB31636@saruman.home \
--to=balbi@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).