From owner-freebsd-toolchain@freebsd.org Fri Mar 11 09:28:12 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 94629ACBAB3 for ; Fri, 11 Mar 2016 09:28:12 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F0FFEF9 for ; Fri, 11 Mar 2016 09:28:12 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id A42291534C8 for ; Fri, 11 Mar 2016 10:28:02 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Axr5Di9xs_-r; Fri, 11 Mar 2016 10:27:43 +0100 (CET) Received: from [IPv6:2001:4cb8:3:1:38d0:712c:3d0b:2e41] (unknown [IPv6:2001:4cb8:3:1:38d0:712c:3d0b:2e41]) by smtp.digiware.nl (Postfix) with ESMTP id A4B3F1534CD for ; Fri, 11 Mar 2016 10:27:43 +0100 (CET) To: freebsd-toolchain@freebsd.org From: Willem Jan Withagen Subject: Running Clang 3.7 on Current.... Organization: Digiware Management b.v. Message-ID: <56E28F8A.5000201@digiware.nl> Date: Fri, 11 Mar 2016 10:27:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 09:28:12 -0000 Hi, CURRENT has recently received the upgrade to Clang 3.8. 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. 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 .... 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. 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=clang37 C++=clang37++ make' and see what comes of it. Thanx, --WjW