Compiling llvm libraries to run on iPhone

> ><i> llvm[3]: Compiling SelectionDAGISel.cpp for Release build
</i>> > > ><i> /var/folders/Xq/XqzGACxLHWq4Af0cQbEMdE+++TI/-Tmp-//cc6xGQcn.s:unknown:immediate
</i>> ><i> value (-288) too large
</i>> > > ><i> Any help would be really appreciated,
> That looks like an internal compiler error.  Use delta
> ([]( to reduce the issue if possible, then send
> a bug-report to whoever distributes your ARM compiler. (For an iPhone,
> I'm guessing that's Apple.)
> -Eli

Hi Eli,
I'm pretty sure that the compiler I'm using is llvm-gcc
$ /usr/local/bin/arm-apple-darwin-gcc -v
Using built-in specs.
Target: arm-apple-darwin
Configured with: ../../llvm-gcc-4.0-iphone/configure --enable-llvm=/Users/ur/llvm-svn --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions --with-heavenly=/usr/local/share/iphone-filesystem --with-as=/usr/local/bin/arm-apple-darwin-as --with-ld=/usr/local/bin/arm-apple-darwin-ld --enable-wchar_t=no : (reconfigured) ../../llvm-gcc-4.0-iphone/configure --enable-llvm=/Users/ur/llvm-svn --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions --with-heavenly=/usr/local/share/iphone-filesystem --with-as=/usr/local/bin/arm-apple-darwin-as --with-ld=/usr/local/bin/arm-apple-darwin-ld --enable-wchar_t=no
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5449)(LLVM build 2.0-svn-iphone-dev-0.3-svn)
I will try and work out what is causing the error though.
Thanks for your help,

Oh, so it is llvm-gcc? In that case, see
How to submit an LLVM bug report — LLVM 16.0.0git documentation to reduce it.
That said, llvm-gcc 4.0 isn't really supported anymore by the LLVM
project; if you can figure out how to build an llvm-gcc cross-compiler
from SVN, you'd be much more likely to get a usable fix.