linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
@ 2020-10-08  6:16 kernel test robot
  2020-10-08  7:15 ` Pavel Machek
  0 siblings, 1 reply; 6+ messages in thread
From: kernel test robot @ 2020-10-08  6:16 UTC (permalink / raw)
  To: Dan Murphy; +Cc: kbuild-all, linux-kernel, Pavel Machek

[-- Attachment #1: Type: text/plain, Size: 2336 bytes --]

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@intel.com>

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 `__softirqentry_text_end'
   arceb-elf-ld: drivers/leds/leds-lp55xx-common.o: in function `devm_led_classdev_register':
   include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
>> arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26777 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
  2020-10-08  6:16 arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext' kernel test robot
@ 2020-10-08  7:15 ` Pavel Machek
  2020-10-10  3:19   ` [kbuild-all] " Rong Chen
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2020-10-08  7:15 UTC (permalink / raw)
  To: kernel test robot; +Cc: Dan Murphy, kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2325 bytes --]

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@intel.com>

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [kbuild-all] Re: arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
  2020-10-08  7:15 ` Pavel Machek
@ 2020-10-10  3:19   ` Rong Chen
  2020-10-10  3:49     ` Randy Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: Rong Chen @ 2020-10-10  3:19 UTC (permalink / raw)
  To: Pavel Machek, kernel test robot; +Cc: Dan Murphy, kbuild-all, linux-kernel



On 10/8/20 3:15 PM, Pavel Machek wrote:
> 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@intel.com>
> 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.
>

Hi Pavel,

Only this error "arceb-elf-ld: include/linux/leds.h:193: undefined 
reference to `devm_led_classdev_register_ext'" was found in this commit,
other errors are for reference only, and the test config is a rand 
config, so it's discovered by chance.

Best Regards,
Rong Chen

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [kbuild-all] Re: arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
  2020-10-10  3:19   ` [kbuild-all] " Rong Chen
@ 2020-10-10  3:49     ` Randy Dunlap
  2020-10-10  7:13       ` Rong Chen
  0 siblings, 1 reply; 6+ messages in thread
From: Randy Dunlap @ 2020-10-10  3:49 UTC (permalink / raw)
  To: Rong Chen, Pavel Machek, kernel test robot
  Cc: Dan Murphy, kbuild-all, linux-kernel

On 10/9/20 8:19 PM, Rong Chen wrote:
> 
> 
> On 10/8/20 3:15 PM, Pavel Machek wrote:
>> 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@intel.com>
>> 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.
>>
> 
> Hi Pavel,
> 
> Only this error "arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'" was found in this commit,
> other errors are for reference only, and the test config is a rand config, so it's discovered by chance.

Hi,
Just for the record, I could not reproduce the build error
with the config file that was provided.

-- 
~Randy


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [kbuild-all] Re: arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
  2020-10-10  3:49     ` Randy Dunlap
@ 2020-10-10  7:13       ` Rong Chen
  2020-10-10 16:59         ` Randy Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: Rong Chen @ 2020-10-10  7:13 UTC (permalink / raw)
  To: Randy Dunlap, Pavel Machek, kernel test robot
  Cc: Dan Murphy, kbuild-all, linux-kernel



On 10/10/20 11:49 AM, Randy Dunlap wrote:
> On 10/9/20 8:19 PM, Rong Chen wrote:
>>
>> On 10/8/20 3:15 PM, Pavel Machek wrote:
>>> 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@intel.com>
>>> 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.
>>>
>> Hi Pavel,
>>
>> Only this error "arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'" was found in this commit,
>> other errors are for reference only, and the test config is a rand config, so it's discovered by chance.
> Hi,
> Just for the record, I could not reproduce the build error
> with the config file that was provided.
>

Hi Randy,

I can reproduce it with the above reproduce steps:

➜  linux git:(92a81562e695) ✗ make 
CROSS_COMPILE=/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf- 
ARCH=arc
   CALL    scripts/checksyscalls.sh
   CALL    scripts/atomic/check-atomics.sh
   CHK     include/generated/compile.h
   GEN     .version
   CHK     include/generated/compile.h
   UPD     include/generated/compile.h
   CC      init/version.o
   AR      init/built-in.a
   LD      vmlinux.o
   MODPOST vmlinux.symvers
   MODINFO modules.builtin.modinfo
   GEN     modules.builtin
   LD      .tmp_vmlinux.kallsyms1
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
lib/stackdepot.o: in function `filter_irq_stacks':
/home/nfs/linux/lib/stackdepot.c:331: undefined reference to 
`__irqentry_text_start'
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
/home/nfs/linux/lib/stackdepot.c:331: undefined reference to 
`__irqentry_text_start'
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
lib/stackdepot.o: in function `in_irqentry_text':
/home/nfs/linux/lib/stackdepot.c:323: undefined reference to 
`__irqentry_text_end'
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
/home/nfs/linux/lib/stackdepot.c:323: undefined reference to 
`__irqentry_text_end'
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
/home/nfs/linux/lib/stackdepot.c:324: undefined reference to 
`__softirqentry_text_start'
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
/home/nfs/linux/lib/stackdepot.c:324: undefined reference to 
`__softirqentry_text_start'
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
/home/nfs/linux/lib/stackdepot.c:325: undefined reference to 
`__softirqentry_text_end'
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
/home/nfs/linux/lib/stackdepot.c:325: undefined reference to 
`__softirqentry_text_end'
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
drivers/leds/leds-lp55xx-common.o: in function `devm_led_classdev_register':
/home/nfs/linux/./include/linux/leds.h:193: undefined reference to 
`devm_led_classdev_register_ext'
/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: 
/home/nfs/linux/./include/linux/leds.h:193: undefined reference to 
`devm_led_classdev_register_ext'
make: *** [Makefile:1139: vmlinux] Error 1

