docker,worker: install gcc-mulitlib
authorPaul Spooren <mail@aparcar.org>
Sun, 10 Jan 2021 20:25:38 +0000 (10:25 -1000)
committerPetr Štetiar <ynezz@true.cz>
Fri, 12 Mar 2021 14:02:16 +0000 (15:02 +0100)
From openwrt/docker[1]:

This is required for luajit, which is in packages feed.  While it works
fine for ARMv8 (tested by using Github Actions: aarch64_cortex-a53) and
x84_x64 (tested inside Docker container, it does not work for 32-bits
target and because of that we need to install gcc-multilib.

Luajit fails with the following output: (tested against target:
arm_cortex-a9+vfpv3-d16_musl_eabi inside Docker SDK image)

/usr/include/limits.h:26:10: fatal error: bits/libc-header-start.h: No
such file or directory #include <bits/libc-header-start.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~

[1]: https://github.com/openwrt/docker/pull/74/commits/f9da188d53fd9809ca4911089611e1f42422d049

Signed-off-by: Paul Spooren <mail@aparcar.org>
docker/buildworker/Dockerfile

index 8e7960b9059f1ac46f90356d0f2ded3905c39008..380ecc5d495989066ef330f66a380d2dc9a2ccef 100644 (file)
@@ -17,6 +17,7 @@ RUN \
                ccache \
                curl \
                gawk \
+               gcc-multilib \
                git-core \
                gosu \
                libncurses5-dev \