I'll add a patch tonight. This will fix building on FreeBSD 13.4 and 14.2. (In the future, the automake configure script no longer checks the FreeBSD version, so there will be no need to update just for new FreeBSD versions. There will still be plenty of other reasons.) Here is a list of what has changed with respect to Valgrind 3.24 (which is where devel/valgrind will be at once https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282365 lands): 494327 Crash when running Helgrind built with #define TRACE_PTH_FNS 1 494337 All threaded applications cause still holding lock errors 495488 Add FreeBSD getrlimitusage syscall wrapper
Created attachment 254943 [details] Patch for latest sourceware snapshot
Will commit just the valgrind-devel bits, with the valgrind bits being committed separately for bug #282365.
That's right. devel/valgrind will be based on the official 3.24 tarball devel/valgrind-devel will be based on a slightly later version using one of sourceware.org's CI tarballs.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4b38a223f7e7148afdb25184793a3dcd8288c82 commit d4b38a223f7e7148afdb25184793a3dcd8288c82 Author: Paul Floyd <pjfloyd@wanadoo.fr> AuthorDate: 2024-11-11 12:57:32 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-11-14 08:43:21 +0000 devel/valgrind-devel: update to 3.25.0.g20241104 Changes wrt. valgrind-3.24.0: 494327 Crash when running Helgrind built with #define TRACE_PTH_FNS 1 494337 All threaded applications cause still holding lock errors 495488 Add FreeBSD getrlimitusage syscall wrapper PR: 282544 devel/valgrind-devel/Makefile | 6 +++--- devel/valgrind-devel/distinfo | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
Thank you for your contribution.