[LLVMdev] Compiling bash-3.0 with llvm
sabre at nondot.org
Thu Apr 13 21:54:34 PDT 2006
On Fri, 14 Apr 2006, xia_nai at yahoo.com.cn wrote:
> I run "./configure" with CC=llvm-gcc and got no errors.
> When compiling, the llvm-gcc complained about "-lcposix" not found and
> unrecognized option `-rdynamic'.
> So I eliminated -lcposix from "LIBS" and replaced -rdynamic
> with --export-dynamic and got a bash.bc with no errors.
> However, after I run "lli bash.bc" it terminated with error message below:
> malloc: variables.c:460: assertion botched
> free: called with unallocated block argument
> last command: (null)
Have you tried compiling bash with a native GCC then running it through
More information about the llvm-dev