Skip to content

Commit 699f07a

Browse files
Merge #452
452: Bump Ubuntu container version and MUSL-related libs r=therealprof a=brainstorm Several reasons, including but not limited to: 1) MUSL-compiled OpenSSL benefits from MUSL versions 1.2.0 and up, otherwise it needs to be badly patched, see fornwall/rust-static-builder#3 (comment). 2) DWARFv2 compressed debugging symbols mess up with old toolchains and linkers, see rust-bio/rust-htslib#231. Co-authored-by: Roman Valls Guimera <[email protected]>
2 parents 5d35b3f + bcad0a2 commit 699f07a

4 files changed

+12
-10
lines changed

docker/Dockerfile.armv7-unknown-linux-musleabihf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:20.04
22

33
COPY common.sh /
44
RUN /common.sh
@@ -17,7 +17,8 @@ RUN /musl.sh \
1717
TARGET=arm-linux-musleabihf \
1818
"COMMON_CONFIG += --with-arch=armv7-a \
1919
--with-float=hard \
20-
--with-mode=thumb"
20+
--with-mode=thumb \
21+
--with-fpu=vfp"
2122

2223
# Allows qemu run dynamic linked binaries
2324
RUN ln -sf \

docker/Dockerfile.x86_64-unknown-linux-musl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:20.04
22

33
COPY common.sh /
44
RUN /common.sh

docker/linux-image.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ set -euo pipefail
66
main() {
77
# arch in the rust target
88
local arch="${1}" \
9-
kversion=4.9.0-11
9+
kversion=4.19.0-10
1010

11-
local debsource="deb http://http.debian.net/debian/ stretch main"
12-
debsource="${debsource}\ndeb http://security.debian.org/ stretch/updates main"
11+
local debsource="deb http://http.debian.net/debian/ buster main"
12+
debsource="${debsource}\ndeb http://security.debian.org/ buster/updates main"
1313

1414
local dropbear="dropbear-bin"
1515

@@ -37,7 +37,7 @@ main() {
3737
kernel="${kversion}-5kc-malta"
3838
;;
3939
powerpc)
40-
# there is no stretch powerpc port, so we use jessie
40+
# there is no buster powerpc port, so we use jessie
4141
# use a more recent kernel from backports
4242
kernel=4.9.0-0.bpo.6-powerpc
4343
debsource="deb http://archive.debian.org/debian jessie main"

docker/musl.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ hide_output() {
1919
}
2020

2121
main() {
22-
local version=0.9.8
22+
local version=0.9.9
2323

2424
local dependencies=(
2525
ca-certificates
@@ -44,8 +44,9 @@ main() {
4444
tar --strip-components=1 -xzf "v${version}.tar.gz"
4545

4646
hide_output make install "-j$(nproc)" \
47-
GCC_VER=6.4.0 \
48-
MUSL_VER=1.1.22 \
47+
GCC_VER=9.2.0 \
48+
MUSL_VER=1.2.0 \
49+
BINUTILS_VER=2.33.1 \
4950
DL_CMD='curl --retry 3 -sSfL -C - -o' \
5051
OUTPUT=/usr/local/ \
5152
"${@}"

0 commit comments

Comments
 (0)