From: Krzysztof Kozlowski <krzk@kernel.org>
To: Oliver Sang <oliver.sang@intel.com>
Cc: kernel test robot <lkp@intel.com>,
oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Mark Brown <broonie@kernel.org>
Subject: Re: sound/soc/codecs/snd-soc-wcd934x.o: warning: objtool: .text.wcd934x_slim_irq_handler: unexpected end of section
Date: Sun, 30 Mar 2025 18:27:15 +0200 [thread overview]
Message-ID: <af51edd9-20c2-4a51-856f-49bfebd1e46b@kernel.org> (raw)
In-Reply-To: <Z9y/1xAN/08UFp9h@xsang-OptiPlex-9020>
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
prev parent reply other threads:[~2025-03-30 16:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=af51edd9-20c2-4a51-856f-49bfebd1e46b@kernel.org \
--to=krzk@kernel.org \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=oliver.sang@intel.com \
/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