On Fri, Mar 9, 2018 at 9:12 AM, Andres Freund <andres@anarazel.de> wrote:
> Or even in core LLVM, which has this nice comment:
>
> // If user asked for the 'native' CPU, we need to autodetect features.
> // This is necessary for x86 where the CPU might not support all the
> // features the autodetected CPU name lists in the target. For example,
> // not all Sandybridge processors support AVX.
> if (MCPU == "native") {
>
> which pretty much describes the issue you're apparently hitting.
>
> I've pushed an attempted fix (needs a comment, but works here).
=======================
All 186 tests passed.
=======================
That did the trick. Thanks!
--
Thomas Munro
http://www.enterprisedb.com