Best Regards,
Rong Chen

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [kbuild-all] Re: arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
  2020-10-10  7:13       ` Rong Chen
@ 2020-10-10 16:59         ` Randy Dunlap
  0 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2020-10-10 16:59 UTC (permalink / raw)
  To: Rong Chen, Pavel Machek, kernel test robot
  Cc: Dan Murphy, kbuild-all, linux-kernel

On 10/10/20 12:13 AM, Rong Chen wrote:
> 
> 
> On 10/10/20 11:49 AM, Randy Dunlap wrote:
>> On 10/9/20 8:19 PM, Rong Chen wrote:
>>>
>>> On 10/8/20 3:15 PM, Pavel Machek wrote:
>>>> 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@intel.com>
>>>> 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.
>>>>
>>> Hi Pavel,
>>>
>>> Only this error "arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'" was found in this commit,
>>> other errors are for reference only, and the test config is a rand config, so it's discovered by chance.
>> Hi,
>> Just for the record, I could not reproduce the build error
>> with the config file that was provided.
>>
> 
> Hi Randy,
> 
> I can reproduce it with the above reproduce steps:
> 
> ➜  linux git:(92a81562e695) ✗ make CROSS_COMPILE=/home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf- ARCH=arc
>   CALL    scripts/checksyscalls.sh
>   CALL    scripts/atomic/check-atomics.sh
>   CHK     include/generated/compile.h
>   GEN     .version
>   CHK     include/generated/compile.h
>   UPD     include/generated/compile.h
>   CC      init/version.o
>   AR      init/built-in.a
>   LD      vmlinux.o
>   MODPOST vmlinux.symvers
>   MODINFO modules.builtin.modinfo
>   GEN     modules.builtin
>   LD      .tmp_vmlinux.kallsyms1
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: lib/stackdepot.o: in function `filter_irq_stacks':
> /home/nfs/linux/lib/stackdepot.c:331: undefined reference to `__irqentry_text_start'
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: /home/nfs/linux/lib/stackdepot.c:331: undefined reference to `__irqentry_text_start'
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: lib/stackdepot.o: in function `in_irqentry_text':
> /home/nfs/linux/lib/stackdepot.c:323: undefined reference to `__irqentry_text_end'
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: /home/nfs/linux/lib/stackdepot.c:323: undefined reference to `__irqentry_text_end'
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: /home/nfs/linux/lib/stackdepot.c:324: undefined reference to `__softirqentry_text_start'
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: /home/nfs/linux/lib/stackdepot.c:324: undefined reference to `__softirqentry_text_start'
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: /home/nfs/linux/lib/stackdepot.c:325: undefined reference to `__softirqentry_text_end'
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: /home/nfs/linux/lib/stackdepot.c:325: undefined reference to `__softirqentry_text_end'
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: drivers/leds/leds-lp55xx-common.o: in function `devm_led_classdev_register':
> /home/nfs/linux/./include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
> /home/nfs/0day/gcc-9.3.0-nolibc/arceb-elf/bin/arceb-elf-ld: /home/nfs/linux/./include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext'
> make: *** [Makefile:1139: vmlinux] Error 1

Oh, I guess I see the difference. The bot is checking out a commit
that is 3 months old:

        git fetch --no-tags linus master
        git checkout 92a81562e695628086acb92f95090ab09d9b9ec0


So it's a bit like Pavel said, that commit is old. I can't say that I care
as long as current mainline builds, and I have already verified that it does.


cheers.
-- 
~Randy


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-10 23:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-08  6:16 arceb-elf-ld: include/linux/leds.h:193: undefined reference to `devm_led_classdev_register_ext' kernel test robot
2020-10-08  7:15 ` Pavel Machek
2020-10-10  3:19   ` [kbuild-all] " Rong Chen
2020-10-10  3:49     ` Randy Dunlap
2020-10-10  7:13       ` Rong Chen
2020-10-10 16:59         ` Randy Dunlap

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).