From: Paul F. <pj...@wa...> - 2025-06-21 15:27:53
|
Hi Mark On 21/06/2025 00:12, Mark Wielaard wrote: >> Compiler is the system compiler, based on LLVM 18 >> >> >> paulf> clang++ --version >> FreeBSD clang version 18.1.6 >> (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c >> 2e05e67) >> Target: x86_64-unknown-freebsd14.2 >> Thread model: posix >> InstalledDir: /usr/bin > I'll try to get a freebsd 14.2 setup. It looks like the cfarm only has > freebsd 15, do you happen to know if the issue also occurs on that > version? I hadn't seen that cfarm how has some FreeBSD machines. I'll see if I can setup a crontab for regtest on one of them. Two seem to be unreachable at the moment. The reachable one is running CheriBSD. That's hardware with enhanced security built in to all pointers. I doubt that Valgrind will work on that (and in any case it is already doing much of the checks that Memcheck does but in hardware). However, you shouldn't need to to that far. I can reproduce an example on Fedora 42 amd64. In the drd/tests directory, compile std_list.cpp with everything LLVM: clang++ -g -o std_list std_list.cpp -fuse-ld=/usr/bin/ld.lld -stdlib=libc++ That is clang++ --version clang version 20.1.6 (Fedora 20.1.6-1.fc42) Then I can reproduce the problem: ../../vg-in-place --tool=drd --check-stack-var=yes --show-confl-seg =no ./std_list ==4383== drd, a thread error detector ==4383== Copyright (C) 2006-2024, and GNU GPL'd, by Bart Van Assche et al. ==4383== Using Valgrind-3.26.0.GIT and LibVEX; rerun with -h for copyright info ==4383== Command: ./std_list ==4383== --4383-- Warning: DW_TAG_subprogram with no DW_AT_name and no DW_AT_specification or DW_AT_abstract_origin in /home/paulf/.cache/debuginfod_client/5da32e666245ff34dff556bfbe8dce95f10684f5/debuginfo --4383-- Warning: DW_TAG_subprogram with no DW_AT_name and no DW_AT_specification or DW_AT_abstract_origin in /home/paulf/.cache/debuginfod_client/930a216263bfe4ab5026826ea37a54a16f37cf40/debuginfo ==4383== ==4383== For lists of detected and suppressed errors, rerun with: -s ==4383== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 17) A+ Paul |