@@ -121,7 +121,6 @@ COPY --from=perf-builder /bpftool /bpftool
121121
122122WORKDIR /bcc
123123COPY scripts/staticx_for_pyperf_patch.diff .
124- COPY scripts/staticx_patch.diff .
125124COPY scripts/bcc_helpers_build.sh .
126125COPY scripts/pyperf_env.sh .
127126RUN ./pyperf_env.sh --with-staticx
@@ -270,16 +269,12 @@ RUN pyinstaller pyinstaller.spec \
270269 && test -f build/pyinstaller/warn-pyinstaller.txt \
271270 && ./check_pyinstaller.sh
272271
273- # for aarch64 - build a patched version of staticx 0.13.6. we remove calls to getpwnam and getgrnam, for these end up doing dlopen()s which
274- # crash the staticx bootloader. we don't need them anyway (all files in our staticx tar are uid 0 and we don't need the names translation)
275- COPY scripts/staticx_patch.diff staticx_patch.diff
276- # TODO: fix me
272+ # for aarch64 - build a patched version of staticx
277273# hadolint ignore=DL3003
278274RUN if [ "$(uname -m)" = "aarch64" ]; then \
279- git clone -b v0.13.6 https://github.com/JonathonReinhart/staticx.git && \
275+ git clone -b v0.14.1 https://github.com/JonathonReinhart/staticx.git && \
280276 cd staticx && \
281- git reset --hard 819d8eafecbaab3646f70dfb1e3e19f6bbc017f8 && \
282- git apply ../staticx_patch.diff && \
277+ git reset --hard 033d694a6fbf0ab0952cf0ff4a476269828167af && \
283278 ln -s libnss_files.so.2 /lib64/libnss_files.so && \
284279 ln -s libnss_dns.so.2 /lib64/libnss_dns.so && \
285280 python3 -m pip install --no-cache-dir . ; \
0 commit comments