[LLVMdev] run into a problem with a version of GCC not listed here

Török Edwin edwintorok at gmail.com
Mon Oct 18 08:10:51 PDT 2010


On Mon, 18 Oct 2010 16:57:02 +0200 (CEST)
"017667932270" <jurij at o2online.de> wrote:

> dear LLVM developer team,
> 
> referring to your notes on the web-page:
> http://llvm.org/docs/GettingStarted.html
> 
> i like to report, some problems with LLVM:
> 
> problem I:
> ------------
> on my linux machine (RHEL 4.8 ) the compilation of the LLVM compiler
> suit works, but if i start to compile my C source code with clang and
> llc, the compiler  (llc) abort with: Segmentation fault
> 
> 0  llc 0x0883b510
> Stack dump:
> 0.      Program arguments: /appl/c_compiler/xpic/llvm-2.7/bin/llc -O2
> -f -march=xpic new_main.bc -o new_main.s 1.      Running pass 'xpic
> DAG->DAG Pattern Instruction Selection' on function '@fib_recursive'
> make[1]: *** [new_main.s] Segmentation fault

Did you tell clang to generate code for xpic (instead of x86?).

--Edwin



More information about the llvm-dev mailing list