The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section
@ 2025-03-17 16:24 kernel test robot
  2025-03-17 17:02 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2025-03-17 16:24 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: oe-kbuild-all, linux-kernel, Mark Brown

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4701f33a10702d5fc577c32434eb62adde0a1ae1
commit: 9ea22713227397b56a2b36a68c8bda13f0b43d70 ASoC: codecs: wcd934x: Handle nicer probe deferral and simplify with dev_err_probe()
date:   9 months ago
config: x86_64-randconfig-102-20250317 (https://download.01.org/0day-ci/archive/20250318/202503180044.oH9gyPeg-lkp@intel.com/config)
compiler: clang version 20.1.0 (https://github.com/llvm/llvm-project 24a30daaa559829ad079f2ff7f73eb4e18095f88)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250318/202503180044.oH9gyPeg-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503180044.oH9gyPeg-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

* Re: sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section
  2025-03-17 16:24 sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section kernel test robot
@ 2025-03-17 17:02 ` Krzysztof Kozlowski
  2025-03-21  1:24   ` Oliver Sang
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-17 17:02 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all, linux-kernel, Mark Brown

On 17/03/2025 17:24, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   4701f33a10702d5fc577c32434eb62adde0a1ae1
> commit: 9ea22713227397b56a2b36a68c8bda13f0b43d70 ASoC: codecs: wcd934x: Handle nicer probe deferral and simplify with dev_err_probe()
> date:   9 months ago
> config: x86_64-randconfig-102-20250317 (https://download.01.org/0day-ci/archive/20250318/202503180044.oH9gyPeg-lkp@intel.com/config)
> compiler: clang version 20.1.0 (https://github.com/llvm/llvm-project 24a30daaa559829ad079f2ff7f73eb4e18095f88)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250318/202503180044.oH9gyPeg-lkp@intel.com/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202503180044.oH9gyPeg-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
>>> sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section

I cannot reproduce it on clang-18 and clang-19 (I do not have clang-20
in my distros) and I do not see how original commit could trigger this
warning.

Best regards,
Krzysztof

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

* Re: sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section
  2025-03-17 17:02 ` Krzysztof Kozlowski
@ 2025-03-21  1:24   ` Oliver Sang
  2025-03-30 16:27     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Sang @ 2025-03-21  1:24 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: kernel test robot, oe-kbuild-all, linux-kernel, Mark Brown,
	oliver.sang

hi, Krzysztof,

On Mon, Mar 17, 2025 at 06:02:14PM +0100, Krzysztof Kozlowski wrote:
> On 17/03/2025 17:24, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   4701f33a10702d5fc577c32434eb62adde0a1ae1
> > commit: 9ea22713227397b56a2b36a68c8bda13f0b43d70 ASoC: codecs: wcd934x: Handle nicer probe deferral and simplify with dev_err_probe()
> > date:   9 months ago
> > config: x86_64-randconfig-102-20250317 (https://download.01.org/0day-ci/archive/20250318/202503180044.oH9gyPeg-lkp@intel.com/config)
> > compiler: clang version 20.1.0 (https://github.com/llvm/llvm-project 24a30daaa559829ad079f2ff7f73eb4e18095f88)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250318/202503180044.oH9gyPeg-lkp@intel.com/reproduce)
> > 
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202503180044.oH9gyPeg-lkp@intel.com/
> > 
> > All warnings (new ones prefixed by >>):
> > 
> >>> sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section
> 
> I cannot reproduce it on clang-18 and clang-19 (I do not have clang-20
> in my distros) and I do not see how original commit could trigger this
> warning.

we double confirmed, the issue is really only reproduced on clang-20

linux$make W=1 LLVM=1 -j32 ARCH=x86_64

...

  LD [M]  sound/soc/codecs/snd-soc-lpass-va-macro.o
sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section   <----


but cannot be reproduced on clang-19

linux$make W=1 LLVM=1 -j32 ARCH=x86_64

...

  LD [M]  sound/soc/codecs/snd-soc-wcd9335.o
  LD [M]  sound/soc/codecs/snd-soc-wcd934x.o     <----
  LD [M]  sound/soc/codecs/snd-soc-wcd937x.o

> 
> Best regards,
> Krzysztof

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

* Re: sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section
  2025-03-21  1:24   ` Oliver Sang
@ 2025-03-30 16:27     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-30 16:27 UTC (permalink / raw)
  To: Oliver Sang; +Cc: kernel test robot, oe-kbuild-all, linux-kernel, Mark Brown

On 21/03/2025 02:24, Oliver Sang wrote:
> hi, Krzysztof,
> 
> On Mon, Mar 17, 2025 at 06:02:14PM +0100, Krzysztof Kozlowski wrote:
>> On 17/03/2025 17:24, kernel test robot wrote:
>>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>>> head:   4701f33a10702d5fc577c32434eb62adde0a1ae1
>>> commit: 9ea22713227397b56a2b36a68c8bda13f0b43d70 ASoC: codecs: wcd934x: Handle nicer probe deferral and simplify with dev_err_probe()
>>> date:   9 months ago
>>> config: x86_64-randconfig-102-20250317 (https://download.01.org/0day-ci/archive/20250318/202503180044.oH9gyPeg-lkp@intel.com/config)
>>> compiler: clang version 20.1.0 (https://github.com/llvm/llvm-project 24a30daaa559829ad079f2ff7f73eb4e18095f88)
>>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250318/202503180044.oH9gyPeg-lkp@intel.com/reproduce)
>>>
>>> If you fix the issue in a separate patch/commit (i.e. not just a new version of
>>> the same patch/commit), kindly add following tags
>>> | Reported-by: kernel test robot <lkp@intel.com>
>>> | Closes: https://lore.kernel.org/oe-kbuild-all/202503180044.oH9gyPeg-lkp@intel.com/
>>>
>>> All warnings (new ones prefixed by >>):
>>>
>>>>> sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section
>>
>> I cannot reproduce it on clang-18 and clang-19 (I do not have clang-20
>> in my distros) and I do not see how original commit could trigger this
>> warning.
> 
> we double confirmed, the issue is really only reproduced on clang-20
> 
> linux$make W=1 LLVM=1 -j32 ARCH=x86_64
> 
> ...
> 
>   LD [M]  sound/soc/codecs/snd-soc-lpass-va-macro.o
> sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section   <----
> 
> 
> but cannot be reproduced on clang-19
> 
> linux$make W=1 LLVM=1 -j32 ARCH=x86_64



Thanks, I still think this is a bug in clang because of two reasons:
1. Code looks correct,
2. I really, really, really do not see how
9ea22713227397b56a2b36a68c8bda13f0b43d70, which is marked as as the
culprit, could cause it.

Best regards,
Krzysztof

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

end of thread, other threads:[~2025-03-30 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-17 16:24 sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section kernel test robot
2025-03-17 17:02 ` Krzysztof Kozlowski
2025-03-21  1:24   ` Oliver Sang
2025-03-30 16:27     ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox