On compiling clang from svn on powerpc

Super Bisquit superbisquit at gmail.com
Tue Mar 27 01:51:33 UTC 2012


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 <paul at gromit.dlib.vt.edu> wrote:
> On Mar 25, 2012, at 10:48 PM, Super Bisquit wrote:
>
>> On 3/25/12, Sylvestre Ledru <sylvestre at 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.
>
>


More information about the freebsd-ppc mailing list