From owner-freebsd-current@FreeBSD.ORG Thu Oct 16 11:39:19 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC15CA0E; Thu, 16 Oct 2014 11:39:19 +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 6F1036C4; Thu, 16 Oct 2014 11:39:19 +0000 (UTC) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s9GBdGw3084172; Thu, 16 Oct 2014 13:39:16 +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 EDCD337D7; Thu, 16 Oct 2014 13:39:15 +0200 (CEST) Message-ID: <543FAE63.1040803@omnilan.de> Date: Thu, 16 Oct 2014 13:39:15 +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> <542183A6.7060802@omnilan.de> <542188DC.8000307@omnilan.de> <20141004084737.64b35fd8.ohartman@zedat.fu-berlin.de> In-Reply-To: <20141004084737.64b35fd8.ohartman@zedat.fu-berlin.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig283F5A5C256F93DB60D8471A" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Thu, 16 Oct 2014 13:39:17 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) Cc: Andriy Gapon , FreeBSD Current , Ed Maste , Nathan Whitehorn , Allan Jude 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: Thu, 16 Oct 2014 11:39:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig283F5A5C256F93DB60D8471A Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Bez=FCglich O. Hartmann's Nachricht vom 04.10.2014 08:47 (localtime): =85 >> Sorry, forget the suggestion, it doesn't work since it leads to CFLAG >> -march=3D"" and the same problem occurs. >> For my case this works: >> --- sys/boot/efi/Makefile.inc.orig 2014-09-23 16:22:46.000000000 = +0200 >> +++ sys/boot/efi/Makefile.inc 2014-09-23 16:46:30.000000000 +0200 >> @@ -2,6 +2,10 @@ >> =20 >> BINDIR?=3D /boot >> =20 >> +.if ${CPUTYPE} =3D=3D "core-avx2" >> +CPUTYPE=3D core-avx-i >> +.endif >> + >> .if ${MACHINE_CPUARCH} =3D=3D "i386" >> CFLAGS+=3D -march=3Di386 >> .endif >> >> JFI >> >> -Harry >> > Has this problem anyhow seriously been addressed? I run into this very = often on several > platforms with HAswell-based CPUs (other systems with IvyBridge or Sand= yBridge are still > to be migrated to UEFI boot, so I do not have any older architectures a= t hand to proof > whether this issue is still present or not on Non-AVX2 systems. > > If there is no progress so far, would it be well-advised to open a PR? Unofrtunately I don't really have qualified knwoledge about compiler optimazations nor any efi binary knwoledge. Opening a PR is really needed, this issue shouldn't be left unchecked. But I'd prefer if someone does it, who understands what Matt Fleming answered in http://lists.freebsd.org/pipermail/freebsd-current/2014-September/052354.= html Anyone? Thanks, -Harry --------------enig283F5A5C256F93DB60D8471A 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) iEYEARECAAYFAlQ/rmMACgkQLDqVQ9VXb8gGlACffJxTTfQpFtt0vYavk+d46Ogo YbQAn0n5GZO+kNeEcXKzOkuWROb9GEBZ =cQxI -----END PGP SIGNATURE----- --------------enig283F5A5C256F93DB60D8471A--