<div>Hello,</div>
<div> </div>
<div>I'm testing my llvm-arm toolchain by compiling a simple source code (like hello world). Particularly, when I use '-static' option for compilation, I have the following error message.</div>
<div> </div>
<div><span lang="EN">
<p>$ llvm-arm-gcc -o hello hello.c -static</p>
<p>/home/wonjeon/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc//usr/lib/libc.a(backtrace.o): In function `backtrace':</p>
<p>backtrace.c:(.text+0x2c): undefined reference to `_Unwind_Backtrace'</p>
<p>collect2: ld returned 1 exit status</p>
<p> </p>
<p>I have no problem for '-static' option with llvm-gcc for x86 and arm-none-linux-gnueabi-gcc with for ARM without llvm though.</p>
<p>Can anyone help?</p>
<p> </p>
<p>Thanks,</p>
<p>Won</p></span></div>