Skip to content

Commit be5969b

Browse files
author
Jorge Aparicio
committed
aarch64: test against Ubuntu 16.04
also "backport" two glibc fixes: - ipc_perm.mode is c_uint. [commit][1] [discussion][2] - bump SIGSTKSZ to 16384. [commit][3] [discussion][4] so libc-test passes. [1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=5c40c3bab2 [2]: https://www.sourceware.org/ml/libc-alpha/2014-10/msg00446.html [3]: https://sourceware.org/git/?p=glibc.git;a=commit;h=b763f6ae859ecea70a5dacb8ad45c71d5f667e2e [4]: https://sourceware.org/ml/libc-alpha/2015-04/msg00033.html closes rust-lang#231
1 parent b56add3 commit be5969b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

ci/docker/aarch64-unknown-linux-gnu/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:14.04
1+
FROM ubuntu:16.04
22
RUN apt-get update
33
RUN apt-get install -y --no-install-recommends \
44
gcc libc6-dev ca-certificates \

src/unix/notbsd/linux/other/b64/aarch64.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ s! {
6060
pub gid: ::gid_t,
6161
pub cuid: ::uid_t,
6262
pub cgid: ::gid_t,
63-
pub mode: ::c_ushort,
64-
__pad1: ::c_ushort,
63+
pub mode: ::c_uint,
6564
pub __seq: ::c_ushort,
66-
__pad2: ::c_ushort,
65+
__pad1: ::c_ushort,
6766
__unused1: ::c_ulong,
6867
__unused2: ::c_ulong
6968
}
@@ -110,7 +109,7 @@ pub const SYS_perf_event_open: ::c_long = 241;
110109
pub const MCL_CURRENT: ::c_int = 0x0001;
111110
pub const MCL_FUTURE: ::c_int = 0x0002;
112111

113-
pub const SIGSTKSZ: ::size_t = 8192;
112+
pub const SIGSTKSZ: ::size_t = 16384;
114113
pub const CBAUD: ::tcflag_t = 0o0010017;
115114
pub const TAB1: ::c_int = 0x00000800;
116115
pub const TAB2: ::c_int = 0x00001000;

0 commit comments

Comments
 (0)