Date: Mon, 26 Mar 2012 21:51:32 -0400 From: Super Bisquit <superbisquit@gmail.com> To: Paul Mather <paul@gromit.dlib.vt.edu> 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: <CA%2BWntOvT4sGAVJMbgwVnefdPYsffrj3wN8Vh=35R5Z6zTk8L4g@mail.gmail.com> In-Reply-To: <B5966B8C-B2C4-4130-930F-4E3E0BFD62A0@gromit.dlib.vt.edu> References: <CA%2BWntOtozoJ0ei05=VxWrETbu5nNYkfKzOpSr18MB2NY8DVW3A@mail.gmail.com> <1332700229.10606.33.camel@pomegues.inria.fr> <CA%2BWntOuBONy0-wXOzWojkgOqmj8xS0GtCgiMYtfU1XZ-25wj-A@mail.gmail.com> <B5966B8C-B2C4-4130-930F-4E3E0BFD62A0@gromit.dlib.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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@gromit.dlib.vt.edu> wrote: > 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 =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. > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BWntOvT4sGAVJMbgwVnefdPYsffrj3wN8Vh=35R5Z6zTk8L4g>