Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update liblibc #51864

Merged
merged 1 commit into from
Jul 2, 2018
Merged

Update liblibc #51864

merged 1 commit into from
Jul 2, 2018

Conversation

est31
Copy link
Member

@est31 est31 commented Jun 28, 2018

This updates the libc submodule

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive
Copy link
Collaborator

warning Warning warning

  • These commits modify submodules.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 28, 2018
@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Jun 28, 2018

📌 Commit 64f8e3b has been approved by alexcrichton

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 28, 2018
@est31
Copy link
Member Author

est31 commented Jun 29, 2018

Oh sorry I need to ask for re-r+ because I've accidentially pushed something to this PR that I didn't want to push.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Jun 29, 2018

📌 Commit 64f8e3b has been approved by alexcrichton

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jun 30, 2018
Update liblibc

This updates the libc submodule
kennytm added a commit to kennytm/rust that referenced this pull request Jun 30, 2018
Update liblibc

This updates the libc submodule
@bors
Copy link
Contributor

bors commented Jul 1, 2018

⌛ Testing commit 64f8e3b with merge 51de44c3462884850f08a959dec081feffef23a3...

@bors
Copy link
Contributor

bors commented Jul 1, 2018

💔 Test failed - status-travis

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 1, 2018
@rust-highfive
Copy link
Collaborator

