-
Notifications
You must be signed in to change notification settings - Fork 109
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
Simple write example #746
Comments
The error is only under windows (i tested it under linux and it worked fine) |
It's using the wrong relocation kind. I never tested it under windows. It needs to be Changing to In general, when something like this doesn't work, the easiest way to figure out why it should be doing is to look at what gcc or clang generate. |
Thank you that I fixed it. |
Hi,
I tried the simple write example: https://github.com/gimli-rs/gimli/blob/master/crates/examples/src/bin/simple_write.rs
I ran it, got the object file.
Then when i tried to compile it into an executable i got following errors:
So i gone ahed and changched the format from
Dwarf32
toDwarf64
. This time the linking actually worked. But then as i gone to test it in gdb. I got following error:My gcc is:
Bye
The text was updated successfully, but these errors were encountered: