From owner-svn-src-head@freebsd.org Tue Jan 9 20:20:02 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4B95E6FC1B; Tue, 9 Jan 2018 20:20:02 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 315826E904; Tue, 9 Jan 2018 20:20:01 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([78.55.187.186]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MTO3f-1ePPpu0BgF-00SKqP; Tue, 09 Jan 2018 21:19:53 +0100 Date: Tue, 9 Jan 2018 21:19:12 +0100 From: "O. Hartmann" To: Jung-uk Kim Cc: "O. Hartmann" , Conrad Meyer , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r327706 - in head/sys: conf contrib/zstd/lib/freebsd Message-ID: <20180109211939.1c4dc54e@thor.intern.walstatt.dynvpn.de> In-Reply-To: References: <201801082014.w08KEGv8071627@repo.freebsd.org> <20180109104739.3fc77a44@freyja.zeit4.iv.bundesimmobilien.de> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/Mmi/ZVwQtN6Pz_uT3+x_xTl"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:8Geq15TH/TiQ97G44TgfpDNJoMHscMNTvE2Nlv8JIs3u5isgh9E Q70XP58Y2Am1Flo7bLJjBJWDU7eQkCMRNjR1eUTqIxyTgbzkXaoQEQqlSLNX2DvzJnf6/18 sIuP0YXa2LRT5HfW466T6ul+S9CL8iLheMvH14evWAZuIm6gpWR/o/e9dnvxmFgSjdYQCqM xPZ6rua8FqwdnH/N7giGQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:JLRue7ufKqE=:tydmPbY5kk8kanHMW7A1Ee RzF0AY4xKtGn1qFeNoEv0yNQj/MQSp8lgJPBuf+VDeoiwHaX59NsVKsYFAnF4s2HGDP5pMBnj tgIk6cx50yuImzDSyEG23IQDYY3c80q2A6YX4xTibptkvV8GLgZSi8KE1/oAV3bgSgiSIki5k Nfc0bQZ06I8DcOgbQgbK+gXPLMyUD7NbQWHShptTsFRM862yrafFWtDxMjrloK0evWUeS6jDc W5OeSznbiZy6WxglSm9w8JoCbha9RbITeku1RjNrFPd0/Uzb9xylAHWHZXK2BjaRIgghGKLgJ vxZUyvR/2XBbR9hfC19AG/KvFfqgHw8PBDZbM9zdefEcxGFuTIne3JUxw6i2K0GzsBJPLhhpY A4b0rmgSV6GQPS3jI0+liG6MmgMDTKeB5iMGJxHVzXRQYeF21FwVEkZYWTG7OKCDFzKopfUvc iLjoQFuFAQynz9jYfMhm1OkLuHYKfAAGpV/zOWJZWZ53ymtbgeJBP57cUzmBWW4KnlF9DszZt i5t+I8alUx0dExiaaOgCt3EwsPaYxPz2sDBdYk3nE5KdQBGEA56q37HbkIAmvl6CA10snJg0S gVk3I9Co11dixAOFcKoiAoYCgtd2iDkSVff+fZ/0gn7f1zRDH4fIJdqKRMzWQQ8mTZMpWmbaU i22QDNa5UYlR/bNzvfHXv60cMsmivlBOD6mUJUk0NGHmxr0SrCqCfE2x2HB6WJhZJjTlrQYic /yi2j9Si1dHIdayJ/jTGTJiOOK11TFaOwIh0q8afYliRPy7bOk0oWcqIWoC5uqtwoaZ2Yh2Dy L4vIwUq7Q8EME/1ms5uYyuNk0dv+Q== X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 20:20:02 -0000 --Sig_/Mmi/ZVwQtN6Pz_uT3+x_xTl Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am Tue, 9 Jan 2018 15:06:23 -0500 Jung-uk Kim schrieb: > On 01/09/2018 04:47, O. Hartmann wrote: > > On Mon, 8 Jan 2018 20:14:16 +0000 (UTC) > > Conrad Meyer wrote: > > =20 > >> Author: cem > >> Date: Mon Jan 8 20:14:16 2018 > >> New Revision: 327706 > >> URL: https://svnweb.freebsd.org/changeset/base/327706 > >> > >> Log: > >> Integrate zstd into the kernel > >> =20 > >> Mock userspace headers and include mocked headers first in compilati= on > >> command to inject kernel headers and override e.g., malloc(3) with > >> malloc(9). > >> =20 > >> Submitted by: allanjude > >> Reviewed by: imp (earlier version), bapt (earlier version) > >> Differential Revision: https://reviews.freebsd.org/D10407 > >> > >> Added: > >> head/sys/contrib/zstd/lib/freebsd/ > >> head/sys/contrib/zstd/lib/freebsd/stddef.h (contents, props change= d) > >> head/sys/contrib/zstd/lib/freebsd/stdint.h (contents, props change= d) > >> head/sys/contrib/zstd/lib/freebsd/stdio.h (contents, props changed) > >> head/sys/contrib/zstd/lib/freebsd/stdlib.h (contents, props change= d) > >> head/sys/contrib/zstd/lib/freebsd/string.h (contents, props change= d) > >> head/sys/contrib/zstd/lib/freebsd/zstd_kfreebsd.h (contents, props > >> changed) head/sys/contrib/zstd/lib/freebsd/zstd_kmalloc.c (contents,= props > >> changed) Modified: > >> head/sys/conf/files > >> head/sys/conf/kern.pre.mk =20 >=20 > ... >=20 > > It seems that CURRENT is unwilling to build due to the error shown belo= w: > >=20 > > [...] > > --- fse_decompress.o --- > > In file included from /usr/src/sys/contrib/zstd/lib/common/fse_decompre= ss.c:41: > > /usr/src/sys/contrib/zstd/lib/common/bitstream.h:71:12: fatal error: > > 'immintrin.h' file not found # include /* support for = bextr > > (experimental) */ ^~~~~~~~~~~~~ > > --- modules-all --- =20 >=20 > I reported the same problem yesterday but I didn't get any reply yet. > Basically, if CPUTYPE is set in /etc/make.conf and the CPU supports BMI > instructions, it breaks. You can use the attached patch as a stopgap. > Please note the patch was updated after r327715. >=20 > Jung-uk Kim Thank you very much. Didn't receive any answere, too, so far. Indeed, CPUTYPE is set and compilation breaks on all >=3D Haswell CPUs, whi= le C2D and IvyBridge do ... Regards, Oliver --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/Mmi/ZVwQtN6Pz_uT3+x_xTl Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWlUj2wAKCRDS528fyFhY lHSWAgCS8DrlD3TrszNjlhkGAfP/X+Gw6vdIaqKyAf2Sx+Kdy1V3hOeS2nhQ4XvZ ThxYtmeNUYgPMH8capRo1DrHOoIHAf9sI5TCDIjbnUx+fPSEiYltjf4Gi2T/XW0S TVLgCAe+oovU8LWoJMbEYdvwgAJ3gTIeQMwhq97rw9WN6hdnTl9l =SB9O -----END PGP SIGNATURE----- --Sig_/Mmi/ZVwQtN6Pz_uT3+x_xTl--