On Sun, 1 Jan 2023 10:39:48 +0100 Fabien R wrote: > I see the same symptom with kernel 6.0.16 >
I've been able to replicate it with the following Dockerfile and script: ``` FROM debian:bullseye ARG KERNEL_VERSION=6.1.2 RUN apt update && apt install --no-install-recommends -y ca-certificates wget xz-utils WORKDIR /app RUN wget -nc --progress=dot:giga " https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${KERNEL_VERSION}.tar.xz" RUN tar xaf "linux-${KERNEL_VERSION}.tar.xz" --checkpoint=.5000 RUN apt install -y --no-install-recommends build-essential make kmod cpio \ dpkg-dev libc6-dev libelf-dev libssl-dev time fakeroot bc bison flex lz4 \ rsync sbsigntool zstd python3-minimal # get debian config (you should update this if required) # see https://packages.debian.org/experimental/amd64/linux-config-6.1/download RUN wget -nc http://ftp.us.debian.org/debian/pool/main/l/linux/linux-config-6.1_6.1.2-1~exp1_amd64.deb && \ dpkg -i linux-config-*_amd64.deb WORKDIR "/app/linux-${KERNEL_VERSION}" # uncompress debian config over the default one RUN /bin/bash -c "unxz < /usr/src/linux-config-*/config.amd64_none_amd64.xz > .config" RUN sed -i 's/ANDROID_BINDER_IPC=m/ANDROID_BINDER_IPC=n/' .config RUN make olddefconfig CMD make -j2 bindeb-pkg ``` Then ``` #!/bin/sh docker build --memory="4g" -t kernel-gcc-test . docker run --memory="4g" kernel-gcc-test docker logs $(docker ps -lq) > stdout.log 2> stderr.log ``` Leaving aside my syntax errors and lack of refinement, hope this helps.