From owner-freebsd-hackers@freebsd.org Thu May 7 20:13:58 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 696292E420F for ; Thu, 7 May 2020 20:13:58 +0000 (UTC) (envelope-from pjfloyd@wanadoo.fr) Received: from smtp.smtpout.orange.fr (smtp06.smtpout.orange.fr [80.12.242.128]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49J4RT1Vrjz3C85 for ; Thu, 7 May 2020 20:13:56 +0000 (UTC) (envelope-from pjfloyd@wanadoo.fr) Received: from garrigue.home ([2.7.113.176]) by mwinf5d29 with ME id bwDu220033oQd2y03wDuv8; Thu, 07 May 2020 22:13:54 +0200 X-ME-Helo: garrigue.home X-ME-Auth: cGpmbG95ZEB3YW5hZG9vLmZy X-ME-Date: Thu, 07 May 2020 22:13:54 +0200 X-ME-IP: 2.7.113.176 From: Paul Floyd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Call for testers - Valgrind Date: Thu, 7 May 2020 22:13:53 +0200 References: <453259393.837.1588660255688.JavaMail.www@wwinf1m04> To: FreeBSD Hackers In-Reply-To: Message-Id: <02D4832B-4BEB-440D-879F-DB625E4CE946@wanadoo.fr> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49J4RT1Vrjz3C85 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of pjfloyd@wanadoo.fr has no SPF policy when checking 80.12.242.128) smtp.mailfrom=pjfloyd@wanadoo.fr X-Spamd-Result: default: False [3.38 / 15.00]; FREEMAIL_FROM(0.00)[wanadoo.fr]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[176.113.7.2.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[wanadoo.fr]; ASN(0.00)[asn:3215, ipnet:80.12.240.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (2.37), ipnet: 80.12.240.0/20(1.72), asn: 3215(2.40), country: FR(-0.00)]; DMARC_NA(0.00)[wanadoo.fr]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.98)[0.978,0]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[128.242.12.80.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[128.242.12.80.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 20:13:58 -0000 Hi Ed > On 7 May 2020, at 20:10, Ed Maste wrote: >=20 > On Tue, 5 May 2020 at 02:31, Paul FLOYD wrote: >>=20 >> Hi >>=20 >> 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. >=20 > Thank you very much for picking this up! >=20 >> 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. >=20 > I'll try to take a look at libc. >=20 >> 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. >=20 > 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=E2=80=99m still working through the i386 and = clang related issues. I=E2=80=99m tracking issues on GitHub as they are analysed. >=20 >> 4. There are still numerous missing syscalls. >=20 > Do we have a list of the missing ones? >=20 There=E2=80=99s 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=E2=80=99t 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=