From nobody Fri Oct 25 15:55:20 2024 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 4XZnRs2tNYz5ZrCT for ; Fri, 25 Oct 2024 15:55:21 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZnRr617qz4Y9v for ; Fri, 25 Oct 2024 15:55:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729871720; 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=Di1/ufNNVbOIJp5uZT5Xcq8ZeQQ1Tr5lU2VLdPm7FY8=; b=fq223Xrh612rw9+0jTwoCSnZKueWFmiK4cNTBMGwl2axb/POJLtde0/mHCYayBJ0oOSBuj gkVNxnvpHVyDZwTpAoARaGs+Vc8Y3z+IETgfcaXCbrSfRp9P2yPFkGMMlAP/3OWLyq3YRI 1MQ+aW6mYacy6wFXvk3VNdaPfnP5Iy4VD4j38btd+/A240e1+rPth1RwgZw4k5XvtY6CCG mnSW5C1jaosxaghI0i7XbWeg0U0Syrherzhei9dYWIhuNfayEK8zeLGzytOGagdNgtQALj 7qJ97eYYl8PvO0x2TMjYPovmZiTSzqTaJ9x4TeB1mgX5ywbgAvhOk//gYtNsbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729871720; a=rsa-sha256; cv=none; b=SKp1hbmYm42QRD35tXnY9wEcbSHETk4eQvoefClrxowqbSA8KCRCaOl5/oWgm7PpfVxMy1 XcjkCRfO76TSoANbEzedy8e3BD3uFCmYX8/oM2tAXU8eT89E4k/K+BtwuMZ+iItf+/TgL1 qADBL20GQfi5ZJs6+98eO+jtw5d3jDj9rpIQzyGJ+N9dckdilzzpmXqHAk/Z8DOOnuoUmV 6BXLxPv99WN3ST2ut0xXUdovIOWJQSFPC2l6Dv486Xl6WTjmOIvUIFC/2XHQGybK4CCkW6 E5UHgTzHx8PgT0yMYJ5bGLtrjEX7VQcT/Pvp23E2n/PoXI8ssv1+LFqAdyFLOQ== 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 4XZnRr5QzczXwj for ; Fri, 25 Oct 2024 15:55:20 +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 49PFtKOG063608 for ; Fri, 25 Oct 2024 15:55:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49PFtKQo063606 for toolchain@FreeBSD.org; Fri, 25 Oct 2024 15:55:20 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 280936] cannot build world with ASAN enabled Date: Fri, 25 Oct 2024 15:55:20 +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-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Open 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-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: 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=3D280936 --- Comment #10 from Dimitry Andric --- Right, I knew I had seen this before: https://github.com/llvm/llvm-project/issues/87923 [After 7740565f56ce, "Assertion failed: (isa(Callee) || isa(Callee)), function analyzeAllUses" with -asan-use-stack-safety] This looks like the same sort of thing. The minimized test case I arrived at now was slightly different: typedef int uint32_t; void sysarch(int, void *); #define DEFINE_UIFUNC(qual, ret_type, name, args)=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ret_type name args __attribute__((ifunc(#name "_resolver")));=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 \ ret_type(*name##_resolver(uint32_t cpu_feature2)) args int __fillcontextx2_xfpu() { int xfpu; sysarch(2, &xfpu); return 0; } int __fillcontextx2_noxfpu(); DEFINE_UIFUNC(, int, __fillcontextx2, (char *)) { return cpu_feature2 ? __fillcontextx2_xfpu : __fillcontextx2_noxfpu; } void __fillcontextx(char *ctx) { __fillcontextx2(ctx); } I'll need do ping the assignee of the upstream bug again. --=20 You are receiving this mail because: You are the assignee for the bug.=