-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add syscall tables to most remaining arches in `src/unix/notbsd` * Add aarch64/arm musl to CI * Update dependencies
- Loading branch information
1 parent
84da91c
commit 9029cfb
Showing
20 changed files
with
4,078 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM ubuntu:17.10 | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
gcc make libc6-dev git curl ca-certificates \ | ||
gcc-arm-linux-gnueabihf qemu-user | ||
|
||
RUN curl https://www.musl-libc.org/releases/musl-1.1.16.tar.gz | tar xzf - | ||
WORKDIR /musl-1.1.16 | ||
RUN CC=arm-linux-gnueabihf-gcc \ | ||
CFLAGS="-march=armv6 -marm" \ | ||
./configure --prefix=/musl-arm --enable-wrapper=yes | ||
RUN make install -j4 | ||
|
||
# Install linux kernel headers sanitized for use with musl | ||
RUN \ | ||
curl -L https://github.com/sabotage-linux/kernel-headers/archive/v3.12.6-5.tar.gz | \ | ||
tar xzf - && \ | ||
cd kernel-headers-3.12.6-5 && \ | ||
make ARCH=arm prefix=/musl-arm install -j4 && \ | ||
cd .. && \ | ||
rm -rf kernel-headers-3.12.6-5 | ||
ENV PATH=$PATH:/musl-arm/bin:/rust/bin \ | ||
CC_arm_unknown_linux_musleabihf=musl-gcc \ | ||
CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=musl-gcc \ | ||
CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_RUNNER="qemu-arm -L /musl-arm" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
9029cfb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know whether it was intended, but this commit changed libc's ABI. The symbols
SYS_memfd_create
,SYS_gettid
,SYS_perf_event_open
andSYS_pivot_root
all changed from signed to unsigned.9029cfb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No that was not intended