recallmenot added a comment.

Hi, I'm working on CH32V003 for rust and it uses RV32EC core.
I tried replacing my distros llvm and clang with a patched version of this like 
this:

  git clone https://aur.archlinux.org/llvm-git.git
  cd llvm-git
  mkdir src
  cd src
  git clone https://github.com/llvm/llvm-project.git
  cd llvm-project
  arc patch D70401
  cd ../..
  mv llvm-config.h src/
  makepkg -es
  sudo pacman -Rd --nodeps clang llvm
  makepkg -eid

but that bricked my xfce-wayland-manjaro DE (one screen black)
And in config.toml if I put

  [build]
  target = "riscv32i-unknown-none-elf"
  rustflags = [
        "-C", "target-feature=+e,+c"
  ]

then build with cargo build
LLVM still complains it doesn't implement CodeGen for RV32E yet
What am I doing wrong?
Ended up reverting to repository llvm and clang, desktop now works again but 
CodeGen is obviously missing.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70401/new/

https://reviews.llvm.org/D70401

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D70401: [RISCV] Com... Edmund Raile via Phabricator via cfe-commits

Reply via email to