https://sourceware.org/bugzilla/show_bug.cgi?id=21317
Bug ID: 21317 Summary: misaligned address error for uint32_t Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: libelf Assignee: unassigned at sourceware dot org Reporter: ago at gentoo dot org CC: elfutils-devel at sourceware dot org Target Milestone: --- On elfutils-0.168: # eu-elflint -d $FILE /tmp/portage/dev-libs/elfutils-0.168/work/elfutils-0.168/libelf/gelf_xlate.h:36:1: runtime error: load of misaligned address 0x7f8ae27cb007 for type 'const uint32_t', which requires 4 byte alignment 0x7f8ae27cb007: note: pointer points here 46 01 02 01 00 00 02 00 00 00 45 4c 46 01 02 01 00 0b 00 01 00 00 00 60 04 20 00 00 00 00 00 00 ^ Compiled with: gcc-6.3.0 Visible with: -fsanitize=undefined Reproducer: https://github.com/asarubbo/poc/blob/master/00239-elfutils-misalignedaddress3 -- You are receiving this mail because: You are on the CC list for the bug.