From nobody Mon Dec 12 17:32:22 2022 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 4NW7x46hXVz4krDr for ; Mon, 12 Dec 2022 17:32:24 +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 4NW7x442xBz3jmh for ; Mon, 12 Dec 2022 17:32:24 +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=1670866344; 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=AcPeiMQZfEIWdMZE7OxtyD0v9XRHfVGRnvS25sb8Bso=; b=WxVvtFi/HbxQia8umXXcA6XPqB5IlbqerOc62Huz2lz2YHtyYnZvkd4UkVZj2GtjoK+rKb s8JS7aPcDtAFksaU9YLBjx5gJ00ywDihQx3OxPI/0fBSI6mV7di9imAM1ObD7o+IDd2HTq wivI9j/jIMFMpXrdlLqmPsuyn0bwnszDWk1SREsbbTixorsfvwS28fGujTYbAkZuacxm2R E5nt6PRR+11Y/WBnz2x58GIJ+lK/EaG2g/ZgY4UDInEoLycfwBmKw/bnPQ/vtTQDoMFrke veSMv8+1ebm1aeOAPl9FXVGapm7DW3bqU1kfxJYWwb+08nZknqkCIZj/n1gXvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670866344; a=rsa-sha256; cv=none; b=D1J/vltrOrbtuxNKqLLcnYUEPLVCLG0iQPFbGAUb+WXa1Fceo0vb1tl7rOqNa0Ykcg2j8w APW24sx9/D+HSS6pBF4Gv+CDithaPyArZmpzerf1AyK9OkQR1dYHMDWr4lujxTbRUsHqQb S1TVogtDnVCvcmwPbZ5F12o/Gf3fyaCMJPunlSsdBZfHkpNgkuMPyuwx6rHbZUuuabxgMn CeD6igX16a+fQ1c2Tr0M+tuxNwrVDcBEo3s9VYh39bjdZL3t6GkMD+FoYjK5ayRjvyZWZU hkcKmfRDvL0RlSSCofHRIpZVnVnDGMHQ06E9plbW3HVd1RRGTE0D3Uf2r7Y0vQ== 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 4NW7x438dgzj9h for ; Mon, 12 Dec 2022 17:32:24 +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 2BCHWObD066720 for ; Mon, 12 Dec 2022 17:32:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BCHWO7i066719 for toolchain@FreeBSD.org; Mon, 12 Dec 2022 17:32:24 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 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: AssignedTo 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: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@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 the assignee for the bug. You are on the CC list for the bug.=