Skip to content

Revert "patchelf: Revert "tools/patchelf: update to 0.18.0""

Piotr Kubik requested to merge pkubik_fix_patchelf into devel

Patchelf 0.17.2 has a bug resulting, for some source binaries, in overlapping LOAD pages in generated elf binaries. This was fixed in: de3e1f5e11f5 ("Add one extra page to avoid overlapping with next page if its rounded down") (patchelf 0.18.0)

Patchelf was downgraded to 0.17.2 in OpenWRT due to lacking support for GCC 7 which we do not care.

This reverts commit f147569f.

Unfortunately: Patchelf in 0.18.0 version has a bug resulting in misaligned ELF load sections, so two extra patches for patchelf were needed.

Edited by Piotr Kubik

Merge request reports