Call for testers - Valgrind

Paul Floyd pjfloyd at wanadoo.fr
Thu May 7 20:13:58 UTC 2020


Hi Ed


> On 7 May 2020, at 20:10, Ed Maste <emaste at freebsd.org> wrote:
> 
> On Tue, 5 May 2020 at 02:31, Paul FLOYD <pjfloyd at wanadoo.fr> wrote:
>> 
>> Hi
>> 
>> I've done a lot of work since the start of the year trying to reboot Valgrind on FreeBSD. Whilst there is still a way to go, the results are looking promising.
> 
> Thank you very much for picking this up!
> 
>> I'd like to get some feedback, in particular from developers that use debug versions of Qt and libc and who are capable of telling whether any errors produced are false positives or not.
> 
> I'll try to take a look at libc.
> 
>> Supported Platforms
>> ~~~~~~~~~~~~~
>> I've set up VirtualBox VMs as far back as FreeBSD 10 and tested that at least everything builds. I've been doing fairly extensive testing (with Valgrind's own regression suite) on 12.1 amd64
>> and i386. I'll set up a 13.0-CURRENT VM soon to ensure that I'm ready for the next release.
> 
> How are Valgrind's test results looking?


There are around 710 tests for amd64 and around 650 tests for i386. When everything is compiled with GCC then I get a bit less than 20 failures on amd64. The figure goes up to about 60 failures for i386 and building everything with clang. I’m still working through the i386 and clang related issues.

I’m tracking issues on GitHub as they are analysed.


> 
>> 4. There are still numerous missing syscalls.
> 
> Do we have a list of the missing ones?
> 


There’s a fairly large number of syscalls that predate FreeBSD 10 and are not implemented. Here are the ones added in FreeBSD 10 or later that aren’t implemented.

    // futimens                                 546
    // utimensat                                547
    /* 548 is obsolete numa_getaffinity */
    /* 549 is obsolete numa_setaffinity */
    // fdatasync                                550
    // fstatat                                  552
    // fhstat                                   553
    // getdirentries                            554
    // mknodat                                  559
    // kevent                                   560
    // cpuset_getdomain                         561
    // cpuset_setdomain                         562
    // getfhat                                  564
    // fhlink                                   565
    // fhlinkat                                 566
    // fhreadlink                               567

A+
Paul


More information about the freebsd-hackers mailing list