From nobody Mon Mar 16 01:13:42 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 4fYxtZ2YYHz6VlXb for ; Mon, 16 Mar 2026 01:13:42 +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 4fYxtZ1mbvz3SwS for ; Mon, 16 Mar 2026 01:13:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773623622; 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=3TyCQlgO185Wja33ZlGWzjxuls1WJk+L7oSUF7Obu4k=; b=NUqQ4bt5bwchnt0OAe2pE2bL610eZ4xxCIoBU6kZJ26rNJaMed4JAJdfnO360MSTD3dK2P A4qv6WZ+YSAWCETpFxl/yZeJNci7IvTKxYypyydVgEAV4TVu8UFOt5CiPpsvvpGYvzdgOO TmxUTinLBooCk0fVDcSXo8t/h9ciy9oum18T5jYzTSG0ifUuQ5GYgl0Pejm1SUoTl6mDeg mLNt07spt+cMcKL5QQfWNMhkRTgfs2tlVkD8JgLxJxPNRkO+rb7ycn+pofq/uop94obnxk XKH07ZeONq7vxXt4R9Ll5/9vF7H6srpOgyvjwFAeAw7zN0eeblWWXhsozkpjEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773623622; a=rsa-sha256; cv=none; b=XEVLKHEyTeP8jhuersUzYjKnJ4savPdeHnxcwK0d7Cla+cv9Aa1E570eXw0E8HdCFZ0p6c nHFXaAvkQmxCgHVf/mmSiVOzVqS4EdBJGg3YMOtEoIkI2anBwXWE6f0EdC3+p/19QTmh+6 94UYmpsRl9R9Cbn+Xc46DPFYQVHLpGjOuT/sUni3rWStnHQkRcqWVzzC8eIxJ4S5rkwK5K 0S04unEUF3fCrBKmdEbjVffmecN2+4TCJXQultANTR4PhoEZvRrSgCd1y9QtJCeP3+hL7K xCM/SMe1uB5ym0K85gSrgcumt/+MGO6kjW8lo8cKYixXZc8fsvTHU4fj34O/1w== 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=1773623622; 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=3TyCQlgO185Wja33ZlGWzjxuls1WJk+L7oSUF7Obu4k=; b=tx1qF6h7krUlz6E/M4cgxY7PpFm1BXOkcL0dYluO6x/QYdq/Hm5QxQdTDp08Io0PczymLA e2u9snHRAMNBPZ+fyj5s8CMHz8rCOyfZE+zouywVQILU7G78gTTIgj3TB8CfujokNBLDFx owjkEKFmWXvr60gmZwV3639n0Ipkaz44xSRmealbexb2ifY2qus/sUh1i1SB18BBt0+pQU 1tgDPw12hl5KhxLgCfZrkTbuoy2cpgJPhLvRAvwnWVmEYf2pkwKtDqA/5UTkrxA+rPjz8Y ZQJsX+AFsrUr3BB7vdMxyH+DaQJr4TC5ZM4gn7JU+MrlQOaGOhLxxWe7rTshqw== 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 4fYxtZ18Zbz1Cql for ; Mon, 16 Mar 2026 01:13:42 +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 62G1Dgk6018904 for ; Mon, 16 Mar 2026 01:13:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62G1Dgm7018903 for toolchain@FreeBSD.org; Mon, 16 Mar 2026 01:13:42 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:13:42 +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 #3 from Mark Millard --- (In reply to Mark Millard from comment #2) Here is the specific code taht leads to attempted use of x86intrin.h : // See if we should use the x86 TSC register for timing. #if defined(PXR_ARCH_PREFER_TSC_TIMING) && \ defined(ARCH_OS_LINUX) && \ defined(ARCH_CPU_INTEL) && \ (defined(ARCH_COMPILER_CLANG) || defined(ARCH_COMPILER_GCC)) #define ARCH_USE_TSC_TIMING 1 #else #define ARCH_USE_TSC_TIMING 0 #endif #if ARCH_USE_TSC_TIMING #include #endif Somehow you have ARCH_CPU_INTEL defined for aarch64 builds (among other things that may or may not be correct). --=20 You are receiving this mail because: You are the assignee for the bug.=