From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E8043858401; Fri, 17 Sep 2021 07:24:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E8043858401 From: "dac324 at yahoo dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/102361] Errors compiling Linux kernel 5.14 with CONFIG_FORTIFY=y Date: Fri, 17 Sep 2021 07:24:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dac324 at yahoo dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2021 07:24:45 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102361 --- Comment #13 from DAC324 --- Sorry for duplicate reporting. For me, the error message=20 '__write_overflow' declared with attribute error: detected write beyond siz= e of object passed as 1st parameter and its counterpart=20 '__read_overflow2' declared with attribute error: detected read beyond size= of object passed as 2nd parameter did not point me to using=20 fnsplit fragment with __attribute__((__error__)) as a correct search term, in the first instance. Please apologize for the inconvenience.=20 Just FYI (although I assume you know this already): With CONFIG_FORTIFY=3Dn, you will be able to build the kernel but it will n= ot run satisfactorily, if able to boot at all.=