Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2020 22:02:13 +0200
From:      Jakob Alvermark <jakob@alvermark.net>
To:        freebsd-current@freebsd.org
Subject:   Re: OpenZFS support merged
Message-ID:  <4b2374cc-72bc-e4f1-f587-bf4a13e921bf@alvermark.net>
In-Reply-To: <73ad9c79-4daa-0b6d-34ca-3199d2a3711a@FreeBSD.org>
References:  <CAPrugNrgNUpaG3Wd=3crdsKV4iA83w%2B32hyzYbW0j_omOTo%2BwA@mail.gmail.com> <1b765ce1-ae73-ddfe-a888-378615b12add@alvermark.net> <02ff07ff-4169-e545-2c8f-7d1e044fb491@FreeBSD.org> <9bda5096-dd18-4cdb-cbe0-9b580e031ae7@alvermark.net> <b29474e6-e78f-75c2-9869-a11ee968eb1f@FreeBSD.org> <fb6cb609-e05a-46e2-2a3f-fa5c323b6fad@alvermark.net> <73ad9c79-4daa-0b6d-34ca-3199d2a3711a@FreeBSD.org>

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

On 2020-08-25 20:23, Ryan Moeller wrote:
>
> On 8/25/20 2:09 PM, Jakob Alvermark wrote:
>>
>> 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@freebsd.org mailing list
>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>>>> To unsubscribe, send any mail to 
>>>>> "freebsd-current-unsubscribe@freebsd.org"
>>>> _______________________________________________
>>>> freebsd-current@freebsd.org mailing list
>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>>> To unsubscribe, send any mail to 
>>>> "freebsd-current-unsubscribe@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.
>>
>
> https://svnweb.freebsd.org/changeset/base/364777


It compiles now. And it boots.

Thanks for fixing it so quickly!


Jakob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4b2374cc-72bc-e4f1-f587-bf4a13e921bf>