Skip to content

llvm-strip throws invalid relocation offset when using --strip-debug #22289

Closed Answered by dschuff
gmarella asked this question in Q&A
Discussion options

You must be logged in to vote

This does look like a bug, I created #22291
The fact that the crash is the same when trying to strip the object file and then add it to the archive after that means that you can't work around the bug by working only on object files, and suggests that the file created by the stripping is corrupted in a way that crashes the object file parser.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gmarella
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by gmarella
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants