From nobody Mon Dec 12 17:32:22 2022 X-Original-To: net@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 4NW7x35wf7z4krGm for ; Mon, 12 Dec 2022 17:32: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 4NW7x34smxz3jVH for ; Mon, 12 Dec 2022 17:32:23 +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=1670866343; 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=lNExPHd6IVzndbFjQwZhwHFBlBJzLp91jAQoxYonuug=; b=vq8N8VDerV72BsY8eXPEcUMSak8/rKq6ZSU94UGLSucc+L6G7qM3mU9Bk2rKDRv47lzO/4 IROOHf8FS4dp1K9j1Sz7aI0Pz9iiYb/bZKQplMciJPyinaM5osOdImnd8KoYX/Ram2A2W2 gBnoVv5nbQaidkc/1vZeswh8hUuw7no5EpYB2XBDNlfhwosjQEEGIZqypT9q30BV+S70HP fFGI89dX5dWN18nfErFQ2VSMoD+X/ZNgfjZ7iMIaVIF2z2oQ8xqKH0qxY/sNQzEXVmbUxL juSMmiJ+MB3s9uBnUaQ6gn0blLxRmkIlDETyJuKTUj3mj48DTd54v2h4WBrSTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670866343; a=rsa-sha256; cv=none; b=b+nSrdPn/aewA1j6EArmtXho3s5dEiorFeiOC5xXR1A0b4arOiKMCECxu8bbaBcNFNWZ8I usB/Js5Smj/PJiqhXwMLeZjvkeirn+n3u7A3eWpa+zlPTAjyevG2MvYmIfmWqkhpMHS6t5 p0My6GKu7q6r+OqN53K3GQUQA71Ax2wNDq7erDIgC4/9Lt+aCiWKYdkja/6w5rv6wBGv/l 0lwUpHXlwyEPr1wWo49xVQZ14P3pqLVx94yKXy75TdNeeg8MNIoo+u+CVcueAxFx51oylu WNZ2C2ZcQ0DI6Vhfxu53oFpXBi5lOEd0C0dVFB0Cj0uOPSHv/F7pSTnhFyS1Vg== 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 4NW7x33y6GzjCW for ; Mon, 12 Dec 2022 17:32:23 +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 2BCHWNkB066693 for ; Mon, 12 Dec 2022 17:32:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BCHWNJi066692 for net@FreeBSD.org; Mon, 12 Dec 2022 17:32:23 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: net@FreeBSD.org Subject: [Bug 264094] VNET and DPCPU defined in modules panic on use on arm64 after LLVM 14 import due to new linker relaxation Date: Mon, 12 Dec 2022 17:32:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: cc 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264094 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #19 from Mark Johnston --- (In reply to Jessica Clarke from comment #10) Can you see offhand why the symbol (vnet_entry_htcp_adaptive_backoff) is preemptible in the first place? For arm64 KLDs, VNET_DEFINE_STATIC is hack= ed up to omit the static qualifier. But the linker changes the binding of the symbol: cc_htcp.o: 73: 0000000000000000 4 OBJECT GLOBAL DEFAULT 5 vnet_entry_htcp_adaptive_backoff cc_htcp.ko: 35: 0000000000021520 4 OBJECT LOCAL DEFAULT 11 vnet_entry_htcp_adaptive_backoff and local symbols have hidden visibility by default. I'm not sure offhand = why it's changed. I guess -Bsymbolic would have that effect, but we don't spec= ify it. --=20 You are receiving this mail because: You are on the CC list for the bug.=