From owner-freebsd-arm@FreeBSD.ORG Mon Jan 19 17:28:24 2015 Return-Path: Delivered-To: freebsd-arm@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 74A7BE7 for ; Mon, 19 Jan 2015 17:28:24 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (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 367E7C7D for ; Mon, 19 Jan 2015 17:28:23 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1YDG7i-0000ak-OH; Mon, 19 Jan 2015 17:28:22 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t0JHSLDK037998; Mon, 19 Jan 2015 10:28:21 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19f3QdnwMLkx16ioe/pmoGe Message-ID: <1421688501.14601.369.camel@freebsd.org> Subject: Re: Arm.armv6 build world fails on amd64 10.1-RELEASE From: Ian Lepore To: the_mix_room@hotmail.com Date: Mon, 19 Jan 2015 10:28:21 -0700 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.8 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2015 17:28:24 -0000 On Mon, 2015-01-19 at 17:13 +0000, the_mix_room@hotmail.com wrote: > I am trying to cross compile armv6 on an amd64 host. I get a build world failure with a missing header file. Can someone please point me in the correct direction. > Commands below. > Regards /E > # svn checkout https://svn0.eu.FreeBSD.org/base/releng/10.1/ /usr/src/# svn up /usr/src# cd /usr/src# setenv TARGET arm # setenv TARGET_ARCH armv6 # make buildworld > ... removed for sake of brevity > ===> lib/clang/libclangbasic (depend)clang-tblgen -gen-clang-diags-defs -clang-component=Analysis -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticAnalysisKinds.inc.d -o DiagnosticAnalysisKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diags-defs -clang-component=AST -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticASTKinds.inc.d -o DiagnosticASTKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diags-defs -clang-component=Comment -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticCommentKinds.inc.d -o DiagnosticCommentKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblge! n - > gen-clan > g-diags-defs -clang-component=Common -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticCommonKinds.inc.d -o DiagnosticCommonKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diags-defs -clang-component=Driver -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticDriverKinds.inc.d -o DiagnosticDriverKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diags-defs -clang-component=Frontend -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticFrontendKinds.inc.d -o DiagnosticFrontendKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diag-groups -I /usr/src/lib/clang/libc! lan > gbasic/. > ./../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticGroups.inc.d -o DiagnosticGroups.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diags-index-name -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticIndexName.inc.d -o DiagnosticIndexName.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diags-defs -clang-component=Lex -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticLexKinds.inc.d -o DiagnosticLexKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diags-defs -clang-component=Parse -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticParseKinds.inc.d -o Di! agn > osticPar > seKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diags-defs -clang-component=Sema -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticSemaKinds.inc.d -o DiagnosticSemaKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-clang-diags-defs -clang-component=Serialization -I /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic -d DiagnosticSerializationKinds.inc.d -o DiagnosticSerializationKinds.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.tdclang-tblgen -gen-arm-neon-sema -d arm_neon.inc.d -o arm_neon.inc.h /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include/clang/Basic/arm_neon.tdrm -f .dependmkdep -f .depend -a -I/usr/src/lib/clang/libcla! ngb > asic/../ > ../../contrib/llvm/include -I/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic -I. -I/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"armv6-gnueabi-freebsd10.1\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.1\" -DDEFAULT_SYSROOT=\"/usr/obj/arm.armv6/usr/src/tmp\" -I/usr/obj/arm.armv6/usr/src/tmp/legacy/usr/include /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Builtins.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/CharInfo.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Diagnostic.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/DiagnosticIDs.cpp /usr/src/lib/clang/libclangbasic/../../..! /co > ntrib/ll > vm/tools/clang/lib/Basic/FileManager.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/FileSystemStatCache.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/IdentifierTable.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/LangOptions.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Module.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/OpenMPKinds.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/OperatorPrecedence.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/SourceLocation.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/TargetInfo.c! pp > /usr/src > /lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Targets.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/TokenKinds.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/Version.cpp /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/VersionTuple.cpp/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1208:10: fatal error: 'emmintrin.h' file not found#include ^1 error generated.mkdep: compile failed*** Error code 1 > Stop.make[4]: stopped in /usr/src/lib/clang/libclangbasic*** Error code 1 > Stop.make[3]: stopped in /usr/src/lib/clang*** Error code 1 > Stop.make[2]: stopped in /usr/src*** Error code 1 > Stop.make[1]: stopped in /usr/src*** Error code 1 > Stop.make: stopped in /usr/src 10.1-RELEASE is frozen in time and can't be fixed now. You are likely to have better results if you check out base/stable/10 which has had some fixes applied to it since the 10.1 release. Better yet, use base/head to get the very latest -current; things are moving fast in the freebsd-arm world and lots of enhancements have happened on head recently. If you need to avoid the bleeding edge then 10-stable should work well (and fixes can be merged to it, unlike 10.1). -- Ian