Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2018 21:19:12 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        "O. Hartmann" <ohartmann@walstatt.org>, Conrad Meyer <cem@FreeBSD.org>, 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: <b38423ad-c17d-eea4-10e1-be907e54921d@FreeBSD.org>
References:  <201801082014.w08KEGv8071627@repo.freebsd.org> <20180109104739.3fc77a44@freyja.zeit4.iv.bundesimmobilien.de> <b38423ad-c17d-eea4-10e1-be907e54921d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <jkim@FreeBSD.org> schrieb:

> On 01/09/2018 04:47, O. Hartmann wrote:
> > On Mon, 8 Jan 2018 20:14:16 +0000 (UTC)
> > Conrad Meyer <cem@FreeBSD.org> 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 <immintrin.h>   /* 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180109211939.1c4dc54e>