The job dist-various-1 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[01:08:33]    Compiling panic_unwind v0.0.0 (file:///checkout/src/libpanic_unwind)
[01:08:33] [RUSTC-TIMING] panic_unwind test:false 0.250
[01:08:34] warning: dropping unsupported crate type `dylib` for target `aarch64-unknown-linux-musl`
[01:08:34] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:207:40
[01:08:35]     |
[01:08:35] 207 |         self.inner.set_timeout(dur, c::SO_RCVTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:211:40
[01:08:35]     |
[01:08:35] 211 |         self.inner.set_timeout(dur, c::SO_SNDTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:215:31
[01:08:35]     |
[01:08:35] 215 |         self.inner.timeout(c::SO_RCVTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:219:31
[01:08:35]     |
[01:08:35] 219 |         self.inner.timeout(c::SO_SNDTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:464:40
[01:08:35]     |
[01:08:35] 464 |         self.inner.set_timeout(dur, c::SO_RCVTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:468:40
[01:08:35]     |
[01:08:35] 468 |         self.inner.set_timeout(dur, c::SO_SNDTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:472:31
[01:08:35]     |
[01:08:35] 472 |         self.inner.timeout(c::SO_RCVTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:476:31
[01:08:35]     |
[01:08:35] 476 |         self.inner.timeout(c::SO_SNDTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `libc`
[01:08:35]     |
[01:08:35]     |
[01:08:35] 424 |         self.0.set_timeout(timeout, libc::SO_RCVTIMEO)
[01:08:35]     |                                           ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `libc`
[01:08:35]     |
[01:08:35]     |
[01:08:35] 463 |         self.0.set_timeout(timeout, libc::SO_SNDTIMEO)
[01:08:35]     |                                           ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `libc`
[01:08:35]     |
[01:08:35]     |
[01:08:35] 480 |         self.0.timeout(libc::SO_RCVTIMEO)
[01:08:35]     |                              ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `libc`
[01:08:35]     |
[01:08:35]     |
[01:08:35] 497 |         self.0.timeout(libc::SO_SNDTIMEO)
[01:08:35]     |                              ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `libc`
[01:08:35]      |
[01:08:35]      |
[01:08:35] 1318 |         self.0.set_timeout(timeout, libc::SO_RCVTIMEO)
[01:08:35]      |                                           ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `libc`
[01:08:35]      |
[01:08:35]      |
[01:08:35] 1358 |         self.0.set_timeout(timeout, libc::SO_SNDTIMEO)
[01:08:35]      |                                           ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `libc`
[01:08:35]      |
[01:08:35]      |
[01:08:35] 1375 |         self.0.timeout(libc::SO_RCVTIMEO)
[01:08:35]      |                              ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `libc`
[01:08:35]      |
[01:08:35]      |
[01:08:35] 1393 |         self.0.timeout(libc::SO_SNDTIMEO)
[01:08:35]      |                              ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find function `ioctl` in module `libc`
[01:08:35]    --> libstd/sys/unix/fd.rs:172:23
[01:08:35]     |
[01:08:35] 172 |             cvt(libc::ioctl(self.fd, libc::FIOCLEX))?;
[01:08:35]     |                       ^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `FIOCLEX` in module `libc`
[01:08:35]    --> libstd/sys/unix/fd.rs:172:44
[01:08:35]     |
[01:08:35] 172 |             cvt(libc::ioctl(self.fd, libc::FIOCLEX))?;
[01:08:35]     |                                            ^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find function `ioctl` in module `libc`
[01:08:35]    --> libstd/sys/unix/fd.rs:197:23
[01:08:35]     |
[01:08:35] 197 |             cvt(libc::ioctl(self.fd, libc::FIONBIO, &v))?;
[01:08:35]     |                       ^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `FIONBIO` in module `libc`
[01:08:35]    --> libstd/sys/unix/fd.rs:197:44
[01:08:35]     |
[01:08:35] 197 |             cvt(libc::ioctl(self.fd, libc::FIONBIO, &v))?;
[01:08:35]     |                                            ^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find function `ioctl` in module `libc`
[01:08:35]    --> libstd/sys/unix/net.rs:343:28
[01:08:35]     |
[01:08:35] 343 |         cvt(unsafe { libc::ioctl(*self.as_inner(), libc::FIONBIO, &mut nonblocking) }).map(|_| ())
[01:08:35]     |                            ^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `FIONBIO` in module `libc`
[01:08:35]    --> libstd/sys/unix/net.rs:343:58
[01:08:35]     |
[01:08:35] 343 |         cvt(unsafe { libc::ioctl(*self.as_inner(), libc::FIONBIO, &mut nonblocking) }).map(|_| ())
[01:08:35]     |                                                          ^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `EDEADLK` in module `libc`
[01:08:35]   --> libstd/sys/unix/rwlock.rs:55:30
[01:08:35]    |
[01:08:35] 55 |         } else if r == libc::EDEADLK || *self.write_locked.get() {
[01:08:35]    |                              ^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `EDEADLK` in module `libc`
[01:08:35]   --> libstd/sys/unix/rwlock.rs:85:23
[01:08:35]    |
[01:08:35] 85 |         if r == libc::EDEADLK || *self.write_locked.get() ||
[01:08:35]    |                       ^^^^^^^ not found in `libc`
[01:08:38] error: aborting due to 24 previous errors
[01:08:38] 
[01:08:38] For more information about this error, try `rustc --explain E0425`.
[01:08:38] [RUSTC-TIMING] std test:false 4.175
[01:08:38] [RUSTC-TIMING] std test:false 4.175
[01:08:38] error: Could not compile `std`.
[01:08:38] 
[01:08:38] Caused by:
[01:08:38]   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name std libstd/lib.rs --color always --error-format json --crate-type dylib --crate-type rlib --emit=dep-info,link -C prefer-dynamic -C opt-level=2 --cfg feature="alloc_jemalloc" --cfg feature="backtrace" --cfg feature="jemalloc" --cfg feature="panic-unwind" --cfg feature="panic_unwind" -C metadata=8ecd72a8635f5f48 -C extra-filename=-8ecd72a8635f5f48 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps --target aarch64-unknown-linux-musl -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/release/deps --extern alloc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/liballoc-2538efb8522c896b.rlib --extern alloc_jemalloc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/liballoc_jemalloc-dd30d28b8f1d14a9.rlib --extern alloc_system=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/liballoc_system-3474249dfd3c4c58.rlib --extern compiler_builtins=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libcompiler_builtins-734f92474a6cc952.rlib --extern core=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libcore-1dcda79bae251168.rlib --extern libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/liblibc-ce7dab0934a9b53a.rlib --extern panic_abort=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libpanic_abort-40a7ce45480295bf.rlib --extern panic_unwind=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libpanic_unwind-709dada791787b4c.rlib --extern std_unicode=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libstd_unicode-9fe0942f24dee1ce.rlib --extern unwind=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libunwind-cbdda41b07e5aa27.rlib -L native=/checkout/obj/build/aarch64-unknown-linux-musl/native/libbacktrace/ -L native=/checkout/obj/build/aarch64-unknown-linux-musl/native/libbacktrace -l static=backtrace -l static=backtrace -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/build/compiler_builtins-aa3c08f519bcf6c6/out -L native=/checkout/obj/build/aarch64-unknown-linux-musl/native/jemalloc/lib` (exit code: 101)
[01:08:38] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "aarch64-unknown-linux-musl" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind jemalloc backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "--message-format" "json"
[01:08:38] expected success, got: exit code: 101
[01:08:38] thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9
[01:08:38] travis_fold:end:stage2-std

[01:08:38] travis_time:end:stage2-std:start=1530415115222550213,finish=1530415169223333303,duration=54000783090

---
travis_time:end:1202ff70:start=1530415171368422462,finish=1530415171384517591,duration=16095129
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:00481e3a
$ head -30 ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
head: cannot open ‘./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers’ for reading: No such file or directory
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:04381820
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

1 similar comment
@rust-highfive
Copy link
Collaborator

The job dist-various-1 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[01:08:33]    Compiling panic_unwind v0.0.0 (file:///checkout/src/libpanic_unwind)
[01:08:33] [RUSTC-TIMING] panic_unwind test:false 0.250
[01:08:34] warning: dropping unsupported crate type `dylib` for target `aarch64-unknown-linux-musl`
[01:08:34] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:207:40
[01:08:35]     |
[01:08:35] 207 |         self.inner.set_timeout(dur, c::SO_RCVTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:211:40
[01:08:35]     |
[01:08:35] 211 |         self.inner.set_timeout(dur, c::SO_SNDTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:215:31
[01:08:35]     |
[01:08:35] 215 |         self.inner.timeout(c::SO_RCVTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:219:31
[01:08:35]     |
[01:08:35] 219 |         self.inner.timeout(c::SO_SNDTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:464:40
[01:08:35]     |
[01:08:35] 464 |         self.inner.set_timeout(dur, c::SO_RCVTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:468:40
[01:08:35]     |
[01:08:35] 468 |         self.inner.set_timeout(dur, c::SO_SNDTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:472:31
[01:08:35]     |
[01:08:35] 472 |         self.inner.timeout(c::SO_RCVTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `c`
[01:08:35]    --> libstd/sys_common/net.rs:476:31
[01:08:35]     |
[01:08:35] 476 |         self.inner.timeout(c::SO_SNDTIMEO)
[01:08:35] 
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `libc`
[01:08:35]     |
[01:08:35]     |
[01:08:35] 424 |         self.0.set_timeout(timeout, libc::SO_RCVTIMEO)
[01:08:35]     |                                           ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `libc`
[01:08:35]     |
[01:08:35]     |
[01:08:35] 463 |         self.0.set_timeout(timeout, libc::SO_SNDTIMEO)
[01:08:35]     |                                           ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `libc`
[01:08:35]     |
[01:08:35]     |
[01:08:35] 480 |         self.0.timeout(libc::SO_RCVTIMEO)
[01:08:35]     |                              ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `libc`
[01:08:35]     |
[01:08:35]     |
[01:08:35] 497 |         self.0.timeout(libc::SO_SNDTIMEO)
[01:08:35]     |                              ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `libc`
[01:08:35]      |
[01:08:35]      |
[01:08:35] 1318 |         self.0.set_timeout(timeout, libc::SO_RCVTIMEO)
[01:08:35]      |                                           ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `libc`
[01:08:35]      |
[01:08:35]      |
[01:08:35] 1358 |         self.0.set_timeout(timeout, libc::SO_SNDTIMEO)
[01:08:35]      |                                           ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_RCVTIMEO` in module `libc`
[01:08:35]      |
[01:08:35]      |
[01:08:35] 1375 |         self.0.timeout(libc::SO_RCVTIMEO)
[01:08:35]      |                              ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `SO_SNDTIMEO` in module `libc`
[01:08:35]      |
[01:08:35]      |
[01:08:35] 1393 |         self.0.timeout(libc::SO_SNDTIMEO)
[01:08:35]      |                              ^^^^^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find function `ioctl` in module `libc`
[01:08:35]    --> libstd/sys/unix/fd.rs:172:23
[01:08:35]     |
[01:08:35] 172 |             cvt(libc::ioctl(self.fd, libc::FIOCLEX))?;
[01:08:35]     |                       ^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `FIOCLEX` in module `libc`
[01:08:35]    --> libstd/sys/unix/fd.rs:172:44
[01:08:35]     |
[01:08:35] 172 |             cvt(libc::ioctl(self.fd, libc::FIOCLEX))?;
[01:08:35]     |                                            ^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find function `ioctl` in module `libc`
[01:08:35]    --> libstd/sys/unix/fd.rs:197:23
[01:08:35]     |
[01:08:35] 197 |             cvt(libc::ioctl(self.fd, libc::FIONBIO, &v))?;
[01:08:35]     |                       ^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `FIONBIO` in module `libc`
[01:08:35]    --> libstd/sys/unix/fd.rs:197:44
[01:08:35]     |
[01:08:35] 197 |             cvt(libc::ioctl(self.fd, libc::FIONBIO, &v))?;
[01:08:35]     |                                            ^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find function `ioctl` in module `libc`
[01:08:35]    --> libstd/sys/unix/net.rs:343:28
[01:08:35]     |
[01:08:35] 343 |         cvt(unsafe { libc::ioctl(*self.as_inner(), libc::FIONBIO, &mut nonblocking) }).map(|_| ())
[01:08:35]     |                            ^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `FIONBIO` in module `libc`
[01:08:35]    --> libstd/sys/unix/net.rs:343:58
[01:08:35]     |
[01:08:35] 343 |         cvt(unsafe { libc::ioctl(*self.as_inner(), libc::FIONBIO, &mut nonblocking) }).map(|_| ())
[01:08:35]     |                                                          ^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `EDEADLK` in module `libc`
[01:08:35]   --> libstd/sys/unix/rwlock.rs:55:30
[01:08:35]    |
[01:08:35] 55 |         } else if r == libc::EDEADLK || *self.write_locked.get() {
[01:08:35]    |                              ^^^^^^^ not found in `libc`
[01:08:35] 
[01:08:35] error[E0425]: cannot find value `EDEADLK` in module `libc`
[01:08:35]   --> libstd/sys/unix/rwlock.rs:85:23
[01:08:35]    |
[01:08:35] 85 |         if r == libc::EDEADLK || *self.write_locked.get() ||
[01:08:35]    |                       ^^^^^^^ not found in `libc`
[01:08:38] error: aborting due to 24 previous errors
[01:08:38] 
[01:08:38] For more information about this error, try `rustc --explain E0425`.
[01:08:38] [RUSTC-TIMING] std test:false 4.175
[01:08:38] [RUSTC-TIMING] std test:false 4.175
[01:08:38] error: Could not compile `std`.
[01:08:38] 
[01:08:38] Caused by:
[01:08:38]   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name std libstd/lib.rs --color always --error-format json --crate-type dylib --crate-type rlib --emit=dep-info,link -C prefer-dynamic -C opt-level=2 --cfg feature="alloc_jemalloc" --cfg feature="backtrace" --cfg feature="jemalloc" --cfg feature="panic-unwind" --cfg feature="panic_unwind" -C metadata=8ecd72a8635f5f48 -C extra-filename=-8ecd72a8635f5f48 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps --target aarch64-unknown-linux-musl -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/release/deps --extern alloc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/liballoc-2538efb8522c896b.rlib --extern alloc_jemalloc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/liballoc_jemalloc-dd30d28b8f1d14a9.rlib --extern alloc_system=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/liballoc_system-3474249dfd3c4c58.rlib --extern compiler_builtins=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libcompiler_builtins-734f92474a6cc952.rlib --extern core=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libcore-1dcda79bae251168.rlib --extern libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/liblibc-ce7dab0934a9b53a.rlib --extern panic_abort=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libpanic_abort-40a7ce45480295bf.rlib --extern panic_unwind=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libpanic_unwind-709dada791787b4c.rlib --extern std_unicode=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libstd_unicode-9fe0942f24dee1ce.rlib --extern unwind=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/deps/libunwind-cbdda41b07e5aa27.rlib -L native=/checkout/obj/build/aarch64-unknown-linux-musl/native/libbacktrace/ -L native=/checkout/obj/build/aarch64-unknown-linux-musl/native/libbacktrace -l static=backtrace -l static=backtrace -L native=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-std/aarch64-unknown-linux-musl/release/build/compiler_builtins-aa3c08f519bcf6c6/out -L native=/checkout/obj/build/aarch64-unknown-linux-musl/native/jemalloc/lib` (exit code: 101)
[01:08:38] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "aarch64-unknown-linux-musl" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind jemalloc backtrace" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "--message-format" "json"
[01:08:38] expected success, got: exit code: 101
[01:08:38] thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9
[01:08:38] travis_fold:end:stage2-std

[01:08:38] travis_time:end:stage2-std:start=1530415115222550213,finish=1530415169223333303,duration=54000783090

---
travis_time:end:1202ff70:start=1530415171368422462,finish=1530415171384517591,duration=16095129
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:00481e3a
$ head -30 ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
head: cannot open ‘./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers’ for reading: No such file or directory
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:04381820
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@est31
Copy link
Member Author

est31 commented Jul 1, 2018

Seems that libc master is broken due to rust-lang/libc@dcff154. Trying a fix...

@est31 est31 changed the title Update liblibc [WIP] Update liblibc Jul 1, 2018
@rust-highfive
Copy link
Collaborator

Your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
[00:00:07] Submodule path 'src/libcompiler_builtins': checked out '4cfd7101eb549169cdaeda5313f7c39415b9d736'
[00:00:07] Submodule 'compiler-rt' (https://github.com/rust-lang/compiler-rt) registered for path 'src/libcompiler_builtins/compiler-rt'
[00:00:07] Cloning into '/home/travis/build/rust-lang/rust/src/libcompiler_builtins/compiler-rt'...
[00:00:11] Submodule path 'src/libcompiler_builtins/compiler-rt': checked out 'dfd960b5f1a1751b22738fa34fd27b583f4618db'
[00:00:11] error: Server does not allow request for unadvertised object 90c01fa6b0f45c63dc19aa75cd39b38d2de5e98b
[00:00:11] Fetched in submodule path 'src/liblibc', but it did not contain 90c01fa6b0f45c63dc19aa75cd39b38d2de5e98b. Direct fetching of that commit failed.
[00:00:12] Cleared directory 'src/dlmalloc'
[00:00:12] Submodule 'src/dlmalloc' (https://github.com/alexcrichton/dlmalloc-rs.git) unregistered for path 'src/dlmalloc'
[00:00:12] Cleared directory 'src/doc/nomicon'
[00:00:12] Submodule 'src/doc/nomicon' (https://github.com/rust-lang-nursery/nomicon.git) unregistered for path 'src/doc/nomicon'
---
[00:00:13] Submodule path 'src/jemalloc': checked out '1f5a28755e301ac581e2048011e4e0ff3da482ef'
[00:00:13] Submodule path 'src/libbacktrace': checked out 'f4d02bbdbf8a2c5a31f0801dfef597a86caad9e3'
[00:00:13] Submodule path 'src/libcompiler_builtins': checked out '4cfd7101eb549169cdaeda5313f7c39415b9d736'
[00:00:13] Submodule path 'src/libcompiler_builtins/compiler-rt': checked out 'dfd960b5f1a1751b22738fa34fd27b583f4618db'
[00:00:14] error: Server does not allow request for unadvertised object 90c01fa6b0f45c63dc19aa75cd39b38d2de5e98b
[00:00:14] Fetched in submodule path 'src/liblibc', but it did not contain 90c01fa6b0f45c63dc19aa75cd39b38d2de5e98b. Direct fetching of that commit failed.
[00:00:16] Cleared directory 'src/dlmalloc'
[00:00:16] Submodule 'src/dlmalloc' (https://github.com/alexcrichton/dlmalloc-rs.git) unregistered for path 'src/dlmalloc'
[00:00:16] Cleared directory 'src/doc/nomicon'
[00:00:16] Submodule 'src/doc/nomicon' (https://github.com/rust-lang-nursery/nomicon.git) unregistered for path 'src/doc/nomicon'
---
[00:00:17] Submodule path 'src/jemalloc': checked out '1f5a28755e301ac581e2048011e4e0ff3da482ef'
[00:00:17] Submodule path 'src/libbacktrace': checked out 'f4d02bbdbf8a2c5a31f0801dfef597a86caad9e3'
[00:00:17] Submodule path 'src/libcompiler_builtins': checked out '4cfd7101eb549169cdaeda5313f7c39415b9d736'
[00:00:17] Submodule path 'src/libcompiler_builtins/compiler-rt': checked out 'dfd960b5f1a1751b22738fa34fd27b583f4618db'
[00:00:18] error: Server does not allow request for unadvertised object 90c01fa6b0f45c63dc19aa75cd39b38d2de5e98b
[00:00:18] Fetched in submodule path 'src/liblibc', but it did not contain 90c01fa6b0f45c63dc19aa75cd39b38d2de5e98b. Direct fetching of that commit failed.
[00:00:21] Cleared directory 'src/dlmalloc'
[00:00:21] Submodule 'src/dlmalloc' (https://github.com/alexcrichton/dlmalloc-rs.git) unregistered for path 'src/dlmalloc'
[00:00:21] Cleared directory 'src/doc/nomicon'
[00:00:21] Submodule 'src/doc/nomicon' (https://github.com/rust-lang-nursery/nomicon.git) unregistered for path 'src/doc/nomicon'
---
[00:00:21] Submodule path 'src/jemalloc': checked out '1f5a28755e301ac581e2048011e4e0ff3da482ef'
[00:00:21] Submodule path 'src/libbacktrace': checked out 'f4d02bbdbf8a2c5a31f0801dfef597a86caad9e3'
[00:00:21] Submodule path 'src/libcompiler_builtins': checked out '4cfd7101eb549169cdaeda5313f7c39415b9d736'
[00:00:22] Submodule path 'src/libcompiler_builtins/compiler-rt': checked out 'dfd960b5f1a1751b22738fa34fd27b583f4618db'
[00:00:23] error: Server does not allow request for unadvertised object 90c01fa6b0f45c63dc19aa75cd39b38d2de5e98b
[00:00:23] Fetched in submodule path 'src/liblibc', but it did not contain 90c01fa6b0f45c63dc19aa75cd39b38d2de5e98b. Direct fetching of that commit failed.
[00:00:27] Cleared directory 'src/dlmalloc'
[00:00:27] Submodule 'src/dlmalloc' (https://github.com/alexcrichton/dlmalloc-rs.git) unregistered for path 'src/dlmalloc'
[00:00:27] Cleared directory 'src/doc/nomicon'
[00:00:27] Submodule 'src/doc/nomicon' (https://github.com/rust-lang-nursery/nomicon.git) unregistered for path 'src/doc/nomicon'

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

bors added a commit to rust-lang/libc that referenced this pull request Jul 1, 2018
Re-add aarch64 stuff removed by previous PR

Previous PR #1023 has removed stuff from mod.rs and added it to some submodules, but
missed the aarch64 submodule.

This caused a build failure for rust on aarch64, see rust-lang/rust#51864.

This copies the stuff that that commit added to the x86_64.rs submodule
and puts it into aarch64.rs.

It's been tested in the rust-lang/rust PR above: https://travis-ci.org/rust-lang/rust/builds/398750336
@est31 est31 changed the title [WIP] Update liblibc Update liblibc Jul 1, 2018
@est31
Copy link
Member Author

est31 commented Jul 1, 2018

re-r? @alexcrichton

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Jul 1, 2018

📌 Commit e8e8bb6 has been approved by alexcrichton

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 1, 2018
@bors
Copy link
Contributor

bors commented Jul 2, 2018

⌛ Testing commit e8e8bb6 with merge 5df4311...

bors added a commit that referenced this pull request Jul 2, 2018
Update liblibc

This updates the libc submodule
@bors
Copy link
Contributor

bors commented Jul 2, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 5df4311 to master...

@bors bors merged commit e8e8bb6 into rust-lang:master Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants