From owner-freebsd-current@freebsd.org Tue Aug 25 18:10:18 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 D29493B49B1 for ; Tue, 25 Aug 2020 18:10:18 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BbcV20w1Pz3Yjw for ; Tue, 25 Aug 2020 18:10:17 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-f649235c.06-431-73746f70.bbcust.telenor.se ([92.35.73.246] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1kAdOJ-0009az-Es for freebsd-current@freebsd.org; Tue, 25 Aug 2020 20:09:51 +0200 Received: from [192.168.67.37] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1kAdNo-0003Xj-U9 for freebsd-current@freebsd.org; Tue, 25 Aug 2020 20:09:20 +0200 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: Jakob Alvermark Message-ID: Date: Tue, 25 Aug 2020 20:09:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4BbcV20w1Pz3Yjw X-Spamd-Bar: / X-Spamd-Result: default: False [-0.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[alvermark.net:s=x]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.34.136.138]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[alvermark.net: no valid DMARC record]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.61)[-0.606]; NEURAL_SPAM_SHORT(0.20)[0.196]; DKIM_TRACE(0.00)[alvermark.net:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34971, ipnet:185.34.136.0/24, country:IT]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] 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:10:18 -0000 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    /* 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. Oh! I do have that. Thanks. Jakob