Skip to content

Commit

Permalink
config: docker: Update pahole to v1.28
Browse files Browse the repository at this point in the history
A recent regression[1] has been identified, and it does not occur with
pahole v1.28. Update pahole to the appropriate version in the Docker
containers used for kernel builds.

[1] https://lore.kernel.org/all/[email protected]/

Signed-off-by: Laura Nao <[email protected]>
  • Loading branch information
laura-nao authored and nuclearcat committed Dec 18, 2024
1 parent 5ba8918 commit 1a08508
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config/docker/base/host-tools.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
bison \
bsdmainutils \
ccache \
cmake \
cpio \
dwarves \
elfutils \
flex \
g++ \
gawk \
Expand All @@ -72,6 +74,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
kmod \
libssl-dev \
libelf-dev \
libdw-dev \
lz4 \
lzop \
make \
Expand All @@ -89,4 +92,16 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
# Install dtschema for dtbs_check
RUN pip3 install dtschema --break-system-packages

# Clone and build pahole v1.28
RUN git clone https://git.kernel.org/pub/scm/devel/pahole/pahole.git && \
cd pahole && \
git checkout v1.28 && \
mkdir build && cd build && \
cmake .. && \
make && \
make install && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/dwarves.conf && \
ldconfig && \
cd ../.. && rm -rf pahole

{% endblock %}

0 comments on commit 1a08508

Please sign in to comment.