From owner-freebsd-stable@FreeBSD.ORG Fri Dec 19 16:06:35 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A52C716 for ; Fri, 19 Dec 2014 16:06:35 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2EB71437 for ; Fri, 19 Dec 2014 16:06:34 +0000 (UTC) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id sBJG6Xve031244 for ; Fri, 19 Dec 2014 17:06:33 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id E73233405; Fri, 19 Dec 2014 17:06:32 +0100 (CET) Message-ID: <54944D08.8000202@omnilan.de> Date: Fri, 19 Dec 2014 17:06:32 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD Stable Mailing List Subject: CPUTYPEs includig avx are suspicious with clang in stable/10 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Fri, 19 Dec 2014 17:06:33 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2014 16:06:35 -0000 I'm seeing sporadic problems (core dumps) with binaries compiled with CPUTYPE=core-i-avx. They run fine on IvyBridge, but fail on Haswells. Stripping avx from MACHINE_CPU (by defining CPUTYPE=corei7 instead of core-i-avx) solved all crashes on the haswell system. I have no idea if applications like pkg(8) make use of AVX, I'd bet they don't do. So I guess it's something wrong with clang. Unfortuantely I currently don't have a development installation on any haswell system to provide some useful backtraces, but perhaps somebody with compiler knowledge can have a look at this problem? Thanks, -Harry