From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 93D663858C5F; Thu, 18 May 2023 05:33:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 93D663858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1684387992; bh=owHv2SubMFkdKzbYauK7ejQz7ajcFr4hxWBkGMCXwKo=; h=From:To:Subject:Date:From; b=Po6LQJDxT7a33bYdqsQCRinHWLSOZfBLcBlvkl8zBn+qzmp0EjrisiERlcJlmGgF9 i7DGS5YNK81i2t/BTcajoLx5U8DBG45REWr1ZlCnLAkjjaQTjd0NdboKfNTMYZd60C GAWS/2pQ/6+OfmybhLXjAx3qmC11bom5C55Mn5nA= From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/30459] New: Ko compilation failures with kernel 6.1/6.2 kernel headers Date: Thu, 18 May 2023 05:33:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: agentzh at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30459 Bug ID: 30459 Summary: Ko compilation failures with kernel 6.1/6.2 kernel headers Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: runtime Assignee: systemtap at sourceware dot org Reporter: agentzh at gmail dot com Target Milestone: --- For some nontrivial stap scripts compiled with Fedora 36's 6.1 and 6.2 kern= els, the kernel build system trows out the following compilation errors: ``` In file included from /opt/stap-plus/share/systemtap/runtime/linux/runtime.h:301, from /opt/stap-plus/share/systemtap/runtime/runtime.h:26, from /tmp/stapzRqxL5/stap_61c4c192c40cf6ad899afb44bb419d45_1848_src.c:17: /opt/stap-plus/share/systemtap/runtime/sym.c: In function =E2=80=98_stp_usermodule_check=E2=80=99: /opt/stap-plus/share/systemtap/runtime/sym.c:983:1: error: the frame size of 2056 bytes is larger than 2048 bytes [-Werror=3Dframe-larger-than=3D] 983 | } | ^ cc1: all warnings being treated as errors make[1]: *** [scripts/Makefile.build:250: /tmp/stapzRqxL5/stap_61c4c192c40cf6ad899afb44bb419d45_1848_src.o] Error 1 make: *** [Makefile:2016: /tmp/stapzRqxL5] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4] ``` An unused C array is allocated on the stack, which triggers this error. I'll prepare a patch to fix this. --=20 You are receiving this mail because: You are the assignee for the bug.=