From nobody Mon Jun 06 12:10:18 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 968541BE2C8B for ; Mon, 6 Jun 2022 12:10:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LGskl0St2z3HyD for ; Mon, 6 Jun 2022 12:10:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8C84925CC9 for ; Mon, 6 Jun 2022 12:10:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 256CAImQ017087 for ; Mon, 6 Jun 2022 12:10:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 256CAIlX017086 for bugs@FreeBSD.org; Mon, 6 Jun 2022 12:10:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264497] -fcf-protection causes 'illegal hardware instruction' on Geode Date: Mon, 06 Jun 2022 12:10:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kp@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654517423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/FaaA1AoKXR9BUyFKJy670HzVOTTJoW+zInRnzkXX2Y=; b=xvq3+vakG6tE0tgQzd6sOKW/MuGznVJ3xQMDO3WG7eWK9RGV5KdyYdXvwG1EwWpWiqpWSH 1qNgxPWuBofCc0Tnn9QYEZGQaYyP7oFnHI06/NfJiLO0dhoin7iVsi9wYiW++A1/NSR9d6 13msGuQoqb/OkORrirbwgD+uZXi1CuXub997jlurGyhBCRI/yIvdvFiVGEoi5Ese81mQ5m zheqQLZZhG6mwIdiuc1t/7FzaJ9hjTalWR45ouZdETs2TZ++SyjWME1YlNPG/xEjJDQDMr Nf2WzoCffdj/LQS1cUG5ExnhCvMSuK2KPJZPosb6ZG/o98IZ724TIj1Qm6ut/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654517423; a=rsa-sha256; cv=none; b=wrUA/aNj5LuPnpbfehU/UEXvkjSE3hB9iSqD/FUm0dwOpTYs3LBQOkQMQhryHjCAEQ6qsg uJlbwGBdv5dCzzkhtU/ElKpTx2/vz9rUMEVinm3Hv6t9wapf0SeFzgf8WtFX7OJ03V/wMN OqcakjXEkYCrWlpx3XltqQy8+GbeSc5qwvp2iqMgv2veH+DbavYGCDDVuO4U8bZISjEb8k k1TuZU4tEDZ7+AoXR1BhB7p4RrY9SHQMg6UIEfR6Y+fW1h+lgG63CJi/05oRgmvrTpaRnC TNttbt13MnJX70U1Ha/PIQjRtV6wxpLyIXAWaU6B7qBwlDb3ZGWZWHpnN2CksQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264497 Bug ID: 264497 Summary: -fcf-protection causes 'illegal hardware instruction' on Geode Product: Base System Version: 13.1-RELEASE Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: kp@freebsd.org I have an (old) Geode(TM) Integrated Processor by AMD PCS based i386 machin= e, and noticed that sudo started crashing with 'illegal hardware instruction'. I've narrowed it down to being triggered by the '-fcf-protection ' compiler flag. The following test code reproduces the issue: #include int main(void) { printf("In main\n"); return (0); } # cc -Wall -fcf-protection test.c -o t ; ./t [7] 66939 illegal hardware instruction (core dumped) ./t --=20 You are receiving this mail because: You are the assignee for the bug.=