From owner-svn-src-all@freebsd.org Wed Jul 8 21:09:10 2015 Return-Path: Delivered-To: svn-src-all@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 8744A997A87 for ; Wed, 8 Jul 2015 21:09:10 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm17-vm1.bullet.mail.bf1.yahoo.com (nm17-vm1.bullet.mail.bf1.yahoo.com [98.139.213.55]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39C541ADE for ; Wed, 8 Jul 2015 21:09:10 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1436389742; bh=D7CiobeubChONepb94NyQWrANyDj6gtp08hbHp0pXUA=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=ibsruXRx4hbcIY37S94PdnZSYI7lT0tHusDQr+pS6Vp4psgzRSH52YpT7U+3yLgs2GfIYd8hCZqCNrWKmDElZbAtv6ceZspsZrO2u2Y2Xtn4qbDoSMhgNBR4m7AsDHRpx8oTAaKr+Ak7W2jvPoevTZCXVerSdPfSCwwgXkOAFgdiOJDhB6axd58smWVnI6Sfb/iByaPPVkpsYusrPfGojbIqQvMm48v2qrPHVY/Sy+t5jVYPADVRn1UvOk5xsa5jSS8Y/iP4hNg5sRIMmTUnZEhp9BxJ/8720ZKTJ6hqNst+zPX2d67OYqx96yOc+MAuFszr1DYchl7OtcGC1vSGlw== Received: from [98.139.214.32] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 08 Jul 2015 21:09:02 -0000 Received: from [98.139.213.9] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 08 Jul 2015 21:09:02 -0000 Received: from [127.0.0.1] by smtp109.mail.bf1.yahoo.com with NNFMP; 08 Jul 2015 21:09:02 -0000 X-Yahoo-Newman-Id: 680688.52114.bm@smtp109.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: cqVveDEVM1kEOkfhcoih6PZjnvSJyCxaFZAvy25ALxp6LP_ nzEkE9rQs6FnoEoa0bhvQSNpg2dE3oE4F8whH1w51NAV_7XaNE1QqmLAkXCj C4D5bepEptkJUDAJiFBZAAbirtLWRlvhEtdmwvjtzlEcyvgbtwjJ5uRlMfA1 Xe2JfrRXs7G5gNvglrjFkPU1bD86AXyF83WIqzI8F05_udwc3pMG_kqUATGh GzQHhtq9ePD5qIiZr5nt.TWBgYjCAELwCFfivt7rFSS_zVgl2.FjMJvMaujX kQ9YsHEAF2nELRNRCfS8LzOlgIL7fx_utEcTUuZImLenYMrxfKwsT7r8qfNd 5d8TG2.DpcexZ6gBsNLeEb22h0jZeLJPH9tZKSkE.WbJYsYzeGeI10hGRvku z6P6Bvk3MDW_lDjdwXl_ZkH1VyHlAGUVx3QFLv3wbuvxtOde_NlAycXR3vnA eYRO4JmUuoMSfl6ZSWOmIP_7osd340byJ3YStn65xN.f0PAZt95VjY5mk.FL _myxJlmqAL03cxGNyarVE8.qSq5qaeS9H X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Message-ID: <559D9172.9040305@FreeBSD.org> Date: Wed, 08 Jul 2015 16:09:06 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Luigi Rizzo , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r285284 - head/lib/liblzma References: <201507081836.t68IacJu069563@repo.freebsd.org> In-Reply-To: <201507081836.t68IacJu069563@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 21:09:10 -0000 On 07/08/15 13:36, Luigi Rizzo wrote: > Author: luigi > Date: Wed Jul 8 18:36:37 2015 > New Revision: 285284 > URL: https://svnweb.freebsd.org/changeset/base/285284 > > Log: > only enable immintrin when clang is used. The base gcc does not support it. > > Reviewed by: delphij > > Modified: > head/lib/liblzma/config.h > > Modified: head/lib/liblzma/config.h > ============================================================================== > --- head/lib/liblzma/config.h Wed Jul 8 18:12:24 2015 (r285283) > +++ head/lib/liblzma/config.h Wed Jul 8 18:36:37 2015 (r285284) > @@ -150,7 +150,8 @@ > #define HAVE_ICONV 1 > > /* Define to 1 if you have the header file. */ > -#if defined(__FreeBSD__) && defined(__amd64__) > +/* FreeBSD - only with clang because the base gcc does not support it */ > +#if defined(__clang__) && defined(__FreeBSD__) && defined(__amd64__) > #define HAVE_IMMINTRIN_H 1 > #endif > > FWIW, gcc 4.3+ does have it so this may some undesired (but hidden) effect when building with an external gcc. Pedro.