[LLVMdev] Unable to build LLVM-GCC 2.3 (using x86_64 and gcc 4.2.3-2ubuntu7)

Joachim Durchholz jo at durchholz.org
Sun Jun 22 10:12:44 PDT 2008

Am Sonntag, den 22.06.2008, 15:19 +0100 schrieb Alan Jenkins:
> config.log:
> configure:2119: checking for C compiler default output file name
> configure:2122:  /home/alan/pkg/llvm/obj/./prev-gcc/xgcc
> -B/home/alan/pkg/llvm/obj/./prev-gcc/
> -B/usr/local/x86_64-unknown-linux-gnu/bin/ -g -O2   conftest.c  >&5
> configure:2125: $? = 0
> configure:2171: result: a.out
> configure:2176: checking whether the C compiler works
> configure:2182: ./a.out
> Segmentation fault

It seems you can't compile and run C programs at all.

Maybe because you are using /home/alan/pkg/llvm/obj/./prev-gcc/xgcc instead of the system's gcc, which might be broken.


More information about the llvm-dev mailing list