From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 18:03:30 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26670257; Fri, 7 Nov 2014 18:03:30 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C76D584A; Fri, 7 Nov 2014 18:03:29 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id sA7I3Wqg037043; Fri, 7 Nov 2014 10:03:32 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: Dimitry Andric In-Reply-To: <88093924-8327-450B-A086-F60C8155E9DC@FreeBSD.org> References: , <88093924-8327-450B-A086-F60C8155E9DC@FreeBSD.org> From: "Chris H" Subject: Re: What is xmmintrin.h, and why aren't ports finding it? Date: Fri, 07 Nov 2014 10:03:32 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <05185009b7b2fa9abe47260c692b56ba@ultimatedns.net> Content-Transfer-Encoding: 8bit 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 18:03:30 -0000 On Fri, 7 Nov 2014 13:10:51 +0100 Dimitry Andric wrote > 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. > Thank you _very_ much for the reply, Dimitry. Indeed, following your example above. Indicates that xmmintrin.h _is_ in the search path. I think it must be a matter of _which_ CC USE_GCC is defaulting to. I'll have to examine things in that range, a little closer. Thank you again, for the informative reply, Dimitry. --Chris > -Dimitry > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"