From owner-freebsd-current@FreeBSD.ORG Mon Jun 22 14:29:20 2015 Return-Path: Delivered-To: freebsd-current@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84D9ABFD for ; Mon, 22 Jun 2015 14:29:20 +0000 (UTC) (envelope-from stefanogarzarella@gmail.com) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30666ACD; Mon, 22 Jun 2015 14:29:20 +0000 (UTC) (envelope-from stefanogarzarella@gmail.com) Received: by wguu7 with SMTP id u7so70990429wgu.3; Mon, 22 Jun 2015 07:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=YoDrRgYi9LT7gW1GCBI/SXsAWfW4omSmPr63LBDKsDI=; b=RWs2eMZdSopxqjJqVr2c0BHwF/3nENTQ4OqfZQTjJE+mF62HQEjhosOLYDtcVwHpsL yLFMELu8CtDqCiWWJ8ItAvYtdAwhJG3jWNM/YiN8v47vTk1VScXJlWybb071lkXvLvkJ ol5QRB5QsMbSN16UC4IYtO79ybcfUvARADiccQLq7VH3KQilf2+NIYQGNi39+1esL/ug x+ifuLVl/xXA+Ogvtu9mKht4drHU1D2T8QtRKm7S/xvHVWPPR+2uiesiwDuQ/+Opam9N RxstbBY9aW4Ve8ZtFuARDxKrPnV62qJ21on4KyIPSzZa5agElvOb3GS1X493XsZoVm34 E5Xg== X-Received: by 10.180.73.145 with SMTP id l17mr32773232wiv.39.1434983358695; Mon, 22 Jun 2015 07:29:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.39.135 with HTTP; Mon, 22 Jun 2015 07:28:59 -0700 (PDT) From: Stefano Garzarella Date: Mon, 22 Jun 2015 16:28:59 +0200 Message-ID: Subject: PicoBSD build error after r281316 To: freebsd-current Cc: Luigi Rizzo , delphij@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 22 Jun 2015 14:29:20 -0000 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 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