From fbaecc5c267ac42a433f75389307cb71510371fb Mon Sep 17 00:00:00 2001 From: Tee KOBAYASHI Date: Wed, 4 Jan 2023 06:46:27 +0900 Subject: [PATCH] termux_step_massage: Check for unresolved symbols defined in libandroid-execinfo as well. Reference: https://github.com/termux/termux-packages/issues/14285 --- scripts/build/termux_step_massage.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build/termux_step_massage.sh b/scripts/build/termux_step_massage.sh index b63c59200a828ae..5264cdd41323326 100644 --- a/scripts/build/termux_step_massage.sh +++ b/scripts/build/termux_step_massage.sh @@ -90,6 +90,7 @@ termux_step_massage() { if [ -d "lib" ]; then SYMBOLS="$($READELF -s $($TERMUX_HOST_PLATFORM-clang -print-libgcc-file-name) | grep "FUNC GLOBAL HIDDEN" | awk '{print $8}')" SYMBOLS+=" $(echo libandroid_{sem_{open,close,unlink},shm{ctl,get,at,dt}})" + SYMBOLS+=" $(echo backtrace{,_symbols{,_fd}})" grep_pattern="$(create_grep_pattern $SYMBOLS)" for lib in "$(find lib -name "*.so")"; do if ! $READELF -h "$lib" &> /dev/null; then