From owner-freebsd-bugs@FreeBSD.ORG Fri Nov 7 21:29:03 2014 Return-Path: Delivered-To: freebsd-bugs@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 67863DF0 for ; Fri, 7 Nov 2014 21:29:03 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3502DE70 for ; Fri, 7 Nov 2014 21:29:03 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sA7LT39e090708 for ; Fri, 7 Nov 2014 21:29:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 190669] 'emmintrin.h' file not found - in /usr/src/lib/clang/libclangbasic Date: Fri, 07 Nov 2014 21:29:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 21:29:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190669 --- Comment #20 from C Hutchinson --- (In reply to C Hutchinson from comment #19) > I find myself struggling with what looks like the same issue > on a recent 11-CURRENT install > (11-CURRENT #1 amd64 r274134 Nov 5 12:56:14 PST 2014) > svn info /usr/ports Revision: 372176 > > As you can see, I've built and installed kernel/world. > I did, perform a make delete-old, following the install > world. Which removed the clang that was delivered from the > base install on the bootonly iso. However, I have > installed lang/gcc-48, which does have xmmintrin.h > in it's include tree. It is also my understanding that > clang isn't mandatory. But I seem to have no end of > problems with ports looking for, and subsequently not > finding xmmintrin.h. Even though it's an included header > with lang/gcc-48. Where lies the problem? I should also > probably note; I haven't [intentionally] enabled, or > used ccache. > > Thank you for all your time, and consideration. > > --Chris OK. For me, and given that I followed my make installworld by a make delete-old. I shouldn't have been surprised that while doing so, did remove clang. It shouldn't remove what's in /usr/bin. As the default toolchain for 10+ _is_ clang. So my problem stemmed from the fact that /usr/bin is searched _prior_ to /usr/local/bin where my gcc48 is located. Adding the appropriate directives in make.conf(5) gave me the (g)cc environment I needed to get past the errors mentioned above. By me, and by others. Thanks, and sorry for any noise. --Chris -- You are receiving this mail because: You are the assignee for the bug.