https://sourceware.org/bugzilla/show_bug.cgi?id=32435
Masahiro Yamada <masahiroy at kernel dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |masahiroy at kernel dot org --- Comment #14 from Masahiro Yamada <masahiroy at kernel dot org> --- I am the modpost maintainer. Please forget about the .rodata.str1.4 section. modpost searches for MODULE_DEVICE_TABLE() tags, which are usually located in the .rodata section, and it may fail on some architectures when the .rodata section is not properly aligned. Comment 10, where its file offset is 0x000025c1, illustrates the problematic case well. Jan mentions that this does not violate the ELF specification: https://sourceware.org/pipermail/binutils/2024-December/138027.html I think modpost can work around the issue by using a helper like get_unaligned(). I believe the performance regression would be negligible. I believe (hope) the .symtab, .rel, and .rela sections are still aligned. These sections are parsed more frequently, so alignment for these sections would be more critical from a performance perspective. -- You are receiving this mail because: You are on the CC list for the bug.