From owner-freebsd-current@freebsd.org Tue Aug 25 18:06:57 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 120843B460B for ; Tue, 25 Aug 2020 18:06:57 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BbcQ86lJQz3YJC for ; Tue, 25 Aug 2020 18:06:56 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from Ryans-MBP.attlocal.net (unknown [IPv6:2600:1700:358a:c660:cc57:5757:9b7:aef8]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: freqlabs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id B600F17544 for ; Tue, 25 Aug 2020 18:06:56 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Subject: Re: OpenZFS support merged To: freebsd-current@freebsd.org References: <1b765ce1-ae73-ddfe-a888-378615b12add@alvermark.net> <02ff07ff-4169-e545-2c8f-7d1e044fb491@FreeBSD.org> <9bda5096-dd18-4cdb-cbe0-9b580e031ae7@alvermark.net> From: Ryan Moeller Message-ID: Date: Tue, 25 Aug 2020 14:06:55 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <9bda5096-dd18-4cdb-cbe0-9b580e031ae7@alvermark.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2020 18:06:57 -0000 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    /* 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. 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. > > 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"