From owner-freebsd-current@FreeBSD.ORG Tue Sep 23 14:29:04 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A5A969D; Tue, 23 Sep 2014 14:29:04 +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 E9682666; Tue, 23 Sep 2014 14:29:03 +0000 (UTC) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s8NET1uE077434; Tue, 23 Sep 2014 16:29:01 +0200 (CEST) (envelope-from h.schmalzbauer@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 0DEC23F83; Tue, 23 Sep 2014 16:29:00 +0200 (CEST) Message-ID: <542183A6.7060802@omnilan.de> Date: Tue, 23 Sep 2014 16:28:54 +0200 From: Harald 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: "O. Hartmann" Subject: Re: CURRENT: EFI boot failure References: <20140916020541.03c18d04.ohartman@zedat.fu-berlin.de> <54178607.1060305@freebsd.org> <541786BE.6010105@freebsd.org> <20140916075121.29989a53.ohartman@zedat.fu-berlin.de> <5417E20D.8070607@freebsd.org> <20140916230348.189e80cd.ohartman@zedat.fu-berlin.de> <5418B8C3.7040406@FreeBSD.org> <20140919152207.0473e213.ohartman@zedat.fu-berlin.de> In-Reply-To: <20140919152207.0473e213.ohartman@zedat.fu-berlin.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1C1B82019D26BBE92A0E8080" X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Tue, 23 Sep 2014 16:29:01 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) Cc: Allan Jude , FreeBSD Current , Ed Maste , Nathan Whitehorn , Andriy Gapon X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 14:29:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1C1B82019D26BBE92A0E8080 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Bez=FCglich O. Hartmann's Nachricht vom 19.09.2014 15:22 (localtime): > =85 > The problem I reported about in the first place is triggered by a fault= y loader.efi that > arises, when optimisation level is -O3. -O2 works fine. I can confirm that this problem also shows up when using 'CPUTYPE?=3Dcore-avx2' Setting CPUTYPE to core-avx-i doesnt ehibit the problem. I could narrow down the cause to libefi.a (sys/boot/efi). But I don't understand the things going on there, so no clue how to fix besides maybe --- sys/boot/efi/Makefile.inc.orig 2014-09-23 16:22:46.000000000 +0200 +++ sys/boot/efi/Makefile.inc 2014-09-23 16:25:16.000000000 +0200 @@ -2,6 +2,10 @@ BINDIR?=3D /boot +.ifdef CPUTYPE +.undef CPUTYPE +.endif + =2Eif ${MACHINE_CPUARCH} =3D=3D "i386" CFLAGS+=3D -march=3Di386 =2Eendif -Harry --------------enig1C1B82019D26BBE92A0E8080 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlQhg6wACgkQLDqVQ9VXb8hH/wCePPZzwlbpprEGI3r0h9i0+SSR NuYAoL7YEs30nnJMyNxOAD4lTvC9uyqO =MhBX -----END PGP SIGNATURE----- --------------enig1C1B82019D26BBE92A0E8080--