From owner-freebsd-stable@FreeBSD.ORG Tue Dec 23 07:00:09 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 89EBA174; Tue, 23 Dec 2014 07:00:09 +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 19A531569; Tue, 23 Dec 2014 07:00:08 +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 sBN705GO022220; Tue, 23 Dec 2014 08:00:05 +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 542313C47; Tue, 23 Dec 2014 08:00:05 +0100 (CET) Message-ID: <549912F4.9040501@omnilan.de> Date: Tue, 23 Dec 2014 08:00:04 +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: Dimitry Andric Subject: Re: CPUTYPEs includig avx are suspicious with clang in stable/10 References: <54944D08.8000202@omnilan.de> <18B24CB4-0F39-4A7B-982C-9FAA5CE36749@FreeBSD.org> In-Reply-To: <18B24CB4-0F39-4A7B-982C-9FAA5CE36749@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Tue, 23 Dec 2014 08:00:05 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) Cc: FreeBSD Stable Mailing List 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: Tue, 23 Dec 2014 07:00:09 -0000 Bezüglich Dimitry Andric's Nachricht vom 22.12.2014 21:49 (localtime): > On 19 Dec 2014, at 17:06, Harry Schmalzbauer wrote: >> >> 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. > > Can you provide a concrete test case? E.g. binaries with both > optimizations, of which one exhibits the crash? At least this is something I can do at the momen. Please find them here (i386 versions): http://www.omnilan.de/downloads/pkg-static.core-i-avx http://www.omnilan.de/downloads/pkg-static.core7 The former crashes on Haswell while running fine on IvyBridge, the latter has been compiled with CPUTYPE=corei7 instead of core-i-avx and doesn't show problems on any syste, Thansk for your attention!!! -Harry