Skip to content

Failed to link, Invalid Argument #207

Answered by jokem59
jokem59 asked this question in Q&A
Discussion options

You must be logged in to vote

I found this e-mail thread: https://lore.kernel.org/bpf/[email protected]/

It was pointed out that the .eh_frame section shouldn't exist in these bpf object files. But examining my object files showed its existence:

readelf -S .output/minimal_legacy.tmp.bpf.o
[17] .eh_frame         PROGBITS         0000000000000000  00000af0

Currently using Clang 11.X, and passing -fno-asynchronous-unwind-tables into the clang command solved this for me!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Ranler
Comment options

@anakryiko
Comment options

Answer selected by jokem59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants