From: Chris Metcalf <cmetcalf@mellanox.com>
To: Andrew Morton <akpm@linux-foundation.org>,
kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Dan Williams <dan.j.williams@intel.com>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: undefined reference to `early_panic'
Date: Mon, 6 Jun 2016 16:36:47 -0400 [thread overview]
Message-ID: <0900b611-cfda-23bc-c56b-7e44a4d56a0d@mellanox.com> (raw)
In-Reply-To: <20160606133120.cb13d4fa3b6bba4f5b427ca5@linux-foundation.org>
On 6/6/2016 4:31 PM, Andrew Morton wrote:
> On Sun, 5 Jun 2016 12:33:29 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:
>
>> [...]
>>
>> arch/tile/built-in.o: In function `setup_arch':
>>>> (.init.text+0x15d8): undefined reference to `early_panic'
>>
> This?
>
> From: Andrew Morton <akpm@linux-foundation.org>
> Subject: tile: early_printk.o is always required
>
> arch/tile/setup.o is always compiled, and it requires early_panic() and
> hence early_printk(), so we must always build and link early_printk.o.
>
> [...]
>
> diff -puN arch/tile/Kconfig~tile-early_printko-is-always-required arch/tile/Kconfig
> --- a/arch/tile/Kconfig~tile-early_printko-is-always-required
> +++ a/arch/tile/Kconfig
> @@ -14,6 +14,7 @@ config TILE
> select GENERIC_FIND_FIRST_BIT
> select GENERIC_IRQ_PROBE
> select GENERIC_IRQ_SHOW
> + select EARLY_PRINTK
> select GENERIC_PENDING_IRQ if SMP
> select GENERIC_STRNCPY_FROM_USER
> select GENERIC_STRNLEN_USER
Seems plausible; thanks.
Acked-by: Chris Metcalf <cmetcalf@mellanox.com>
--
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2016-06-06 20:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-05 4:33 kbuild test robot
2016-06-06 20:31 ` Andrew Morton
2016-06-06 20:36 ` Chris Metcalf [this message]
2016-06-06 23:31 ` Stephen Rothwell
2016-06-07 9:17 ` tile: early_printk.o is always required kbuild test robot
2016-06-07 19:52 ` Andrew Morton
2016-06-07 20:56 ` [PATCH] tile: allow disabling CONFIG_EARLY_PRINTK Chris Metcalf
-- strict thread matches above, loose matches on Subject: below --
2016-04-17 13:57 undefined reference to `early_panic' kbuild test robot
2016-04-03 5:59 kbuild test robot
2016-03-21 6:57 kbuild test robot
2016-03-13 14:37 kbuild test robot
2016-02-28 12:18 kbuild test robot
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=0900b611-cfda-23bc-c56b-7e44a4d56a0d@mellanox.com \
--to=cmetcalf@mellanox.com \
--cc=akpm@linux-foundation.org \
--cc=dan.j.williams@intel.com \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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