On 2026/9/23 上午8:05, Pierrick Bouvier wrote:
The previous toolchain was embedding full libc when doing static linking
for tcg-tests. As a result, each binary was 4MB is size.
With updated toolchain, only needed functions are linked, thus reducing
binary size.

As a result, we save ~140MB of disk space for tcg-tests.
That is great, thanks for the efforts.

Reviewed-by: Bibo Mao <[email protected]>

Signed-off-by: Pierrick Bouvier <[email protected]>
---
  tests/docker/dockerfiles/debian-loongarch-cross.docker | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/docker/dockerfiles/debian-loongarch-cross.docker 
b/tests/docker/dockerfiles/debian-loongarch-cross.docker
index d2ba07972ce..c3c3c0a4996 100644
--- a/tests/docker/dockerfiles/debian-loongarch-cross.docker
+++ b/tests/docker/dockerfiles/debian-loongarch-cross.docker
@@ -37,7 +37,7 @@ RUN apt-get update && \
          python3-wheel && \
          dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show 
> /packages.txt
-RUN curl -#SL https://github.com/loongson/build-tools/releases/download/2023.08.08/CLFS-loongarch64-8.1-x86_64-cross-tools-gcc-glibc.tar.xz \
+RUN curl -#SL 
https://github.com/loongson/build-tools/releases/download/2025.08.08/x86_64-cross-tools-loongarch64-binutils_2.45-gcc_15.1.0-glibc_2.42.tar.xz
 \
      | tar -xJC /opt
ENV PATH=$PATH:/opt/cross-tools/bin



Reply via email to