-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ld -shared not supported when I build riscv-linux #1175
Comments
On what basis do you think that this is a riscv-gnu-toolchain issue and not a build issue with the Linux port that you're trying to build and which you should be asking about here?
The |
@TommyMurphyTM1234 I searched "riscv linux ld shared not supported" in Google, and got the following link: I did asked some questions in https://github.com/CSL-KU/riscv-linux, but I didn't get the reply. Dear @TommyMurphyTM1234 , |
Or> @TommyMurphyTM1234 Thank you for your reply! I don't think this is a riscv-gnu-toolchain issue. I agree. So I am consequently closing this issue.
This is not the place to ask for general compilation issues or how to build a Linux port totally unrelated to this repo.
So why did you repeat the same question instead of heeding the answer the was already given?
I don't see where you asked over there. All I see is this:
Your question is already answered in issue #335 as far as I can see - you need to use the RISC-V Linux rather than the bare metal toolchain to build a Linux kernel. |
@TommyMurphyTM1234 I just now submitted the question at: CSL-KU/riscv-linux#3 Could you please have a look at it? |
Your question has already been addressed. You need to use the RISC-V Linux rather than bare metal toolchain. You can download binary builds from here: |
@TommyMurphyTM1234 |
I don't know what you mean. There are various Linux versions/ports for RISC-V. There isn't just one.
The RISC-V Linux toolchain archives here are the ones named The tools are named with the prefix There are plenty of resources elsewhere on how to use the various RISC-V toolchains. |
@TommyMurphyTM1234 match my questions. |
Glad it helped. |
Hi,
my envrionment:
ubuntu 20.04,
toolchain: riscv32-elf-ubuntu-20.04-nightly-2022.12.17-nightly.tar.gz
riscv-linux link: https://github.com/CSL-KU/riscv-linux
I would like to build riscv-linux and then run it on embedded RISCV MCU. I am experiencing the following issue
where should I add
static
option in Makefile?or, should I change toolchain option?
The text was updated successfully, but these errors were encountered: