From owner-freebsd-arm@FreeBSD.ORG Mon Jul 21 00:56:43 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DA17D7C for ; Mon, 21 Jul 2014 00:56:43 +0000 (UTC) Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [IPv6:2607:f8b0:400e:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42DAE2F88 for ; Mon, 21 Jul 2014 00:56:43 +0000 (UTC) Received: by mail-pd0-f170.google.com with SMTP id g10so8251232pdj.29 for ; Sun, 20 Jul 2014 17:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=tkmVc9RMamXGwam8kjkGVReUc3n4x9VppXRIUTopVo4=; b=DmIH+lWrHxCOhW30ezdyCA329SLadlcmrBd+KnDk85+6mdilsuZ70Dq35ocMaMp9sW Tu2WEtcZOcHbWNhlLY1fIV18U2EzEOPPBVf9P7wHj0fwtjBnNbOX9NWdnMnkhr8vA0hy KrfzTB4RNBA29El8DBYpG95dSvprwkhob3DJ1LpOhyP8uCo+FlO0NJJHdVm8mv1lZvaN spk8rCcZgLIyydBo3vpPb0lD4O+QVnuorZnhK9aFwe8oe+7gzIIiLYVm9Gi9/N9J6dKm 8vT/23ChUA+8jpcLi0QL7qFlRAtL4jsiFinnnd+oVAarPlMYdIKl0saJSOHEiNkCjtDt zmYQ== X-Received: by 10.70.131.134 with SMTP id om6mr21654086pdb.95.1405904202339; Sun, 20 Jul 2014 17:56:42 -0700 (PDT) Received: from [172.16.1.21] (123-100-93-24.dynamic.dsl.netguardian.co.nz. [123.100.93.24]) by mx.google.com with ESMTPSA id ek2sm12347192pbd.30.2014.07.20.17.56.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 20 Jul 2014 17:56:41 -0700 (PDT) From: Stephen Woolerton Subject: Compiling clang33 port on Raspberry Pi Message-Id: Date: Mon, 21 Jul 2014 12:56:35 +1200 To: FreeBSD ARM Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 00:56:43 -0000 Hi everyone, I'm would like to install the clang33 package on a Raspberry Pi running = 10.0-STABLE (r268038). I compiled the clang33 port on the Pi and it = crashed as outlined below.=20 I'm hoping someone can give me a hand to get the crash resolved, or = maybe there is another way of getting clang33 installed. Note: Regarding LibraryDependencies.inc, I googled and found that this = issue can occur if python v2 is not available. Python27 is installed on = this system but no "python" binary, and so I symlinked python27 to = python in /usr/local/bin, but still the same fault.=20 Thank you Stephen -------------------- ... llvm-build: error: invalid native target: 'armv6' (not in project) llvm[3]: Linking Release Shared Library libLLVM-3.3.so gmake[3]: Leaving directory = `/usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-shlib' gmake[3]: Entering directory = `/usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-config' llvm[3]: Constructing LLVMBuild project information. Usage: llvm-build [options] llvm-build: error: invalid native target: 'armv6' (not in project) llvm[3]: Building llvm-config BuildVariables.inc file. llvm[3]: Compiling llvm-config.cpp for Release build llvm-config.cpp:45:10: fatal error: 'LibraryDependencies.inc' file not = found #include "LibraryDependencies.inc" ^ 1 error generated. rm: = /usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-config/Release/llvm-c= onfig.d.tmp: No such file or directory gmake[3]: *** = [/usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-config/Release/llvm-= config.o] Error 1 gmake[3]: Leaving directory = `/usr/ports/devel/llvm33/work/llvm-3.3.src/tools/llvm-config' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/llvm33/work/llvm-3.3.src' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the = failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/llvm33 *** Error code 1 Stop. make: stopped in /usr/ports/devel/llvm33 =3D=3D=3D>>> make build failed for devel/llvm33 =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for devel/llvm33 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for lang/clang33 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command = line: portmaster lang/clang33 devel/llvm33=20