Date: Sun, 23 Jul 2023 11:02:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271047] [exp-run] Against llvm-16-update branch on GitHub Message-ID: <bug-271047-7788-2fojTjQyEL@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271047-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-271047-7788@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=3D271047 --- Comment #94 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db8f1c9dd9b3dd9b91e6999b28ab941a2a= f142702 commit b8f1c9dd9b3dd9b91e6999b28ab941a2af142702 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-07-23 11:01:42 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-07-23 11:01:42 +0000 Merge commit 2b0f5df7b4e0 from llvm-project (by Jessica Clarke): [builtins][Mips] Un-break FreeBSD build of __clear_cache Commit 674a17e9bbe8 ("MIPS/compiler_rt: use synci to flush icache on r6") completely removed the OS-specific guards under the guise of "For pre-r6, we can use cacheflush libc function, which is same on Linux a= nd FreeBSD." However, the code in question had guards for Linux and OpenBSD, not Linux and FreeBSD, and FreeBSD does not have a cacheflush libc function as claimed, so this was neither the statement they intended to make nor was it sufficient justification for making the c= ode completely unconditional. Whilst the upcoming FreeBSD 14 release has dropped support for MIPS, FreeBSD 13 has support for it. Fix this by only calling cacheflush on the OSes where it was previous= ly called, and not on other OSes where it either definitely isn't availa= ble (FreeBSD) or is unknown (any other OS than the three mentioned in this commit). This is only needed for MFC'ing, as mips has been removed from 14-CURRENT. PR: 271047 MFC after: immediately contrib/llvm-project/compiler-rt/lib/builtins/clear_cache.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --=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-271047-7788-2fojTjQyEL>