(In reply to Alan Modra from comment #3) > (In reply to Balint Reczey from comment #2) > > Did I miss something? > > You did. By subtracting off_adjust from the value written to p_offset you > potentially have p_offset mod page_size != p_vaddr mod page_size. > > This will fail the glibc test in elf/dl-load.c resulting in "ELF load > command address/offset not properly aligned"
Thanks. Could you please consider accepting a fixed patch rather than closing the bug as won't fix? While this is not an issue with traditional loaders, users of WSL would certainly appreciate strip not generating binaries crashing there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1843479 Title: gzip in Ubuntu Eoan results in Exec format error on WSL1 To manage notifications about this bug go to: https://bugs.launchpad.net/binutils/+bug/1843479/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs