Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2023 20:05:18 +0000
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
Message-ID:  <bug-264094-7501-JAcqwEHbhX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264094-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264094-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264094

--- Comment #32 from commit-hook@FreeBSD.org ---
A commit in branch releng/13.2 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3De3e6fc3713229e5075473b9e0e9a66699=
e8a322b

commit e3e6fc3713229e5075473b9e0e9a66699e8a322b
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-07-23 13:48:36 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-08-01 19:50:47 +0000

    Work around VNET and DPCPU related panics on aarch64

    lld >=3D 14 and recent GNU ld can relax adrp+add and adrp+ldr
    instructions, which breaks VNET and DPCPU when used in modules.

    Until VNET and DPCPU can be fixed to deal with these relaxed
    instructions, disable linker relaxation for now.

    PR:             264094
    Reviewed by:    markj
    MFC after:      3 days
    Differential Revision: https://reviews.freebsd.org/D41156

    (cherry picked from commit 80e4ac2964a11edef456a15b77e43aadeaf273a2)
    (cherry picked from commit f1f27dfa4ad9da53fcdfc6aae644fab83bda4e76)

    Approved by:    so
    Security:       FreeBSD-EN-23:08.vnet

 sys/conf/kmod.mk | 7 +++++++
 1 file changed, 7 insertions(+)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264094-7501-JAcqwEHbhX>