Re: arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'

From: Pavel Machek
Date: Thu Oct 08 2020 - 03:15:12 EST


Hi!

> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: c85fb28b6f999db9928b841f63f1beeb3074eeca
> commit: 92a81562e695628086acb92f95090ab09d9b9ec0 leds: lp55xx: Add multicolor framework support to lp55xx
> date: 3 months ago
> config: arc-randconfig-r035-20201008 (attached as .config)
> compiler: arceb-elf-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=92a81562e695628086acb92f95090ab09d9b9ec0
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 92a81562e695628086acb92f95090ab09d9b9ec0
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

Hi robot. Do you have human around to talk to?

> All errors (new ones prefixed by >>):
>
> arceb-elf-ld: lib/stackdepot.o: in function `filter_irq_stacks':
> lib/stackdepot.c:331: undefined reference to `__irqentry_text_start'
> arceb-elf-ld: lib/stackdepot.c:331: undefined reference to `__irqentry_text_start'
> arceb-elf-ld: lib/stackdepot.o: in function `in_irqentry_text':
> lib/stackdepot.c:323: undefined reference to `__irqentry_text_end'
> arceb-elf-ld: lib/stackdepot.c:323: undefined reference to `__irqentry_text_end'
> arceb-elf-ld: lib/stackdepot.c:324: undefined reference to `__softirqentry_text_start'
> arceb-elf-ld: lib/stackdepot.c:324: undefined reference to `__softirqentry_text_start'
> arceb-elf-ld: lib/stackdepot.c:325: undefined reference to `__softirqentry_text_end'
> arceb-elf-ld: lib/stackdepot.c:325: undefined reference to

What is going on here? Did you just start testing arc? The commit
is... really old.

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature