Date: Mon, 19 Jan 2015 10:28:21 -0700 From: Ian Lepore <ian@freebsd.org> To: the_mix_room@hotmail.com Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Arm.armv6 build world fails on amd64 10.1-RELEASE Message-ID: <1421688501.14601.369.camel@freebsd.org> In-Reply-To: <DUB114-W102749AF8E214A3E069E6E2D54A0@phx.gbl> References: <DUB114-W102749AF8E214A3E069E6E2D54A0@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <emmintrin.h> ^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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1421688501.14601.369.camel>