Bump external/termux-elf-cleaner from ee5385e to 3da3eea#11583
Bump external/termux-elf-cleaner from ee5385e to 3da3eea#11583dependabot[bot] wants to merge 6 commits into
ee5385e to 3da3eea#11583Conversation
Bumps [external/termux-elf-cleaner](https://github.com/termux/termux-elf-cleaner) from `ee5385e` to `3da3eea`. - [Release notes](https://github.com/termux/termux-elf-cleaner/releases) - [Commits](termux/termux-elf-cleaner@ee5385e...3da3eea) --- updated-dependencies: - dependency-name: external/termux-elf-cleaner dependency-version: 3da3eeab96e57fa794c5ea0feb2eed4903545dec dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
|
@copilot can you fix: |
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
... Fixed in 482571e (and follow-ups). The upstream submodule renamed |
|
@copilot more code changes required? |
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
... Yes — fixed in bbcbedd. The error means the |
There was a problem hiding this comment.
Pull request overview
This PR updates the vendored external/termux-elf-cleaner dependency (from ee5385e to 3da3eea / v3.0.1) and adjusts the FastDev elfcleaner host-build CMake configuration so it continues to build against upstream’s renamed source file and new C++20 requirements.
Changes:
- Update
cmake_minimum_required()to 3.20 and bump the C++ standard to C++20 forstd::counting_semaphore. - Update the source file path to the upstream-renamed
elf-cleaner.cpp. - Add required compile definitions (
PACKAGE_NAME,PACKAGE_VERSION,COPYRIGHT) and introduceELFCLEANER_VERSION.
- Narrow the 'Keep in sync' comment to call out exactly which settings we mirror from external/termux-elf-cleaner/CMakeLists.txt (ELFCLEANER_VERSION, CMAKE_CXX_STANDARD, and the PACKAGE_NAME/PACKAGE_VERSION/COPYRIGHT compile definitions), acknowledging that the rest of this file legitimately diverges. - Flip CMAKE_CXX_EXTENSIONS from ON to OFF to match upstream, so we build elf-cleaner as strict c++20 instead of gnu++20. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Bumps external/termux-elf-cleaner from
ee5385eto3da3eea(~65 commits, pre-1.10 → past 2.2.1).This bump required accompanying updates to
tools/fastdev/elfcleaner/CMakeLists.txtto stay in sync with upstream changes:termux-elf-cleaner.cpptoelf-cleaner.cpp(file renamed upstream).std::counting_semaphore).PACKAGE_NAME,PACKAGE_VERSION, andCOPYRIGHTcompile definitions now required by the source, with the version extracted into anELFCLEANER_VERSIONvariable.What we gain
Correctness / runtime fixes
align_fix.pypatch. Prevents TLS-alignment crashes when running on older Android (and tools like Valgrind).DT_GNU_HASHremoval extended to API < 23 (was<= 21). It isn't supported on API 22 either, so the previous range left bad entries on API 22 binaries.DT_VERNEEDEDtypo →DT_VERNEEDwhen refreshingelf.hfrom glibc; aligns the cleaner with the actual ELF spec name.--dry-runno longer modifies the binary (it actually did before — straight-up bug).EI_CLASS-related errors now go to stderr instead of being swallowed.Performance
std::counting_semaphore(this is why the C++20 bump is needed). Faster across many native libs in an app build.Usability / build-system
--api-level NN,--quiet,--dry-run,--version, plusgetopt-based arg parsing (order no longer matters).tools/fastdev/elfcleaner/CMakeLists.txtis updated.The headline items for shipping apps are the TLS alignment fix and the
DT_GNU_HASHAPI-22 fix; the rest is hygiene + a nice perf bump.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.