From owner-freebsd-stable@FreeBSD.ORG Tue Dec 23 21:13:49 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 80DF5FB5 for ; Tue, 23 Dec 2014 21:13:49 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (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 38F383400 for ; Tue, 23 Dec 2014 21:13:48 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::d9b0:aa62:dd95:6b8f] (unknown [IPv6:2001:7b8:3a7:0:d9b0:aa62:dd95:6b8f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id A0D6FB80A; Tue, 23 Dec 2014 22:13:46 +0100 (CET) Subject: Re: CPUTYPEs includig avx are suspicious with clang in stable/10 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5BC0DD87-50E6-45CA-AE8A-6FBD26D33C1F"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b3 From: Dimitry Andric In-Reply-To: <549912F4.9040501@omnilan.de> Date: Tue, 23 Dec 2014 22:13:40 +0100 Message-Id: References: <54944D08.8000202@omnilan.de> <18B24CB4-0F39-4A7B-982C-9FAA5CE36749@FreeBSD.org> <549912F4.9040501@omnilan.de> To: Harry Schmalzbauer X-Mailer: Apple Mail (2.1993) 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 21:13:49 -0000 --Apple-Mail=_5BC0DD87-50E6-45CA-AE8A-6FBD26D33C1F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On 23 Dec 2014, at 08:00, Harry Schmalzbauer wrote: >=20 > Bez=FCglich Dimitry Andric's Nachricht vom 22.12.2014 21:49 = (localtime): >> On 19 Dec 2014, at 17:06, Harry Schmalzbauer = wrote: >>>=20 >>> I'm seeing sporadic problems (core dumps) with binaries compiled = with >>> CPUTYPE=3Dcore-i-avx. >>> They run fine on IvyBridge, but fail on Haswells. >>> Stripping avx from MACHINE_CPU (by defining CPUTYPE=3Dcorei7 instead = of >>> core-i-avx) solved all crashes on the haswell system. >>=20 >> Can you provide a concrete test case? E.g. binaries with both >> optimizations, of which one exhibits the crash? >=20 > 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 >=20 > The former crashes on Haswell while running fine on IvyBridge, the > latter has been compiled with CPUTYPE=3Dcorei7 instead of core-i-avx = and > doesn't show problems on any syste, And of course I can't find any Haswell machine right at this minute. If you are not able to produce a backtrace and register dump, please upload compressed core dumps from your Haswell system somewhere. (Take care that they are produced by exactly the same executable listed above.) -Dimitry --Apple-Mail=_5BC0DD87-50E6-45CA-AE8A-6FBD26D33C1F 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.26 iEYEARECAAYFAlSZ2wkACgkQsF6jCi4glqPVbQCdEV55Yq/mC1sOv3gL0Vqwdwl/ QC0AnjF2K8Bxf6qc208DKyLVFPIRuwdy =xWVo -----END PGP SIGNATURE----- --Apple-Mail=_5BC0DD87-50E6-45CA-AE8A-6FBD26D33C1F--