From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 08:49:34 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97585106564A for ; Tue, 27 Apr 2010 08:49:34 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 528138FC1C for ; Tue, 27 Apr 2010 08:49:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B9C009CB0D6; Tue, 27 Apr 2010 10:47:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gRqClO5l6AEt; Tue, 27 Apr 2010 10:46:58 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id A1E5D9CB151; Tue, 27 Apr 2010 10:46:58 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id o3R8kwwn037338; Tue, 27 Apr 2010 10:46:58 +0200 (CEST) (envelope-from rdivacky) Date: Tue, 27 Apr 2010 10:46:58 +0200 From: Roman Divacky To: Dominic Fandrey Message-ID: <20100427084658.GA37139@freebsd.org> References: <4BD68275.6020509@bsdforen.de> <20100427070835.GB16910@freebsd.org> <4BD6A28F.1060600@bsdforen.de> <20100427084211.GA36551@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100427084211.GA36551@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: ClangBSD build failures X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 27 Apr 2010 08:49:34 -0000 I see whats going on... you have CC=cc and CXX=c++ in your share/mk/sys.mk and the "c++" is clang thus the .if ${CC} == "clang" || ${CXX} == "clang++" MMINTRIN_CLANG= -isystem ${WORLDTMP}/usr/include/clang/1.5 .endif condition does not add the -isystem thus the gcc mmintrin.h is used. you have to change the share/mk/sys.mk to have CC/CXX either "gcc/g++" or "clang/clang++" I have to think of some better way to test this as this proves way too fragile :( thnx for the report!