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

[-- Attachment #1 --]
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:
> >   
> >> 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
> >>   
> >>   Mock userspace headers and include mocked headers first in compilation
> >>   command to inject kernel headers and override e.g., malloc(3) with
> >>   malloc(9).
> >>   
> >>   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 changed)
> >>   head/sys/contrib/zstd/lib/freebsd/stdint.h   (contents, props changed)
> >>   head/sys/contrib/zstd/lib/freebsd/stdio.h   (contents, props changed)
> >>   head/sys/contrib/zstd/lib/freebsd/stdlib.h   (contents, props changed)
> >>   head/sys/contrib/zstd/lib/freebsd/string.h   (contents, props changed)
> >>   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  
> 
> ...
> 
> > It seems that CURRENT is unwilling to build due to the error shown below:
> > 
> > [...]
> > --- fse_decompress.o ---
> > In file included from /usr/src/sys/contrib/zstd/lib/common/fse_decompress.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 ---  
> 
> 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.
> 
> Jung-uk Kim

Thank you very much. Didn't receive any answere, too, so far.

Indeed, CPUTYPE is set and compilation breaks on all >= Haswell CPUs, while C2D and
IvyBridge do ...

Regards,
Oliver

-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWlUj2wAKCRDS528fyFhY
lHSWAgCS8DrlD3TrszNjlhkGAfP/X+Gw6vdIaqKyAf2Sx+Kdy1V3hOeS2nhQ4XvZ
ThxYtmeNUYgPMH8capRo1DrHOoIHAf9sI5TCDIjbnUx+fPSEiYltjf4Gi2T/XW0S
TVLgCAe+oovU8LWoJMbEYdvwgAJ3gTIeQMwhq97rw9WN6hdnTl9l
=SB9O
-----END PGP SIGNATURE-----

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