LLVM ERROR: inconsistency in registered CommandLine options
Everytime I run compiled codon, this message appears.
: CommandLine Error: Option 'arm-implicit-it' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options Aborted (core dumped)
Tryied to compile with-DENABLE_LLVM_SHARED=1, but the message still the same. Compiled in manjaro on kernel 6.1.11, with llvm-config 15.0.7, gcc 12.2.1.
Hi @jrborbars -- Codon uses a specific version/fork of LLVM found here: https://github.com/exaloop/llvm-project. You can find build instructions here: https://docs.exaloop.io/codon/advanced/build. Please let me know if the issue persists!
OK, so I got the fork of llvm and built it; I put the install files in /usr/local/bin, lib, include and share subdirectories. I tried running the fib.ll file using this cmdline: /usr/local/bin/lli ~/codon-projects/fib.ll but received an error:
JIT session error: Symbols not found: [ seq_init, seq_personality, seq_print_full, seq_stdout, seq_str_int ] /usr/local/bin/lli: Failed to materialize symbols: { (main, { main }) }
I haven't a clue as to what's wrong and how to proceed and could use some help, please.