Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2012 08:31:24 -0400
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        Super Bisquit <superbisquit@gmail.com>
Cc:        Brooks Davis <brooks@freebsd.org>, Justin Hibbits <chmeeedalf@gmail.com>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: On compiling clang from svn on powerpc
Message-ID:  <B5966B8C-B2C4-4130-930F-4E3E0BFD62A0@gromit.dlib.vt.edu>
In-Reply-To: <CA%2BWntOuBONy0-wXOzWojkgOqmj8xS0GtCgiMYtfU1XZ-25wj-A@mail.gmail.com>
References:  <CA%2BWntOtozoJ0ei05=VxWrETbu5nNYkfKzOpSr18MB2NY8DVW3A@mail.gmail.com> <1332700229.10606.33.camel@pomegues.inria.fr> <CA%2BWntOuBONy0-wXOzWojkgOqmj8xS0GtCgiMYtfU1XZ-25wj-A@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Mar 25, 2012, at 10:48 PM, Super Bisquit wrote:

> On 3/25/12, Sylvestre Ledru <sylvestre@debian.org> wrote:
>> Hello,
>> 
>> Le dimanche 25 mars 2012 à 14:26 -0400, Super Bisquit a écrit :
>>> What arguments are needed with ../../configure and nano
>>> lib/Frontend/InitHeaderSearch.cpp ?
>> See:
>> https://buildd.debian.org/status/fetch.php?pkg=clang&arch=powerpc&ver=3.0-6&stamp=1330187740
>> 
>> 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.



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B5966B8C-B2C4-4130-930F-4E3E0BFD62A0>