On 12/19/23 12:03 PM, Alyssa Ross wrote:
clang can generate (with -g -Wa,--compress-debug-sections) 4-byte aligned DWARF sections that declare themselves to be 8-byte aligned in the section header. Since DWARF sections are dropped during linking anyway, just skip running the sanity checks on them. Reported-by: Sergei Trofimovich <slyich@xxxxxxxxx> Suggested-by: Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> Closes: https://lore.kernel.org/bpf/ZXcFRJVKbKxtEL5t@xxxxxxx/ Signed-off-by: Alyssa Ross <hi@xxxxxxxxx>
Looks reasonable to skip, thus: Acked-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx>