Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2015 16:28:59 +0200
From:      Stefano Garzarella <stefanogarzarella@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Cc:        Luigi Rizzo <rizzo@iet.unipi.it>, delphij@freebsd.org
Subject:   PicoBSD build error after r281316
Message-ID:  <CAO0mX5aTYgO1NF_Yp_eQ%2Bdvce_1p4spG1g=pqHqhDnp5cKX%2BGQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,
I'm using picobsd on FreeBSD-head (r284697) to build a picobsd image with
gcc, but I have the following errors during the init phase
(release/picobsd/build/picobsd --init):

In file included from
/usr/home/stefano/repos/freebsd/lib/liblzma/../../contrib/xz/src/liblzma/lz/lz_encoder.c:23:
/usr/home/stefano/repos/freebsd/lib/liblzma/../../contrib/xz/src/liblzma/common/memcmplen.h:19:24:
error: immintrin.h: No such file or directory
In file included from
/usr/home/stefano/repos/freebsd/lib/liblzma/../../contrib/xz/src/liblzma/lz/lz_encoder_mf.c:16:
/usr/home/stefano/repos/freebsd/lib/liblzma/../../contrib/xz/src/liblzma/common/memcmplen.h:19:24:
error: immintrin.h: No such file or directory
In file included from
/usr/home/stefano/repos/freebsd/lib/liblzma/../../contrib/xz/src/liblzma/lzma/lzma_encoder_optimum_fast.c:13:
/usr/home/stefano/repos/freebsd/lib/liblzma/../../contrib/xz/src/liblzma/common/memcmplen.h:19:24:
error: immintrin.h: No such file or directory
In file included from
/usr/home/stefano/repos/freebsd/lib/liblzma/../../contrib/xz/src/liblzma/lzma/lzma_encoder_optimum_normal.c:14:
/usr/home/stefano/repos/freebsd/lib/liblzma/../../contrib/xz/src/liblzma/common/memcmplen.h:19:24:
error: immintrin.h: No such file or directory

I found that the r281316 commit introduces these lines that maybe cause
these errors:
lib/liblzma/config.h:152
 /* Define to 1 if you have the <immintrin.h> header file. */
 #if defined(__FreeBSD__) && defined(__amd64__)
 #define HAVE_IMMINTRIN_H 1
 #endif

Before r281316 all work fine.

Thanks,
Stefano Garzarella

-- 
*Stefano Garzarella*
Software Engineer

e-mail: stefano.garzarella@gmail.com
github: http://github.com/stefano-garzarella
linkedin: http://it.linkedin.com/pub/stefano-garzarella



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO0mX5aTYgO1NF_Yp_eQ%2Bdvce_1p4spG1g=pqHqhDnp5cKX%2BGQ>