Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2015 23:23:36 +0200
From:      Oliver Pinter <oliver.pinter@hardenedbsd.org>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        Warner Losh <imp@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r286967 - head/sys/boot/efi
Message-ID:  <CAPQ4ffvVuLGf_yAzKjLVvx%2B=Fm46JvzPN1Gy4vvswec4S1DKnA@mail.gmail.com>
In-Reply-To: <CAG=rPVf6G2W2-WV3ovCk4=81mbrf5k=hDneJZWkm-hMYGEcY-g@mail.gmail.com>
References:  <201508201831.t7KIV6Vn076975@repo.freebsd.org> <CAG=rPVf6G2W2-WV3ovCk4=81mbrf5k=hDneJZWkm-hMYGEcY-g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--001a113562e49d09c2051dc4c3ac
Content-Type: text/plain; charset=UTF-8

On 8/20/15, Craig Rodrigues <rodrigc@crodrigues.org> wrote:
> On Thu, Aug 20, 2015 at 11:31 AM, Warner Losh <imp@freebsd.org> wrote:
>
>>   The flags -mno-aes -mno-avx only exist for clang, not gcc, so
>>   add them only to the clang CFLAGS.
>>
>>
> It would be more accurate to say that these flags do not exist for gcc 4.2.
> They do exist for gcc 4.7:
> https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/i386-and-x86_002d64-Options.html

The attached one patch still needs to hyperv's hv_kvp_daemon with gcc.
After applied this fix, I get a buildable world. The kernel still
fails on aesni module, but that's a known problem with gcc 4.2.1.

>
> --
> Craig
> _______________________________________________
> svn-src-head@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org"
>

--001a113562e49d09c2051dc4c3ac
Content-Type: text/plain; charset=US-ASCII; name="hv_kvp_daeom-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