From nobody Mon Mar 16 01:26:38 2026 X-Original-To: toolchain@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 4fYy9V71DZz6Vmmf for ; Mon, 16 Mar 2026 01:26:38 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fYy9V6Nxzz3Vrl for ; Mon, 16 Mar 2026 01:26:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773624398; 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: in-reply-to:in-reply-to:references:references; bh=n8DVm3HYnBK0qa8BDgVCUS7YX4Qvwqhj7CFFc3WPeOg=; b=clCmknm/fvbgEzC4fvTb4DmJiOPF+0wCkuccvSkZz6UET+jvdHysF4sMavm5pJ2jxFY3ni 0MCXmg5QYpx3/vHwr17cVsNmncBCZtAe9zJTHuW4/1UJxaYmfkYOIwJ+1xUnC68FMIgQyd TJi50hAgSfue7PXcBmmWXWoURxwM7R2JKlkHvDLG5HiMRajR9/GPK/3+2rAtZwEDeAu1Gk FtyFwVv8j6PpZnDF1Y0ZL7YM8tXO+aoMKF5TjgwVxtasC7urVSs9CoRSW0gH+LQFMbkD6l MJhfSsAirw07A0ikIFS3f5sWMpCrInzC5zBJx2eQ4GcNzEmG1aHpdch8MJCu1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773624398; a=rsa-sha256; cv=none; b=ggEfpVCByKAvHU6qi/Go6cLmBgpMZkXLHrBzfCOZ6HDDKElZKscCnMmRQ1ZqHS/FGTbGWp znH7uz9v8I5X9bLaHR3P76Hzek7eFbGvmGjfTjAnPIYoc8+c9E9UqGq7u+csY3SdDt47n5 FoScIhg1ZcbjtGeCcLkN27wfYpl0hUfVdIH90zsQkBUTt6RbywU2FOXMlLWonx8NMoD57d /Qab89Q9f/gLpdXosSzN2eknM9CgIluT7QWAjMs1zcc9tf3W1ntXiA3wo57VrZ2/+vt8MF F7KdaQMdEwPtjccG4Lw+imADubFD1nAhQTQhDulEz8RXj7CoIpyIzeyMfMFlYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773624398; 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: in-reply-to:in-reply-to:references:references; bh=n8DVm3HYnBK0qa8BDgVCUS7YX4Qvwqhj7CFFc3WPeOg=; b=OSiw9o6vORDHok7hETB5bRqRRsR7cNZWMMnTsa7LIa2TNc6yWhUNQyqItYB/kYZxeNYAIQ UZW/kAMOgHpwhMg7HaOfgraVLYunA5iIQoH6qHxNcSai75HnnFzLpYxufLDDgdJkfcE/Ck vTPLwMyWG4gShiF8ixcORpSb+JwFEbXTKHOaM37PKuhHz1sYDqt/N/OA9Ru9QN7RAtExPc 96Pje495KiwpstJy3vEeEdMFS73kTNSwDZnlYYuCyxZpQxI9f3HJr7qTLC3XXkz2cTMLpH 8bo2TFQLcP/T8UNczyIQ0RMN82gE3TQSFAwHScdDiy9EycuI0AW+/77Qu5mBjQ== 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 4fYy9V5p1Rz1CST for ; Mon, 16 Mar 2026 01:26:38 +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 62G1Qcbq038197 for ; Mon, 16 Mar 2026 01:26:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62G1QckQ038196 for toolchain@FreeBSD.org; Mon, 16 Mar 2026 01:26:38 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: toolchain@FreeBSD.org Subject: [Bug 293845] Compilation fails with "use of undeclared identifier '__builtin_ia32_readeflags_u32'" on aarch64 Date: Mon, 16 Mar 2026 01:26:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293845 --- Comment #4 from Mark Millard --- (In reply to Mark Millard from comment #3) Well, there is a patch too: --- pxr/base/arch/timing.h.orig 2025-10-24 16:21:56 UTC +++ pxr/base/arch/timing.h @@ -19,7 +19,7 @@ /// \addtogroup group_arch_SystemFunctions ///@{ -#if defined(ARCH_OS_LINUX) && defined(ARCH_CPU_INTEL) +#if defined(ARCH_OS_LINUX) || defined(ARCH_OS_FREEBSD) || defined(ARCH_OS_FREEBSD) && defined(ARCH_CPU_INTEL) #include #elif defined(ARCH_OS_WASM_VM) #include (The patch indicates that I was apparently looking at the wrong vintage of the upstream file vs. what the patch is expected to deal with.) The patch is worse: the "|| defined(ARCH_OS_FREEBSD) ||" means that all such contexts idetnifeid for FreeBSD will include x86intrin.h . What follows does not matter. My guess is that the intent was more like: #if (defined(ARCH_OS_LINUX) || defined(ARCH_OS_FREEBSD)) && defined(ARCH_CPU_INTEL) --=20 You are receiving this mail because: You are the assignee for the bug.=