[cfe-dev] clang bootstraps on linux arm :-)

Chris Lattner clattner at apple.com
Wed Jun 23 22:43:48 PDT 2010


On Jun 23, 2010, at 10:25 PM, Rafael Espindola wrote:

> Clang just finished bootstrapping on linux arm. Both llvm and clang
> are synced @106540. To bootstrap what I did was
> 
> *) Build gold and copy it over /usr/bin/ld. GNU ld cannot handle clang
> in 256MB of ram (I was using a beagleboard)
> *) Build a new gas and copy it over /usr/bin/as. The old gas was
> confused by some of assembly produced by llvm.
> *) Build stage1 with --enable-optimized --with-optimize-option=-O1.
> The debian provided gcc miscompiles clang at -O2 and above.
> *) Build stages 2 and 3 with CC="..../clang -mfloat-abi=softfp" and
> CXX=".../clang++ -mfloat-abi=softfp " ../llvm/configue
> --enable-optimized
> 
> I will try to fix the floab-abi thing soon.
> 
> Thanks a lot to everyone that helped with suggestions, bugpoint tips
> and fixing bugs.

Wow, congrats Rafael!

-Chris



More information about the cfe-dev mailing list