From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 12:10:59 2014 Return-Path: Delivered-To: current@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 F014C64E; Fri, 7 Nov 2014 12:10:59 +0000 (UTC) Received: from tensor.andric.com (unknown [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B14B59DE; Fri, 7 Nov 2014 12:10:59 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::c3c:9f55:9881:4a18] (unknown [IPv6:2001:7b8:3a7:0:c3c:9f55:9881:4a18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8B4E4B80A; Fri, 7 Nov 2014 13:10:54 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: What is xmmintrin.h, and why aren't ports finding it? From: Dimitry Andric In-Reply-To: Date: Fri, 7 Nov 2014 13:10:51 +0100 Content-Transfer-Encoding: 7bit Message-Id: <88093924-8327-450B-A086-F60C8155E9DC@FreeBSD.org> References: To: Chris H X-Mailer: Apple Mail (2.1990.1) Cc: FreeBSD CURRENT , FreeBSD ports X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 07 Nov 2014 12:11:00 -0000 On 07 Nov 2014, at 04:36, Chris H wrote: > > Greetings, > Working on a recent 11-CURRENT install > (11-CURRENT #1 amd64 r274134 Nov 5 12:56:14 PST 2014) > svn info /usr/ports Revision: 372176 > > Given the above, and the fact that I have installed lang/gcc-48. > Is there any reason that any port wanting to include xmmintrin.h > fails to find it? Even though dmesg && messages reflects the fact > that gcc48 is included within my $PATH? What you have in your PATH does not matter. The xmmintrin.h header contains SSE intrinsics, and should automatically be found by your gcc 4.8 port. Normally it is located in: /usr/local/lib/gcc48/gcc/i386-portbld-freebsd11.0/4.8.4/include/xmmintrin.h or if you have a slightly different gcc version, just run: find /usr/local/lib/gcc48 -name xmmintrin.h to find it. If you run: gcc48 -v -x c -c /dev/null -o /dev/null it should show you the paths it searches for include files (look for the "#include <...> search starts here:" line). For example, on my system this shows: #include <...> search starts here: /usr/local/lib/gcc48/gcc/i386-portbld-freebsd11.0/4.8.4/include /usr/local/include /usr/local/lib/gcc48/gcc/i386-portbld-freebsd11.0/4.8.4/include-fixed /usr/include End of search list. The directory where you found xmmintrin.h should be listed in the search directories. -Dimitry