The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Jürgen Groß" <jgross@suse.com>
To: Jiri Kosina <jikos@kernel.org>
Cc: lkml <linux-kernel@vger.kernel.org>,
	michael.bommarito@gmail.com, longli@microsoft.com,
	decui@microsoft.com, wei.liu@kernel.org, haiyangz@microsoft.com,
	kys@microsoft.com
Subject: Re: Build error with kernel from 2026-08-21
Date: Fri, 21 Aug 2026 10:51:33 +0200	[thread overview]
Message-ID: <7256e55e-bf94-46a0-b7ed-e639f63f5473@suse.com> (raw)
In-Reply-To: <6r2on01s-03n0-5r0n-0s21-n7q5r86o71np@xreary.bet>


[-- Attachment #1.1.1: Type: text/plain, Size: 4246 bytes --]

On 21.08.26 10:41, Jiri Kosina wrote:
> On Fri, 21 Aug 2026, Juergen Gross wrote:
> 
>>> I'm seeing a build error with today's kernel (allyesconfig on x86, using
>>> gcc13):
>>>
>>> make[3]: *** [/home/gross/linux/head/scripts/Makefile.build:550: drivers]
>>> Error 2
>>> make[1]: Leaving directory '/home/gross/linux/head/jg/build/x86_32-yes'
>>> make[2]: *** [/home/gross/linux/head/Makefile:2193: .] Error 2
>>> make[1]: *** [/home/gross/linux/head/Makefile:248: __sub-make] Error 2
>>> make: *** [Makefile:248: __sub-make] Error 2
>>> [msr]~/linux/head> mk x86_32-yes
>>> make O=jg/build/x86_32-yes CC=gcc-13 PYTHON3=python3.11
>>> make[1]: Entering directory '/home/gross/linux/head/jg/build/x86_32-yes'
>>>    CC      drivers/hid/hid-hyperv.o
>>> In file included from /home/gross/linux/head/include/linux/string.h:383,
>>>                    from
>>>   /home/gross/linux/head/arch/x86/include/asm/page_32.h:18,
>>>                    from
>>>   /home/gross/linux/head/arch/x86/include/asm/page.h:14,
>>>                    from
>>>   /home/gross/linux/head/arch/x86/include/asm/processor.h:20,
>>>                    from
>>>   /home/gross/linux/head/arch/x86/include/asm/timex.h:5,
>>>                    from /home/gross/linux/head/include/linux/timex.h:67,
>>>                    from /home/gross/linux/head/include/linux/time32.h:13,
>>>                    from /home/gross/linux/head/include/linux/time.h:60,
>>>                    from /home/gross/linux/head/include/linux/stat.h:19,
>>>                    from /home/gross/linux/head/include/linux/module.h:13,
>>>                    from /home/gross/linux/head/drivers/hid/hid-hyperv.c:8:
>>> In function ‘fortify_memset_chk’,
>>>      inlined from ‘mousevsc_device_info_valid_descriptor’ at
>>> /home/gross/linux/ head/drivers/hid/hid-hyperv.c:691:2:
>>> /home/gross/linux/head/include/linux/fortify-string.h:430:25: error: call to
>>> ‘__write_overflow_field’ declared with attribute warning: detected write
>>> beyond size of field (1st parameter); maybe use struct_group()?
>>> [-Werror=attribute- warning]
>>>     430 |                         __write_overflow_field(p_size_field, size);
>>>         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> In function ‘fortify_memset_chk’,
>>>      inlined from ‘mousevsc_device_info_report_desc_oob’ at
>>> /home/gross/linux/ head/drivers/hid/hid-hyperv.c:717:2:
>>> /home/gross/linux/head/include/linux/fortify-string.h:430:25: error: call to
>>> ‘__write_overflow_field’ declared with attribute warning: detected write
>>> beyond size of field (1st parameter); maybe use struct_group()?
>>> [-Werror=attribute- warning]
>>>     430 |                         __write_overflow_field(p_size_field, size);
>>>         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> cc1: all warnings being treated as errors
>>> make[5]: *** [/home/gross/linux/head/scripts/Makefile.build:290:
>>> drivers/hid/ hid-hyperv.o] Error 1
>>> make[4]: *** [/home/gross/linux/head/scripts/Makefile.build:550:
>>> drivers/hid] Error 2
>>> make[3]: *** [/home/gross/linux/head/scripts/Makefile.build:550: drivers]
>>> Error 2
>>> make[2]: *** [/home/gross/linux/head/Makefile:2193: .] Error 2
>>> make[1]: Leaving directory '/home/gross/linux/head/jg/build/x86_32-yes'
>>> make[1]: *** [/home/gross/linux/head/Makefile:248: __sub-make] Error 2
>>> make: *** [Makefile:248: __sub-make] Error 2
>>
>> A git bisect flagged commit 83df7b5fa6735b5084ecd296a0f67208650ba497 to be the
>> problematic patch.
> 
> Hi,
> 
> this was reported by syzbot two days ago. I asked it to test a candidate
> fix [1], but it never responded back. Can you give it a quick shot in your
> 32bit build environment, please?
> 
> Thanks.
> 
> [1] https://lore.kernel.org/all/s6r47sn1-pr1p-8s7r-o164-q27s2o40p9r1@fhfr.pbz/
> 

No, doesn't work.


Juergen

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3743 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

  reply	other threads:[~2026-08-21  8:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21  6:38 Build error with kernel from 2026-08-21 Juergen Gross
2026-08-21  7:06 ` Juergen Gross
2026-08-21  8:41   ` Jiri Kosina
2026-08-21  8:51     ` Jürgen Groß [this message]
2026-08-21  8:52     ` Jürgen Groß
2026-08-21  9:24       ` Jiri Kosina
2026-08-21  9:35         ` Jiri Kosina
2026-08-21 10:13           ` Jürgen Groß
2026-08-21 10:23             ` [PATCH] HID: hyperv: make pointer arithmetics understandable for FORTIFY_SOURCE Jiri Kosina
2026-08-21 11:16               ` Jürgen Groß
2026-08-21 13:18               ` Benjamin Tissoires
2026-08-21 13:39                 ` [PATCH v2] " Jiri Kosina
2026-08-21 13:50                   ` Benjamin Tissoires
2026-08-21 13:54                   ` Juergen Gross
2026-08-21 14:00                     ` Jiri Kosina

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=7256e55e-bf94-46a0-b7ed-e639f63f5473@suse.com \
    --to=jgross@suse.com \
    --cc=decui@microsoft.com \
    --cc=haiyangz@microsoft.com \
    --cc=jikos@kernel.org \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=longli@microsoft.com \
    --cc=michael.bommarito@gmail.com \
    --cc=wei.liu@kernel.org \
    /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