From owner-freebsd-current@FreeBSD.ORG Thu Mar 20 14:26:10 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 308B733F; Thu, 20 Mar 2014 14:26:10 +0000 (UTC) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE522C07; Thu, 20 Mar 2014 14:26:09 +0000 (UTC) Received: from [192.168.0.7] (cpc14-cmbg15-2-0-cust307.5-4.cable.virginm.net [82.26.1.52]) (authenticated bits=0) by theravensnest.org (8.14.7/8.14.5) with ESMTP id s2KEPn0t000155 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 20 Mar 2014 14:25:50 GMT (envelope-from theraven@FreeBSD.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Building with external toolchain was broken 6 months ago with r255187 From: David Chisnall In-Reply-To: <201403201008.48610.jhb@freebsd.org> Date: Thu, 20 Mar 2014 14:25:44 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <491ECF6C-D868-4971-903E-5F380AB7E05B@FreeBSD.org> References: <323697891.20140319013757@serebryakov.spb.ru> <20140318220140.GA32089@funkthat.com> <7423EF12-9DD4-4C03-9FF6-7BAAB75820F6@lists.zabbadoz.net> <201403201008.48610.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1874) Cc: "Bjoern A. Zeeb" , John-Mark Gurney , freebsd-current@freebsd.org, Lev Serebryakov X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 20 Mar 2014 14:26:10 -0000 On 20 Mar 2014, at 14:08, John Baldwin wrote: > No, the compiler should provide a working "wmmintrin.h" header in one = of > its built-in paths if it supports the AES instructions. This is akin = to > saying that code that uses "stdio.h" should use -I/usr/src/include. It does, however our build system then explicitly says to the compiler = 'don't use your built-it paths because they may contain declarations = that contradict the FreeBSD ones' by means of the sysroot argument. = When not using an external toolchain, we put the compiler's internal = headers inside the sysroot. David