Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issue with the _start #7

Closed
schoeberl opened this issue Nov 4, 2022 · 1 comment
Closed

Issue with the _start #7

schoeberl opened this issue Nov 4, 2022 · 1 comment

Comments

@schoeberl
Copy link
Member

I get following error:

/tmp/hello2-588b69.bc.o:/tmp/hello2-81e00f.opt.bc:function _start: error: undefined reference to '_loader_baseaddr'
/tmp/hello2-588b69.bc.o:/tmp/hello2-81e00f.opt.bc:function _start: error: undefined reference to '_loader_off'
patmos-clang-3.4: error: link  via llvm-link, opt and llc command failed with exit code 1 (use -v to see invocation)

I can provide a .zip file with the code that leads to this issue. But maybe someone has seen this before.

@schoeberl
Copy link
Member Author

Do not use -O3 for compilation.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant