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)
commit56f05546ab38e0675586c853503a5013c39a0a32
treead703e8ab854f2dde755dcbb7badb544a7ea7c30
parent3776a9157532e69478ef03236d22254267a4f12e
docker,worker: install gcc-mulitlib

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