[PATCH] D127581: [ELF] Relax R_RISCV_ALIGN

Xinlong Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 03:06:26 PDT 2022


VincentWu added a comment.

I have used this patch to compile and link to the software below. Generally, there are no obvious problems with this patch.

1. curl-7.82.0:
  - command: `./configure CC=/path/to/clang LDFLAGS="-fuse-ld=lld --ld-path=/path/to/ld.lld -mrelax" --without-ssl`
  - result:The compiler and linker works fine and all the tests that are provided have passed. Simply running is fine.

2. bash-5.1:
  - command: `./configure CC_FOR_BUILD=/path/to/clang LDFLAGS_FOR_BUILD="-fuse-ld=lld --ld-path=/path/to/ld.lld -mrelax" CC=/path/to/clang LDFLAGS="-fuse-ld=lld --ld-path=/path/to/ld.lld -mrelax"`
  - result:The compiler and linker works fine and part of the tests that are provided has passed. Failed test not related to this patch. Simply running is fine.

3. vim 8.2.5:
  - command: `./configure CC=/path/to/clang LDFLAGS="-fuse-ld=lld --ld-path=/path/to/ld.lld -mrelax`
  - result:The compiler and linker works fine and part of the tests that are provided has passed. Failed test not related to this patch. Simply running is fine.

4. libevent:
  - command: `./configure CC=/path/to/clang LDFLAGS="-fuse-ld=lld --ld-path=/path/to/ld.lld -mrelax"`
  - result: The compiler and linker works fine and all the tests that are provided have passed.

5. tmux:
  - command: `./configure CC=/path/to/clang LDFLAGS="-fuse-ld=lld --ld-path=/path/to/ld.lld -mrelax"`
  - result: The compiler and linker works fine. run `make check` have no error.  Simply running is fine.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127581



More information about the llvm-commits mailing list