Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2014 13:39:15 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        Andriy Gapon <avg@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, Ed Maste <emaste@freebsd.org>, Nathan Whitehorn <nwhitehorn@freebsd.org>, Allan Jude <allanjude@freebsd.org>
Subject:   Re: CURRENT: EFI boot failure
Message-ID:  <543FAE63.1040803@omnilan.de>
In-Reply-To: <20141004084737.64b35fd8.ohartman@zedat.fu-berlin.de>
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> <CAPyFy2AicKf-PWGDnq80Zmm8ukwTkURZm8RRUFxdfHK=Xd7XAQ@mail.gmail.com> <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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
 Bezüglich O. Hartmann's Nachricht vom 04.10.2014 08:47 (localtime):

…
>> Sorry, forget the suggestion, it doesn't work since it leads to CFLAG
>> -march="" 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 @@
>>  
>>  BINDIR?=       /boot
>>  
>> +.if ${CPUTYPE} == "core-avx2"
>> +CPUTYPE=       core-avx-i
>> +.endif
>> +
>>  .if ${MACHINE_CPUARCH} == "i386"
>>  CFLAGS+=        -march=i386
>>  .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 SandyBridge are still
> to be migrated to UEFI boot, so I do not have any older architectures at 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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAlQ/rmMACgkQLDqVQ9VXb8gGlACffJxTTfQpFtt0vYavk+d46Ogo
YbQAn0n5GZO+kNeEcXKzOkuWROb9GEBZ
=cQxI
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?543FAE63.1040803>