diff --git a/src/ci/docker/scripts/musl.sh b/src/ci/docker/scripts/musl.sh index f87ba8fe4e60e..ae908f639872f 100644 --- a/src/ci/docker/scripts/musl.sh +++ b/src/ci/docker/scripts/musl.sh @@ -72,3 +72,6 @@ cmake ../libunwind-release_$LLVM \ hide_output make -j$(nproc) cp lib/libunwind.a /musl-$TAG/lib cd ../ && rm -rf libunwind-build + +# Copy libgcc since musl may depend on symbols defined in it +cp $($CC $CFLAGS -print-libgcc-file-name) /musl-$TAG/lib diff --git a/src/liblibc b/src/liblibc index b6d23ed45d729..bfe0e32d1260d 160000 --- a/src/liblibc +++ b/src/liblibc @@ -1 +1 @@ -Subproject commit b6d23ed45d72918239c0bfac11dc547895e59b81 +Subproject commit bfe0e32d1260d5dd317aa144e757c1edbcc08ea3