
On 11/4/24 14:39, Simon Glass wrote:
This doesn't build on arm64 at present, so drop it for now. This can be revisited if we wish to support arm64 for the sandbox trace-test.
I had no problems building the trace libraries on Ubuntu 24.04 arm64. So the problem you experienced should be easily fixable.
Best regards
Heinrich
Signed-off-by: Simon Glass sjg@chromium.org
tools/docker/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 60106a82801..73fdd1a4302 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -240,7 +240,8 @@ RUN git clone https://github.com/stefanberger/swtpm /tmp/swtpm && \ rm -rf /tmp/swtpm
# Build trace-cmd -RUN mkdir /tmp/trace && \ +RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
- mkdir /tmp/trace && \ git clone https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git /tmp/trace/libtraceevent && \ cd /tmp/trace/libtraceevent && \ make -j$(nproc) && \
@@ -253,7 +254,8 @@ RUN mkdir /tmp/trace && \ cd /tmp/trace/trace-cmd && \ make -j$(nproc) && \ sudo make install && \
- rm -rf /tmp/trace
rm -rf /tmp/trace; \
fi
# Build coreboot RUN wget -O - https://coreboot.org/releases/coreboot-24.08.tar.xz | tar -C /tmp -xJ && \