linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: zonque@gmail.com (Daniel Mack)
To: linux-arm-kernel@lists.infradead.org
Subject: mainline tree fails to build with OMAP3-only config
Date: Thu, 03 Nov 2011 16:48:01 +0100	[thread overview]
Message-ID: <4EB2B7B1.4070804@gmail.com> (raw)

Hi,

when trying to build an OMAP3-only config with Linus' current mainline 
HEAD, I'm getting the following errors. The same config works fine with 
v3.1.

The reasons seems to be that arch/arm/mach-omap2/io.c defines the 
*_init_early() functions unconditionally for all platforms. Is this 
already fixed in any tree?


Thanks,
Daniel


   LD      .tmp_vmlinux1
arch/arm/mach-omap2/built-in.o: In function `omap4430_init_early':
twl-common.c:(.init.text+0x4f0): undefined reference to 
`omap2_set_globals_443x'
twl-common.c:(.init.text+0x4f8): undefined reference to 
`omap44xx_voltagedomains_init'
twl-common.c:(.init.text+0x4fc): undefined reference to 
`omap44xx_powerdomains_init'
twl-common.c:(.init.text+0x500): undefined reference to 
`omap44xx_clockdomains_init'
twl-common.c:(.init.text+0x504): undefined reference to 
`omap44xx_hwmod_init'
twl-common.c:(.init.text+0x510): undefined reference to `omap4xxx_clk_init'
arch/arm/mach-omap2/built-in.o: In function `omap2430_init_early':
twl-common.c:(.init.text+0x578): undefined reference to 
`omap2_set_globals_243x'
twl-common.c:(.init.text+0x580): undefined reference to 
`omap2xxx_voltagedomains_init'
twl-common.c:(.init.text+0x584): undefined reference to 
`omap243x_powerdomains_init'
twl-common.c:(.init.text+0x588): undefined reference to 
`omap243x_clockdomains_init'
twl-common.c:(.init.text+0x58c): undefined reference to 
`omap2430_hwmod_init'
arch/arm/mach-omap2/built-in.o: In function `omap2420_init_early':
twl-common.c:(.init.text+0x59c): undefined reference to 
`omap2_set_globals_242x'
twl-common.c:(.init.text+0x5a4): undefined reference to 
`omap2xxx_voltagedomains_init'
twl-common.c:(.init.text+0x5a8): undefined reference to 
`omap242x_powerdomains_init'
twl-common.c:(.init.text+0x5ac): undefined reference to 
`omap242x_clockdomains_init'
twl-common.c:(.init.text+0x5b0): undefined reference to 
`omap2420_hwmod_init'
make: *** [.tmp_vmlinux1] Error 1

             reply	other threads:[~2011-11-03 15:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 15:48 Daniel Mack [this message]
2011-11-03 17:53 ` mainline tree fails to build with OMAP3-only config Daniel Mack
2011-11-03 18:57   ` Tony Lindgren

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=4EB2B7B1.4070804@gmail.com \
    --to=zonque@gmail.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).