From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C92693858D28; Fri, 22 Dec 2023 16:27:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C92693858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1703262463; bh=9ln6S1mtexl4npVuXCym6w1mc6wEjEhMwF7wTfz8wpw=; h=From:To:Subject:Date:From; b=JXYk15ZSHDHb/Taf+KqvsObfWInXDN53bWCFsGlgEnDUl5WESMip3krgaDxL/050o TBINL6Ii2+0ktFy0iUqsQ3kqhwVHjoD6BIaVve/2qAiI5MJIC9NC+tF/LnAksXGk0T wuyzAVV33s3833/XL5lF5QJj/0/wz+7P3XgAPDKY= From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/31187] New: Some CET tests fail with GCC 14 Date: Fri, 22 Dec 2023 16:27:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.39 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned 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 cf_gcctarget 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=3D31187 Bug ID: 31187 Summary: Some CET tests fail with GCC 14 Product: glibc Version: 2.39 Status: NEW Severity: normal Priority: P2 Component: dynamic-link Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: x86_64 Some CET tests failed when compiled with GCC 14: FAIL: elf/tst-cet-legacy-4 FAIL: elf/tst-cet-legacy-5a FAIL: elf/tst-cet-legacy-6a which are caused by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113039 These tests use -fcf-protection -fcf-protection=3Dbranch and assume -fcf-protection=3Dbranch will override -fcf-protection. But https://gcc.gnu.org/git/gitweb.cgi?p=3Dgcc.git;h=3D1c6231c05bdcca changed the -fcf-protection behavior such that -fcf-protection -fcf-protection=3Dbranch is the same as -fcf-protection The workaround is to use -fcf-protection -fcf-protection=3Dnone -fcf-protection=3Dbranch --=20 You are receiving this mail because: You are on the CC list for the bug.=