Issue 150147
Summary [Clang][Driver] riscv64-elf target does not recognise -pie link time argument
Labels clang
Assignees
Reporter mintsuki
    As per title, trying to link an executable using the `clang` driver, using a `riscv64-elf` target, results in the following warning:
```
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
```

The `-pie` flag (and other possibly necessary flags for PIE linkage) are not passed to the linker.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to