From owner-freebsd-toolchain@freebsd.org Fri Mar 11 10:07:45 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0888ACCF50 for ; Fri, 11 Mar 2016 10:07:45 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68C48EA1 for ; Fri, 11 Mar 2016 10:07:45 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::a1e6:2917:1004:ab1] (unknown [IPv6:2001:7b8:3a7:0:a1e6:2917:1004:ab1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8FC5C398A4; Fri, 11 Mar 2016 11:07:41 +0100 (CET) Subject: Re: Running Clang 3.7 on Current.... Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_BD7D170D-AE49-4C79-ACB9-92202F3983B6"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <56E28F8A.5000201@digiware.nl> Date: Fri, 11 Mar 2016 11:07:34 +0100 Cc: freebsd-toolchain@freebsd.org Message-Id: <7D7F6AF9-4E33-4BE3-85CD-2A02E3D209B5@FreeBSD.org> References: <56E28F8A.5000201@digiware.nl> To: Willem Jan Withagen X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 10:07:45 -0000 --Apple-Mail=_BD7D170D-AE49-4C79-ACB9-92202F3983B6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 11 Mar 2016, at 10:27, Willem Jan Withagen wrote: >=20 > CURRENT has recently received the upgrade to Clang 3.8. >=20 > Now I run into the problem that some of the tests with Ceph are all of = a > sudden failing.... > Mainly manifesting itself because of access errors thru pointers in > very complex records structs. (Which is almost always in C++ :) ) > Either pointers are 0x0, or to invalid memory. >=20 > This can be attributed to a few things, some of them: > - changes in the Ceph code > Which is possible since I rebased since I started using 3.8. > - Subtle difference in corner cases, and overlaping structs get = written > wrongly. > - A compiler bug > - other issues .... >=20 > Ceph is run thru extensive tests while building, after which there is = another > large QA testset run by the Ceph-team in their openstack with even = more and > complexer tests. So real programming "errors" would be caught in this = process. >=20 > To exclude the compiler I'd like to run a compile/build/test run with = 3.7 > Can I just install the ports 3.7 version without endangering my 3.8 = current > installation. Then it'll just be set 'CC=3Dclang37 C++=3Dclang37++ = make' and > see what comes of it. Yes, that should work without any problems. -Dimitry --Apple-Mail=_BD7D170D-AE49-4C79-ACB9-92202F3983B6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.29 iEYEARECAAYFAlbimO0ACgkQsF6jCi4glqMS3ACgkh/91BpelBXOO7i93/cQrBTo cJwAnA8lBXz/NXosL2lgXEhJAQOvNC60 =9fhA -----END PGP SIGNATURE----- --Apple-Mail=_BD7D170D-AE49-4C79-ACB9-92202F3983B6--