const data in C result in unsupported BPF relocation R_BPF_INSN_64
#17989
Labels
const data in C result in unsupported BPF relocation R_BPF_INSN_64
#17989
Problem
Read-only data in C programs result in a
R_BPF_INSN_64relocation that the loader does not recognize.Code that cause it:
Warning from the loader:
The workaround is to use
#defineinstead ofconst:This issue might be related to recent llvm updates
Proposed Solution
Investigate whether we can support
R_BPF_INSN_64and add support for it if possible.The text was updated successfully, but these errors were encountered: