https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89362
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > The problem is that most debug sections have alignment 1 so you cannot do: > > chdr = (const b_elf_chdr *) compressed; > > and expect to have a valid b_elf_chdr on strict-alignment platforms. It's a binutils issue (PR binutils/23919) fixed in 2.32 and later.