Re: OpenZFS support merged

From: Jakob Alvermark <jakob_at_alvermark.net>
Date: Tue, 25 Aug 2020 20:09:20 +0200
On 2020-08-25 20:06, Ryan Moeller wrote:
>
>
> On 8/25/20 2:00 PM, Jakob Alvermark wrote:
>>
>> On 2020-08-25 17:42, Ryan Moeller wrote:
>>>
>>> On 8/25/20 9:58 AM, Jakob Alvermark wrote:
>>>> Hi,
>>>>
>>>>
>>>> I updated from r364605 to r364768
>>>>
>>>> 'make buildkernel' fails like this:
>>>>
>>>> Building 
>>>> /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/modules/usr/src/sys/modules/zfs/zstd.o 
>>>>
>>>> /usr/src/sys/contrib/openzfs/module/zstd/lib/zstd.c:1336:12: fatal 
>>>> error: 'immintrin.h' file not found
>>>> #  include <immintrin.h>   /* support for bextr (experimental) */
>>>>            ^~~~~~~~~~~~~
>>>> 1 error generated.
>>>> *** Error code 1
>>>>
>>>> Stop.
>>>>
>>>
>>> I'm trying to figure out how to reproduce this. Are you perhaps 
>>> building with GCC?
>>>
>>> -Ryan
>>
>> Nope.
>>>
>>> I do use WITH_META_MODE though, but it shouldn't affect this I think.
>>>
>>> I tried clearing out /usr/obj and started a new build, but I still 
>>> get the same error.
>>>
>>>
>>> Jakob
>>>
>>> _______________________________________________
>>> freebsd-current_at_freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to 
>>> "freebsd-current-unsubscribe_at_freebsd.org"
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to 
>> "freebsd-current-unsubscribe_at_freebsd.org" 
>
> Okay I'm guessing your build env has something like `CPUTYPE?= native` 
> in src.conf.  This was also an issue with the original zstd import. 
> I've reproduced this error and will commit the fix shortly.


Oh! I do have that.

Thanks.


Jakob
Received on Tue Aug 25 2020 - 16:10:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC