File tree Expand file tree Collapse file tree 7 files changed +17
-11
lines changed
aarch64-unknown-linux-musl
arm-unknown-linux-musleabihf
x86_64-unknown-linux-musl Expand file tree Collapse file tree 7 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ FROM ubuntu:19.04
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc make libc6-dev git curl ca-certificates \
5
5
gcc-aarch64-linux-gnu qemu-user
6
- RUN curl --retry 5 https://www.musl-libc.org/releases/musl-1.1.19 .tar.gz | \
6
+ RUN curl --retry 5 https://www.musl-libc.org/releases/musl-1.1.22 .tar.gz | \
7
7
tar xzf - && \
8
- cd musl-1.1.19 && \
8
+ cd musl-1.1.22 && \
9
9
CC=aarch64-linux-gnu-gcc \
10
10
./configure --prefix=/musl-aarch64 --enable-wrapper=yes && \
11
11
make install -j4 && \
12
12
cd .. && \
13
- rm -rf musl-1.1.19
13
+ rm -rf musl-1.1.22
14
14
# Install linux kernel headers sanitized for use with musl
15
15
RUN curl --retry 5 -L https://github.com/sabotage-linux/kernel-headers/archive/v3.12.6-6.tar.gz | \
16
16
tar xzf - && \
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc make libc6-dev git curl ca-certificates \
5
5
gcc-arm-linux-gnueabihf qemu-user
6
6
7
- RUN curl --retry 5 https://www.musl-libc.org/releases/musl-1.1.19 .tar.gz | tar xzf -
8
- WORKDIR /musl-1.1.19
7
+ RUN curl --retry 5 https://www.musl-libc.org/releases/musl-1.1.22 .tar.gz | tar xzf -
8
+ WORKDIR /musl-1.1.22
9
9
RUN CC=arm-linux-gnueabihf-gcc \
10
10
CFLAGS="-march=armv6 -marm -mfpu=vfp" \
11
11
./configure --prefix=/musl-arm --enable-wrapper=yes
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ RUN apt-get install -y --no-install-recommends \
12
12
# since otherwise the script will fail to find a compiler.
13
13
# * We manually unset CROSS_COMPILE when running make; otherwise the makefile
14
14
# will call the non-existent binary 'i686-ar'.
15
- RUN curl --retry 5 https://www.musl-libc.org/releases/musl-1.1.19 .tar.gz | \
15
+ RUN curl --retry 5 https://www.musl-libc.org/releases/musl-1.1.22 .tar.gz | \
16
16
tar xzf - && \
17
- cd musl-1.1.19 && \
17
+ cd musl-1.1.22 && \
18
18
CC=gcc CFLAGS=-m32 ./configure --prefix=/musl-i686 --disable-shared --target=i686 && \
19
19
make CROSS_COMPILE= install -j4 && \
20
20
cd .. && \
21
- rm -rf musl-1.1.19
21
+ rm -rf musl-1.1.22
22
22
# Install linux kernel headers sanitized for use with musl
23
23
RUN curl --retry 5 -L https://github.com/sabotage-linux/kernel-headers/archive/v3.12.6-6.tar.gz | \
24
24
tar xzf - && \
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ FROM ubuntu:19.04
3
3
RUN apt-get update
4
4
RUN apt-get install -y --no-install-recommends \
5
5
gcc make libc6-dev git curl ca-certificates
6
- RUN curl --retry 5 https://www.musl-libc.org/releases/musl-1.1.19 .tar.gz | \
6
+ RUN curl --retry 5 https://www.musl-libc.org/releases/musl-1.1.22 .tar.gz | \
7
7
tar xzf - && \
8
- cd musl-1.1.19 && \
8
+ cd musl-1.1.22 && \
9
9
./configure --prefix=/musl-x86_64 && \
10
10
make install -j4 && \
11
11
cd .. && \
12
- rm -rf musl-1.1.19
12
+ rm -rf musl-1.1.22
13
13
# Install linux kernel headers sanitized for use with musl
14
14
RUN curl --retry 5 -L https://github.com/sabotage-linux/kernel-headers/archive/v3.12.6-6.tar.gz | \
15
15
tar xzf - && \
Original file line number Diff line number Diff line change @@ -334,6 +334,8 @@ pub const MAP_LOCKED: ::c_int = 0x8000;
334
334
pub const MAP_POPULATE : :: c_int = 0x10000 ;
335
335
pub const MAP_NONBLOCK : :: c_int = 0x20000 ;
336
336
pub const MAP_STACK : :: c_int = 0x40000 ;
337
+ pub const MAP_SHARED_VALIDATE : :: c_int = 0x3 ;
338
+ pub const MAP_FIXED_NOREPLACE : :: c_int = 0x100000 ;
337
339
338
340
pub const SOCK_STREAM : :: c_int = 2 ;
339
341
pub const SOCK_DGRAM : :: c_int = 1 ;
Original file line number Diff line number Diff line change @@ -373,6 +373,8 @@ pub const MAP_EXECUTABLE: ::c_int = 0x01000;
373
373
pub const MAP_POPULATE : :: c_int = 0x08000 ;
374
374
pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
375
375
pub const MAP_STACK : :: c_int = 0x020000 ;
376
+ pub const MAP_SHARED_VALIDATE : :: c_int = 0x3 ;
377
+ pub const MAP_FIXED_NOREPLACE : :: c_int = 0x100000 ;
376
378
377
379
pub const ENOTSUP : :: c_int = EOPNOTSUPP ;
378
380
pub const EUCLEAN : :: c_int = 117 ;
Original file line number Diff line number Diff line change @@ -517,6 +517,8 @@ pub const MAP_NORESERVE: ::c_int = 0x04000;
517
517
pub const MAP_POPULATE : :: c_int = 0x08000 ;
518
518
pub const MAP_NONBLOCK : :: c_int = 0x010000 ;
519
519
pub const MAP_STACK : :: c_int = 0x020000 ;
520
+ pub const MAP_SHARED_VALIDATE : :: c_int = 0x3 ;
521
+ pub const MAP_FIXED_NOREPLACE : :: c_int = 0x100000 ;
520
522
521
523
pub const EDEADLOCK : :: c_int = 35 ;
522
524
pub const ENAMETOOLONG : :: c_int = 36 ;
You can’t perform that action at this time.
0 commit comments