Skip to content

Commit 7275200

Browse files
committed
Debug bzip2 failure
1 parent f8fb6d3 commit 7275200

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpython-unix/build-bzip2.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ else
1515
AR=ar
1616
fi
1717

18+
# Add compiler-rt for aarch64-musl to resolve missing __extenddftf2 and __multf3 symbols
19+
if [ "${TARGET_TRIPLE}" = "aarch64-unknown-linux-musl" ]; then
20+
EXTRA_TARGET_LDFLAGS="${EXTRA_TARGET_LDFLAGS} --rtlib=compiler-rt"
21+
fi
22+
1823
tar -xf bzip2-${BZIP2_VERSION}.tar.gz
1924

2025
pushd bzip2-${BZIP2_VERSION}

0 commit comments

Comments
 (0)