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

link error #3

Open
dssds opened this issue Apr 17, 2017 · 0 comments
Open

link error #3

dssds opened this issue Apr 17, 2017 · 0 comments

Comments

@dssds
Copy link

dssds commented Apr 17, 2017

clang -target or1k -O3 -integrated-as hello.c --sysroot /opt/or1k-tool-chain/or32-linux/ -I /opt/or1k-tool-chain/or32-linux/include/ -L /opt/or1k-tool-chain/or32-linux/lib/
#################################################
/usr/bin/ld: /tmp/hello-e84dad.o: Relocations in generic ELF (EM: 92)
/tmp/hello-e84dad.o: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
clang-3.9: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)

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

No branches or pull requests

1 participant