From owner-freebsd-ppc@FreeBSD.ORG Tue Mar 27 01:51:33 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE0FB106564A; Tue, 27 Mar 2012 01:51:33 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 779BD8FC08; Tue, 27 Mar 2012 01:51:33 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so7774762pbc.13 for ; Mon, 26 Mar 2012 18:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=sA84ErklwCxao4jqfvkHlO7HQ1IXmUxjxIm2UBGNdg8=; b=ocBtg69CODXZ+GUpsYtwKh6D1rLJBQmTYzFYngA9jqFyipScJv2DEfEsofD3mxktGu trI6+W4wOsj9/clXl0cmA9T8srqzPF0U6EcuILbiE9edOlHoFQwIDF5HsJv0mRCEdmOn pMiUzDvJ/y5EN1JV1f5NhUge2BMtuPKU3KUF7IPKzWjGUqR+sH7S+RQiBeeJk1ZHv0QQ UIKF9cDOnCcEoNYpvB4A3yYH0iaFkeb4qiTpoKopPS8OpW+fGmvZwXWgB/NPQ39s7sJM q7Reurm4Xexlvr+I77ZhexNYwZNR6Ji7k8BeCh0DnKUDuPxsDTFUpp2oDhsuyq2MjvlX UrBA== MIME-Version: 1.0 Received: by 10.68.241.131 with SMTP id wi3mr57738739pbc.1.1332813093084; Mon, 26 Mar 2012 18:51:33 -0700 (PDT) Received: by 10.68.208.168 with HTTP; Mon, 26 Mar 2012 18:51:32 -0700 (PDT) In-Reply-To: References: <1332700229.10606.33.camel@pomegues.inria.fr> Date: Mon, 26 Mar 2012 21:51:32 -0400 Message-ID: From: Super Bisquit To: Paul Mather Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Brooks Davis , Justin Hibbits , FreeBSD PowerPC ML Subject: Re: On compiling clang from svn on powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 01:51:33 -0000 Building clang from source or ports isn't a problem. Clang rom ports gives odd errors when -v is used, while clang from source is still at 2.9 for powerpc. I'm on the iMac using Debian currently; so, getting to the FreeBSD install on the QuickSilver is a no show until tomorrow... apologies. I asked the Debian llvm team for information on buildin g clang from svn and the information was given. Little should need to be changed- think in terms of similar paths and dependencies. If I am able to build clang for both OSes on similar platforms, then it will be good. I'm returning to a self project of PowerPC accessibility with either a live disc- working on that now with Debian- and/or a system setup with Orca and other applications. It's a bit difficult to do such if I also want a 10.x kernel and buildworld together. Perhaps building everything separately would be better and then building the kernel. When Tinderbox reported an error and my machine did the same- same error, then I decided that clang would be a better compile option than gcc. On 3/26/12, Paul Mather wrote: > On Mar 25, 2012, at 10:48 PM, Super Bisquit wrote: > >> On 3/25/12, Sylvestre Ledru wrote: >>> Hello, >>> >>> Le dimanche 25 mars 2012 =E0 14:26 -0400, Super Bisquit a =E9crit : >>>> What arguments are needed with ../../configure and nano >>>> lib/Frontend/InitHeaderSearch.cpp ? >>> See: >>> https://buildd.debian.org/status/fetch.php?pkg=3Dclang&arch=3Dpowerpc&v= er=3D3.0-6&stamp=3D1330187740 >>> >>> You are welcome! >>> Sylvestre >>> >>> >>> >> >> Even though the information is not directly related to FreeBSD, there >> are configure options and dependencies stated that may help with >> PowerPC builds. What is seen can be combined with the basic >> information for building from llvm.org. >> >> I have not been able to build clang or llvm as of yet; but, the >> process has gradually progressed. > > > Are you trying to build some particular version of clang? I noticed a > couple of weeks ago that the base clang now builds on FreeBSD/powerpc64 > RELENG_9. I've not attempted to do a buildworld and buildkernel using > clang, but it did at least work for a simple "hello world" C program when= I > gave it a quick try. > > backup# clang -v > FreeBSD clang version 3.0 (tags/RELEASE_30/final 145349) 20111210 > Target: powerpc64-unknown-freebsd9.0 > Thread model: posix > > > If the base clang is not working appropriately for you, I think it would = be > best to focus on getting that working first. > > Cheers, > > Paul. > >