Skip to content
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

Missing Symbol After Linking #156

Closed
wenhu1024 opened this issue Dec 6, 2024 · 0 comments · Fixed by #155
Closed

Missing Symbol After Linking #156

wenhu1024 opened this issue Dec 6, 2024 · 0 comments · Fixed by #155

Comments

@wenhu1024
Copy link
Contributor

Description

When using the command from the README 4.1.2 Compile step-by-step:

./install/bin/ld.lld -o vecadd.riscv -T utils/ldscripts/ventus/elf32lriscv.ld vecadd.o ./install/lib/crt0.o ./install/lib/riscv32clc.o -L./install/lib -lworkitem --gc-sections

The vectorAdd symbol is missing:

llvm-readelf -s vecadd.riscv | grep vectorAdd
( no result)
@zhoujingya zhoujingya linked a pull request Dec 6, 2024 that will close this issue
zhoujingya added a commit that referenced this issue Dec 6, 2024
fix:  add `--init vectorAdd` to README linking example #156
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant