Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1413919 > unrolled thread
| Started by | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| First post | 2016-06-05 06:50 +0200 |
| Last post | 2016-06-07 22:00 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.kernel
undefined reference to `early_panic' kbuild test robot <fengguang.wu@intel.com> - 2016-06-05 06:50 +0200
Re: undefined reference to `early_panic' Andrew Morton <akpm@linux-foundation.org> - 2016-06-06 22:40 +0200
Re: undefined reference to `early_panic' Stephen Rothwell <sfr@canb.auug.org.au> - 2016-06-07 01:40 +0200
Re: tile: early_printk.o is always required kbuild test robot <lkp@intel.com> - 2016-06-07 11:20 +0200
Re: tile: early_printk.o is always required Andrew Morton <akpm@linux-foundation.org> - 2016-06-07 22:00 +0200
| From | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| Date | 2016-06-05 06:50 +0200 |
| Subject | undefined reference to `early_panic' |
| Message-ID | <rGyaB-2dm-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi,
It's probably a bug fix that unveils the link errors.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993
commit: 888cdbc2c9a76a0e450f533b1957cdbfe7d483d5 hugetlb: fix compile error on tile
date: 5 months ago
config: tile-allnoconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 888cdbc2c9a76a0e450f533b1957cdbfe7d483d5
# save the attached .config to linux build tree
make.cross ARCH=tile
All errors (new ones prefixed by >>):
arch/tile/built-in.o: In function `setup_arch':
>> (.init.text+0x15d8): undefined reference to `early_panic'
arch/tile/built-in.o: In function `setup_arch':
(.init.text+0x1610): undefined reference to `early_panic'
arch/tile/built-in.o: In function `setup_arch':
(.init.text+0x1800): undefined reference to `early_panic'
arch/tile/built-in.o: In function `setup_arch':
(.init.text+0x1828): undefined reference to `early_panic'
arch/tile/built-in.o: In function `setup_arch':
(.init.text+0x1bd8): undefined reference to `early_panic'
arch/tile/built-in.o:(.init.text+0x1c18): more undefined references to `early_panic' follow
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[toc] | [next] | [standalone]
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Date | 2016-06-06 22:40 +0200 |
| Message-ID | <rH9tw-1g5-13@gated-at.bofh.it> |
| In reply to | #1413919 |
On Sun, 5 Jun 2016 12:33:29 +0800 kbuild test robot <fengguang.wu@intel.com> wrote: > It's probably a bug fix that unveils the link errors. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 049ec1b5a76d34a6980cccdb7c0baeb4eed7a993 > commit: 888cdbc2c9a76a0e450f533b1957cdbfe7d483d5 hugetlb: fix compile error on tile > date: 5 months ago > config: tile-allnoconfig (attached as .config) > compiler: tilegx-linux-gcc (GCC) 4.6.2 > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 888cdbc2c9a76a0e450f533b1957cdbfe7d483d5 > # save the attached .config to linux build tree > make.cross ARCH=tile > > All errors (new ones prefixed by >>): > > arch/tile/built-in.o: In function `setup_arch': > >> (.init.text+0x15d8): undefined reference to `early_panic' > arch/tile/built-in.o: In function `setup_arch': > (.init.text+0x1610): undefined reference to `early_panic' > arch/tile/built-in.o: In function `setup_arch': > (.init.text+0x1800): undefined reference to `early_panic' > arch/tile/built-in.o: In function `setup_arch': > (.init.text+0x1828): undefined reference to `early_panic' > arch/tile/built-in.o: In function `setup_arch': > (.init.text+0x1bd8): undefined reference to `early_panic' > arch/tile/built-in.o:(.init.text+0x1c18): more undefined references to `early_panic' follow 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. Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Chris Metcalf <cmetcalf@mellanox.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> --- arch/tile/Kconfig | 1 + 1 file changed, 1 insertion(+) 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 _
[toc] | [prev] | [next] | [standalone]
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2016-06-07 01:40 +0200 |
| Message-ID | <rHchH-3b1-3@gated-at.bofh.it> |
| In reply to | #1415427 |
Hi Andrew, On Mon, 6 Jun 2016 13:31:20 -0700 Andrew Morton <akpm@linux-foundation.org> wrote: > > From: Andrew Morton <akpm@linux-foundation.org> > Subject: tile: early_printk.o is always required Added to linux-next today (will be dropped if it turns up elsewhere). -- Cheers, Stephen Rothwell
[toc] | [prev] | [next] | [standalone]
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Date | 2016-06-07 11:20 +0200 |
| Subject | Re: tile: early_printk.o is always required |
| Message-ID | <rHll0-PT-27@gated-at.bofh.it> |
| In reply to | #1415427 |
[Multipart message — attachments visible in raw view] — view raw
Hi,
[auto build test ERROR on tile/master]
[also build test ERROR on v4.7-rc2 next-20160606]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Andrew-Morton/tile-early_printk-o-is-always-required/20160607-043356
base: https://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master
config: tile-allnoconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile
All errors (new ones prefixed by >>):
arch/tile/built-in.o: In function `early_hv_write':
>> early_printk.c:(.text+0xc770): undefined reference to `tile_console_write'
early_printk.c:(.text+0xc800): undefined reference to `tile_console_write'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[toc] | [prev] | [next] | [standalone]
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Date | 2016-06-07 22:00 +0200 |
| Subject | Re: tile: early_printk.o is always required |
| Message-ID | <rHvkl-6Ti-17@gated-at.bofh.it> |
| In reply to | #1415909 |
On Tue, 7 Jun 2016 17:17:49 +0800 kbuild test robot <lkp@intel.com> wrote: > Hi, > > [auto build test ERROR on tile/master] > [also build test ERROR on v4.7-rc2 next-20160606] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Andrew-Morton/tile-early_printk-o-is-always-required/20160607-043356 > base: https://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master > config: tile-allnoconfig (attached as .config) > compiler: tilegx-linux-gcc (GCC) 4.6.2 > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=tile > > All errors (new ones prefixed by >>): > > arch/tile/built-in.o: In function `early_hv_write': > >> early_printk.c:(.text+0xc770): undefined reference to `tile_console_write' > early_printk.c:(.text+0xc800): undefined reference to `tile_console_write' Which means we also need HVC_TILE which means we need TTY which means... blah, I give up :)
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web