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

Add some groundwork for cross-language LTO. #50000

Merged
merged 12 commits into from
May 7, 2018

Conversation

michaelwoerister
Copy link
Member

Implements part of #49879:

  • Adds a -Z cross-lang-lto flag to rustc
  • Makes sure that bitcode is embedded in object files if the flag is set.

This should already allow for using cross language LTO for staticlibs (where one has to invoke the linker manually anyway). However, rustc will not try to enable LTO for its own linker invocations yet.

r? @alexcrichton

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 16, 2018
@rust-highfive

This comment has been minimized.

@alexcrichton
Copy link
Member

@bors: r+

Looks great!

@bors
Copy link
Contributor

bors commented Apr 16, 2018

📌 Commit 0869f7b 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 Apr 16, 2018
@rust-highfive

This comment has been minimized.

@michaelwoerister
Copy link
Member Author

@bors r- (travis failing)

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 16, 2018
@michaelwoerister
Copy link
Member Author

@rust-lang/infra, llvm-objdump does not seem to be built by default. Can I just add it? And if so, how?

@alexcrichton
Copy link
Member

I think that llvm-objdump is probably already compiled it's just not in PATH I think? It shoudl be fine though to tweak rustbuild to put the llvm bin dir in PATH when invoking compiletest

@kennytm
Copy link
Member

kennytm commented Apr 16, 2018

I can find llvm-objdump in ./build/<target>/llvm/bin/llvm-objdump.

@michaelwoerister
Copy link
Member Author

I'm calling it like this:

OBJDUMP=$(HOST_RPATH_DIR)/../../llvm/bin/llvm-objdump

So it should not need to be in PATH?

@michaelwoerister
Copy link
Member Author

Oh, but maybe we are not building LLVM ourselves in all cases?

@rust-highfive

This comment has been minimized.

@rust-highfive

This comment has been minimized.

@michaelwoerister
Copy link
Member Author

@bors r=alexcrichton

@bors
Copy link
Contributor

bors commented Apr 17, 2018

📌 Commit 56df629 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 17, 2018
@bors
Copy link
Contributor

bors commented Apr 18, 2018

☔ The latest upstream changes (presumably #49972) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 18, 2018
@michaelwoerister
Copy link
Member Author

Rebased.

@bors r=alexcrichton

@bors
Copy link
Contributor

bors commented Apr 19, 2018

📌 Commit 34d58d7 has been approved by alexcrichton

@bors bors added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 4, 2018
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-3.9 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.
[00:01:42] warning: spurious network error (1 tries remaining): failed to get 200 response from `https://crates.io/api/v1/crates/filetime/0.1.15/download`, got 500
[00:01:52] error: unable to get packages from source
[00:01:52] 
[00:01:52] Caused by:
[00:01:52]   failed to get 200 response from `https://crates.io/api/v1/crates/filetime/0.1.15/download`, got 500
[00:01:52] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:01:52] Build completed unsuccessfully in 0:01:04
[00:01:52] Makefile:81: recipe for target 'prepare' failed
[00:01:52] make: *** [prepare] Error 1
[00:01:52]  Downloading petgraph v0.4.12
[00:01:52]  Downloading petgraph v0.4.12
[00:02:02] warning: spurious network error (2 tries remaining): failed to get 200 response from `https://crates.io/api/v1/crates/petgraph/0.4.12/download`, got 500
[00:02:12] warning: spurious network error (1 tries remaining): failed to get 200 response from `https://crates.io/api/v1/crates/petgraph/0.4.12/download`, got 500
[00:02:22] error: unable to get packages from source
[00:02:22] Caused by:
[00:02:22] Caused by:
[00:02:22]   failed to get 200 response from `https://crates.io/api/v1/crates/petgraph/0.4.12/download`, got 500
[00:02:22] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:02:22] Build completed unsuccessfully in 0:00:30
[00:02:22] make: *** [prepare] Error 1
[00:02:22] Makefile:81: recipe for target 'prepare' failed
[00:02:23]  Downloading serde_json v1.0.15
[00:02:33] warning: spurious network error (2 tries remaining): failed to get 200 response from `https://crates.io/api/v1/crates/serde_json/1.0.15/download`, got 500
[00:02:43] warning: spurious network error (1 tries remaining): failed to get 200 response from `https://crates.io/api/v1/crates/serde_json/1.0.15/download`, got 500
[00:02:53] error: unable to get packages from source
[00:02:53] error: unable to get packages from source
[00:02:53] 
[00:02:53] Caused by:
[00:02:53]   failed to get 200 response from `https://crates.io/api/v1/crates/serde_json/1.0.15/download`, got 500
[00:02:53] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:02:53] Build completed unsuccessfully in 0:00:30
[00:02:53] make: *** [prepare] Error 1
[00:02:53] Makefile:81: recipe for target 'prepare' failed
[00:02:54]  Downloading filetime v0.1.15
[00:03:04] warning: spurious network error (2 tries remaining): failed to get 200 response from `https://crates.io/api/v1/crates/filetime/0.1.15/download`, got 500
[00:03:14] warning: spurious network error (1 tries remaining): failed to get 200 response from `https://crates.io/api/v1/crates/filetime/0.1.15/download`, got 500
[00:03:24] error: unable to get packages from source
[00:03:24] error: unable to get packages from source
[00:03:24] 
[00:03:24] Caused by:
[00:03:24]   failed to get 200 response from `https://crates.io/api/v1/crates/filetime/0.1.15/download`, got 500
[00:03:24] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:03:24] Build completed unsuccessfully in 0:00:30
[00:03:24] Makefile:81: recipe for target 'prepare' failed
[00:03:24] make: *** [prepare] Error 1
[00:03:25]  Downloading lazy_static v0.2.11
[00:03:35] warning: spurious network error (2 tries remaining): failed to get 200 response from `https://crates.io/api/v1/crates/lazy_static/0.2.11/download`, got 500
[00:03:45] warning: spurious network error (1 tries remaining): failed to get 200 response from `https://crates.io/api/v1/crates/lazy_static/0.2.11/download`, got 500
[00:03:55] error: unable to get packages from source
[00:03:55] error: unable to get packages from source
[00:03:55] 
[00:03:55] Caused by:
[00:03:55]   failed to get 200 response from `https://crates.io/api/v1/crates/lazy_static/0.2.11/download`, got 500
[00:03:55] failed to run: /checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /checkout/src/bootstrap/Cargo.toml --locked
[00:03:55] Build completed unsuccessfully in 0:00:30
[00:03:55] make: *** [prepare] Error 1
[00:03:55] Makefile:81: recipe for target 'prepare' failed
[00:03:55] The command has failed after 5 attempts.

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 1.
travis_time:start:2801c718
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)

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)

@retep998
Copy link
Member

retep998 commented May 4, 2018

That's a blatantly spurious error.

@kennytm
Copy link
Member

kennytm commented May 4, 2018

@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 May 4, 2018
@bors
Copy link
Contributor

bors commented May 4, 2018

⌛ Testing commit d0253ad with merge 836c35b...

bors added a commit that referenced this pull request May 4, 2018
Add some groundwork for cross-language LTO.

Implements part of #49879:
- Adds a `-Z cross-lang-lto` flag to rustc
- Makes sure that bitcode is embedded in object files if the flag is set.

This should already allow for using cross language LTO for staticlibs (where one has to invoke the linker manually anyway). However, `rustc` will not try to enable LTO for its own linker invocations yet.

r? @alexcrichton
@bors
Copy link
Contributor

bors commented May 4, 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 May 4, 2018
@rust-highfive
Copy link
Collaborator

The job x86_64-apple 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.
[00:02:46]       Memory: 8 GB
[00:02:46]       Boot ROM Version: VMW71.00V.0.B64.1704110547
[00:02:46]       Apple ROM Info: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]Welcome to the Virtual Machine
[00:02:46]       SMC Version (system): 2.8f0
[00:02:46]       Serial Number (system): VMTai6v+1Yan
[00:02:46] 
[00:02:46] hw.ncpu: 4
[00:02:46] hw.byteorder: 1234
[00:02:46] hw.memsize: 8589934592
---
[01:36:51] test [run-make] run-make/cross-lang-lto ... FAILED
[01:36:51] 
[01:36:51] failures:
[01:36:51] 
[01:36:51] ---- [run-make] run-make/cross-lang-lto stdout ----
[01:36:51] error: make failed
[01:36:51] status: exit code: 2
[01:36:51] command: "make"
[01:36:51] stdout:
[01:36:51] stdout:
[01:36:51] ------------------------------------------
[01:36:51] DYLD_LIBRARY_PATH="/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib:" '/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/bin/rustc' --out-dir /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin -L /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin  lib.rs -Copt-level=2 -Z cross-lang-lto -Ccodegen-units=1 --crate-type=staticlib -o /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin/liblib.a
[01:36:51] [ "$(llvm-objdump -section-headers /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin/liblib.a | grep -c __LLVM,__bitcode)" -ne "0" ]
[01:36:51] ------------------------------------------
[01:36:51] stderr:
[01:36:51] ------------------------------------------
[01:36:51] ------------------------------------------
[01:36:51] warning: ignoring --out-dir flag due to -o flag
[01:36:51] 
[01:36:51] make[1]: *** [staticlib] Error 1
[01:36:51] ------------------------------------------
[01:36:51] 
[01:36:51] 
[01:36:51] thread '[run-make] run-make/cross-lang-lto' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:2967:9
[01:36:51] 
[01:36:51] 
[01:36:51] failures:
[01:36:51]     [run-make] run-make/cross-lang-lto
[01:36:51]     [run-make] run-make/cross-lang-lto
[01:36:51] 
[01:36:51] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
[01:36:51] 
[01:36:51] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:488:22
[01:36:51] 
[01:36:51] 
[01:36:51] command did not execute successfully: "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage0-tools-bin/compiletest" "--compile-lib-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib" "--run-lib-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib" "--rustc-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/bin/rustc" "--src-base" "/Users/travis/build/rust-lang/rust/src/test/run-make" "--build-base" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make" "--stage-id" "stage2-x86_64-apple-darwin" "--mode" "run-make" "--target" "x86_64-apple-darwin" "--host" "x86_64-apple-darwin" "--llvm-filecheck" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/bin/FileCheck" "--nodejs" "/Users/travis/.nvm/versions/node/v6.12.3/bin/node" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "--docck-python" "/usr/local/opt/python/bin/python2.7" "--lldb-python" "/usr/bin/python" "--lldb-version" "lldb-902.0.73.1" "--lldb-python-dir" "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" "--llvm-version" "6.0.0\n" "--cc" "cc" "--cxx" "c++" "--cflags" "-ffunction-sections -fdata-sections -fPIC -m64 -stdlib=libc++" "--llvm-components" "aarch64 aarch64asmparser aarch64asmprinter aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils all all-targets analysis arm armasmparser armasmprinter armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter binaryformat bitreader bitwriter codegen core coroutines coverage debuginfocodeview debuginfodwarf debuginfomsf debuginfopdb demangle dlltooldriver engine executionengine fuzzmutate globalisel gtest gtest_main hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo instcombine instrumentation interpreter ipo irreader libdriver lineeditor linker lto mc mcdisassembler mcjit mcparser mips mipsasmparser mipsasmprinter mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmprinter msp430codegen msp430desc msp430info native nativecodegen nvptx nvptxasmprinter nvptxcodegen nvptxdesc nvptxinfo objcarcopts object objectyaml option orcjit passes powerpc powerpcasmparser powerpcasmprinter powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata runtimedyld scalaropts selectiondag sparc sparcasmparser sparcasmprinter sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzasmprinter systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target testingsupport transformutils vectorize webassembly webassemblyasmprinter webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo windowsmanifest x86 x86asmparser x86asmprinter x86codegen x86desc x86disassembler x86info x86utils" "--llvm-cxxflags" "-I/Users/travis/build/rust-lang/rust/src/llvm/include -I/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/include -ffunction-sections -fdata-sections -fPIC -m64 -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -O3 -DNDEBUG  -fno-exceptions -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" "--ar" "ar" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:36:51] 
[01:36:51] 
[01:36:51] failed to run: /Users/travis/build/rust-lang/rust/build/bootstrap/debug/bootstrap test
[01:36:51] Build completed unsuccessfully in 0:44:36
[01:36:51] Build completed unsuccessfully in 0:44:36
[01:36:51] make: *** [check] Error 1
travis_time:end:274b108b:start=1525465089167755000,finish=1525470900127332000,duration=5810959577000

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1a6f9ed7
---
travis_fold:start:after_failure.2
travis_time:start:1d088478
$ ls -lat $HOME/Library/Logs/DiagnosticReports/
total 1336
drwx------  27 travis  staff    918 May  4 21:54 .
-rw-------@  1 travis  staff  13707 May  4 21:54 overflow_2018-05-04-215443_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1442 May  4 21:54 foo_2018-05-04-215422_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1433 May  4 21:53 m4_2018-05-04-215357_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10689 May  4 21:53 b_2018-05-04-215349_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1444 May  4 21:53 bar_2018-05-04-215349-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1450 May  4 21:53 bar_2018-05-04-215349_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  69157 May  4 21:21 stack-probes-lto.stage2-x86_64-apple-darwin_2018-05-04-212103_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  41180 May  4 21:21 stack-probes-lto.stage2-x86_64-apple-darwin_2018-05-04-212102_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  65216 May  4 21:20 stack-probes.stage2-x86_64-apple-darwin_2018-05-04-212056-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  39976 May  4 21:20 stack-probes.stage2-x86_64-apple-darwin_2018-05-04-212056_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10586 May  4 21:20 simd-target-feature-mixup.stage2-x86_64-apple-darwin_2018-05-04-212045_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10239 May  4 21:20 signal-exit-status.stage2-x86_64-apple-darwin_2018-05-04-212040_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10346 May  4 21:20 segfault-no-out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-212029_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10204 May  4 21:20 running-with-no-runtime.stage2-x86_64-apple-darwin_2018-05-04-212028_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10217 May  4 21:19 lto-abort.stage2-x86_64-apple-darwin_2018-05-04-211957_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  11315 May  4 21:19 abort-link-to-unwinding-crates.stage2-x86_64-apple-darwin_2018-05-04-211953_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10588 May  4 21:19 abort.stage2-x86_64-apple-darwin_2018-05-04-211953_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  67868 May  4 21:19 out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-211945_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  69984 May  4 21:19 out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-211942-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  68744 May  4 21:19 out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-211942-2_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  69107 May  4 21:19 out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-211942_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  12061 May  4 21:17 issue-24313.stage2-x86_64-apple-darwin_2018-05-04-211737_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10537 May  4 21:15 abort-on-c-abi.stage2-x86_64-apple-darwin_2018-05-04-211541_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10847 May  4 21:15 backtrace.stage2-x86_64-apple-darwin_2018-05-04-211541_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10814 May  4 21:15 backtrace.stage2-x86_64-apple-darwin_2018-05-04-211542_Traviss-Mac-1044.crash
drwx------+ 15 travis  staff    510 Jan 25 19:20 ..
travis_fold:end:after_failure.2
travis_fold:start:after_failure.3
travis_time:start:2ed670a8
$ find $HOME/Library/Logs/DiagnosticReports -type f -name '*.crash' -not -name '*.stage2-*.crash' -not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash' -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \; -exec head -750 {} \; -exec echo travis_fold":"end:crashlog \; || true
$ find $HOME/Library/Logs/DiagnosticReports -type f -name '*.crash' -not -name '*.stage2-*.crash' -not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash' -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \; -exec head -750 {} \; -exec echo travis_fold":"end:crashlog \; || true
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/b_2018-05-04-215349_Traviss-Mac-1044.crash
Process:               b [67132]
Path:                  /Users/USER/*/b
Identifier:            b
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [67131]
Responsible:           b [67132]
User ID:               501
Date/Time:             2018-05-04 21:53:48.574 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x4] Symbol missing
Dyld Error Message:
  Symbol not found: __ZN1a3foo17h86fc83d54eca0fb1E
  Referenced from: /Users/USER/*/b
  Expected in: /Users/USER/*/liba.dylib
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld                           0x000000010fb3c216 __abort_with_payload + 10
1   dyld                           0x000000010fb3bb88 abort_with_payload_wrapper_internal + 89
2   dyld                           0x000000010fb3bbb5 abort_with_payload + 9
3   dyld                           0x000000010fb0f482 dyld::halt(char const*) + 354
4   dyld                           0x000000010fb0f5a9 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 170
5   libdyld.dylib                  0x00007fff65a25392 dyld_stub_binder + 282
6   ???                            0x0000000103955008 0 + 4355084296
7   b                              0x0000000103954c6a std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::he61067c6563edefe + 10
8   libstd-d96f8dcdc164c196.dylib  0x000000010399f998 std::panicking::try::do_call::h14450b1e03b3b94c (.llvm.6285729348023951978) + 24
9   libstd-d96f8dcdc164c196.dylib  0x00000001039abe9f __rust_maybe_catch_panic + 31
10  libstd-d96f8dcdc164c196.dylib  0x0000000103981182 std::rt::lang_start_internal::h4035931d4aa7509d + 242
11  b                              0x0000000103954c45 std::rt::lang_start::hf48ef9b0b5cb1e64 + 53
12  b                              0x0000000103954cb5 main + 37
13  libdyld.dylib                  0x00007fff65a25115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000002000209  rbx: 0x0000000000000004  rcx: 0x00007ffeec2a8578  rdx: 0x00007ffeec2a89f0
  rdi: 0x0000000000000006  rsi: 0x0000000000000004  rbp: 0x00007ffeec2a85d0  rsp: 0x00007ffeec2a8578
   r8: 0x00007ffeec2a85f0   r9: 0x0000000000000000  r10: 0x0000000000000144  r11: 0x0000000000000246
  r12: 0x0000000000000144  r13: 0x00007ffeec2a89f0  r14: 0x0000000000000006  r15: 0x0000000000000000
  rip: 0x000000010fb3c216  rfl: 0x0000000000000246  cr2: 0x000000010fb8cfe0
Logical CPU:     0
Error Code:      0x02000209
Trap Number:     133
Binary Images:
       0x103954000 -        0x103954ff7 +b (0) <A58B0699-9950-38C0-B2EC-0D1AC27624C7> /Users/USER/*/b
       0x103957000 -        0x103957fff +liba.dylib (0) <A680594A-00CB-3C2B-B424-1E560A9FB9E7> /Users/USER/*/liba.dylib
       0x10395e000 -        0x103a6ffdf +libstd-d96f8dcdc164c196.dylib (0) <DFD50611-8F8C-3961-A370-679F114C5B26> /Users/USER/*/libstd-d96f8dcdc164c196.dylib
       0x10fb0b000 -        0x10fb5598f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff6328f000 -     0x7fff632c2fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff637a1000 -     0x7fff637a2ff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff63a57000 -     0x7fff63aadfff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff63aae000 -     0x7fff63ad2ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff64e24000 -     0x7fff652153b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff652e2000 -     0x7fff652feffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff658bc000 -     0x7fff658c0ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff658c1000 -     0x7fff658cbff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff658cc000 -     0x7fff658d3fff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff658d4000 -     0x7fff658dcffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff658dd000 -     0x7fff65962fff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff659ea000 -     0x7fff65a23ff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff65a24000 -     0x7fff65a41ff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff65a42000 -     0x7fff65a42ffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff65a50000 -     0x7fff65a50ff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff65a51000 -     0x7fff65a55ffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff65a56000 -     0x7fff65a58ff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff65a59000 -     0x7fff65a5aff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff65a5b000 -     0x7fff65a72fff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff65a73000 -     0x7fff65a73fff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff65a74000 -     0x7fff65afdff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff65afe000 -     0x7fff65b01ffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff65b02000 -     0x7fff65b05ffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff65b06000 -     0x7fff65b07fff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff65b08000 -     0x7fff65b0eff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff65b0f000 -     0x7fff65b58ff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff65b59000 -     0x7fff65b7eff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff65b7f000 -     0x7fff65bcafcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff65bcb000 -     0x7fff65beafff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff65beb000 -     0x7fff65c8fff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff65c90000 -     0x7fff65c9affb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff65c9b000 -     0x7fff65ca4ff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff65ca5000 -     0x7fff65cacff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff65cad000 -     0x7fff65cb8fff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff65cb9000 -     0x7fff65cbcff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff65cbd000 -     0x7fff65cbeff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff65cbf000 -     0x7fff65cc6ff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff65cc7000 -     0x7fff65cdaff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff65cdc000 -     0x7fff65ce1ff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff65ce2000 -     0x7fff65d0eff7  libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib
External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by this process:
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 3680
    thread_create: 0
VM Region Summary:
VM Region Summary:
ReadOnly portion of Libraries: Total=199.0M resident=0K(0%) swapped_out_or_unallocated=199.0M(100%)
Writable regions: Total=75.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=75.5M(100%)
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            9268K       10 
MALLOC guard page                   16K        4 
Stack                             64.0M        2 
Stack Guard                          4K        2 
VM_ALLOCATE                       4100K        4 
VM_ALLOCATE (reserved)             128K        2         reserved VM address space (unallocated)
__DATA                            4304K       46 
__LINKEDIT                       189.1M        6 
__TEXT                             9.9M       45 
===========                     =======  ======= 
TOTAL                            280.4M      115 
TOTAL                            280.4M      115 
TOTAL, minus reserved VM space   280.2M      115 
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/bar_2018-05-04-215349-1_Traviss-Mac-1044.crash
Process:               bar [67352]
Path:                  /Users/USER/*/bar
Identifier:            bar
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [67350]
Responsible:           bar [67352]
User ID:               501
Date/Time:             2018-05-04 21:53:49.616 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/c-static-dylib.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib:
Dyld Error Message:
  Library not loaded: /Users/USER/*/libfoo.dylib
  Referenced from: /Users/USER/*/bar
  Reason: image not found
Binary Images:
       0x1047e6000 -        0x1047e6ff7 +bar (0) <C43CD414-6114-397A-B271-9CE6C9094AE7> /Users/USER/*/bar
       0x105411000 -        0x10545b98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/bar_2018-05-04-215349_Traviss-Mac-1044.crash
Process:               bar [67288]
Path:                  /Users/USER/*/bar
Identifier:            bar
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [67287]
Responsible:           bar [67288]
User ID:               501
Date/Time:             2018-05-04 21:53:49.339 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/c-link-to-rust-dylib.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib:
Dyld Error Message:
  Library not loaded: /Users/USER/*/libfoo.dylib
  Referenced from: /Users/USER/*/bar
  Reason: image not found
Binary Images:
       0x102a30000 -        0x102a30ff7 +bar (0) <00F481FB-E41D-37AA-8DC5-A6F3FD0F43E3> /Users/USER/*/bar
       0x10d506000 -        0x10d55098f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/foo_2018-05-04-215422_Traviss-Mac-1044.crash
Process:               foo [70654]
Path:                  /Users/USER/*/foo
Identifier:            foo
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [70653]
Responsible:           foo [70654]
User ID:               501
Date/Time:             2018-05-04 21:54:21.946 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/prefer-dylib.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib:
Dyld Error Message:
  Library not loaded: /Users/USER/*/libbar.dylib
  Referenced from: /Users/USER/*/foo
  Reason: image not found
Binary Images:
       0x10e08d000 -        0x10e08dff7 +foo (0) <30149AF0-54F3-3032-AC51-783A985EA31D> /Users/USER/*/foo
       0x113ba5000 -        0x113bef98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/m4_2018-05-04-215357_Traviss-Mac-1044.crash
Process:               m4 [68202]
Path:                  /Users/USER/*/m4
Identifier:            m4
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [68201]
Responsible:           m4 [68202]
User ID:               501
Date/Time:             2018-05-04 21:53:57.224 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/dylib-chain.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib:
Dyld Error Message:
  Library not loaded: /Users/USER/*/libm3.dylib
  Referenced from: /Users/USER/*/m4
  Reason: image not found
Binary Images:
       0x10fce8000 -        0x10fce8ff7 +m4 (0) <C68EA376-E34E-327D-89DD-7E35093F4286> /Users/USER/*/m4
       0x111799000 -        0x1117e398f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/overflow_2018-05-04-215443_Traviss-Mac-1044.crash
Process:               overflow [71835]
Path:                  /Users/USER/*/overflow
Identifier:            overflow
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        sh [71834]
Responsible:           overflow [71835]
User ID:               501
Date/Time:             2018-05-04 21:54:31.583 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5900 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Application Specific Information:
=================================================================
==71835==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffeeac9a5f0 at pc 0x000104f65567 bp 0x7ffeeac9a5b0 sp 0x7ffeeac9a5a8
READ of size 4 at 0x7ffeeac9a5f0 thread T0
    #0 0x104f65566 in overflow::main::ha3cd2aa36c57bd27 overflow.rs:13
    #1 0x104f650cd in std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h414ce093b20d43a2 rt.rs:74
    #2 0x104f73f67 in std::panicking::try::do_call::h14450b1e03b3b94c (.llvm.6285729348023951978) (overflow:x86_64+0x100010f67)
    #3 0x104f7fbee in __rust_maybe_catch_panic (overflow:x86_64+0x10001cbee)
    #4 0x104f6d811 in std::rt::lang_start_internal::h4035931d4aa7509d (overflow:x86_64+0x10000a811)
    #5 0x104f65040 in std::rt::lang_start::h121fe30b681088ee rt.rs:74
    #6 0x104f655f4 in main (overflow:x86_64+0x1000025f4)
    #7 0x7fff65a25114 in start (libdyld.dylib:x86_64+0x1114)
Address 0x7ffeeac9a5f0 is located in stack of thread T0 at offset 48 in frame
    #0 0x104f652ef in overflow::main::ha3cd2aa36c57bd27 overflow.rs:11
  This frame has 1 object(s):
    [32, 48) '' <== Memory access at offset 48 overflows this variable
HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
      (longjmp and C++ exceptions *are* supported)
SUMMARY: AddressSanitizer: stack-buffer-overflow overflow.rs:13 in overflow::main::ha3cd2aa36c57bd27
Shadow bytes around the buggy address:
  0x1fffdd593460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd593470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd593480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd593490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd5934a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x1fffdd5934b0: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00[f3]f3
  0x1fffdd5934c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd5934d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd5934e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd5934f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd593500: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f3 f3 f3
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==71835==ABORTING
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff65b74e3e __pthread_kill + 10
1   libsystem_pthread.dylib        0x00007fff65cb3150 pthread_kill + 333
2   libsystem_c.dylib              0x00007fff65ad1312 abort + 127
3   libclang_rt.asan_osx_dynamic.dylib 0x000000010501a2b6 __sanitizer::Abort() + 70
4   libclang_rt.asan_osx_dynamic.dylib 0x00000001050189a4 __sanitizer::Die() + 196
5   libclang_rt.asan_osx_dynamic.dylib 0x0000000104ffea76 __asan::ScopedInErrorReport::~ScopedInErrorReport() + 294
6   libclang_rt.asan_osx_dynamic.dylib 0x0000000104ffe2f3 __asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool) + 387 (asan_report.cc:400)
7   libclang_rt.asan_osx_dynamic.dylib 0x0000000104ffef7b __asan_report_load4 + 43 (asan_rtl.cc:113)
8   overflow                       0x0000000104f65567 overflow::main::ha3cd2aa36c57bd27 + 647 (overflow.rs:13)
9   overflow                       0x0000000104f650ce std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h414ce093b20d43a2 + 62 (rt.rs:74)
10  overflow                       0x0000000104f73f68 std::panicking::try::do_call::h14450b1e03b3b94c (.llvm.6285729348023951978) + 24
11  overflow                       0x0000000104f7fbef __rust_maybe_catch_panic + 31
12  overflow                       0x0000000104f6d812 std::rt::lang_start_internal::h4035931d4aa7509d + 242
13  overflow                       0x0000000104f65041 std::rt::lang_start::h121fe30b681088ee + 305 (rt.rs:74)
14  overflow                       0x0000000104f655f5 main + 37
15  libdyld.dylib                  0x00007fff65a25115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff9e74b340  rcx: 0x00007ffeeac99858  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007ffeeac99890  rsp: 0x00007ffeeac99858
   r8: 0x000000010567038b   r9: 0x000000000000f505  r10: 0x0000000000000000  r11: 0x0000000000000206
  r12: 0x0000000000000307  r13: 0x00007ffeeac9a5a8  r14: 0x0000000000000006  r15: 0x000000000000002d
  rip: 0x00007fff65b74e3e  rfl: 0x0000000000000206  cr2: 0x0000000104fe0920
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133
Binary Images:
       0x104f63000 -        0x104f8efff +overflow (0) <D8025D78-E5F7-3525-8CC2-F0E54B3520D2> /Users/USER/*/overflow
       0x104fa1000 -        0x105047fff +libclang_rt.asan_osx_dynamic.dylib (0) <49FB4D07-8B6D-3487-8855-B111A2F7DB82> /Users/USER/*/libclang_rt.asan_osx_dynamic.dylib
       0x10e908000 -        0x10e95298f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff6328f000 -     0x7fff632c2fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff637a1000 -     0x7fff637a2ff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff63a57000 -     0x7fff63aadfff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff63aae000 -     0x7fff63ad2ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff64e24000 -     0x7fff652153b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff652e2000 -     0x7fff652feffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff658bc000 -     0x7fff658c0ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff658c1000 -     0x7fff658cbff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff658cc000 -     0x7fff658d3fff  libcompiler_rt.dylib (62) <4487CFB

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 x86_64-apple 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.
[00:02:46]       Memory: 8 GB
[00:02:46]       Boot ROM Version: VMW71.00V.0.B64.1704110547
[00:02:46]       Apple ROM Info: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]Welcome to the Virtual Machine
[00:02:46]       SMC Version (system): 2.8f0
[00:02:46]       Serial Number (system): VMTai6v+1Yan
[00:02:46] 
[00:02:46] hw.ncpu: 4
[00:02:46] hw.byteorder: 1234
[00:02:46] hw.memsize: 8589934592
---
[01:36:51] test [run-make] run-make/cross-lang-lto ... FAILED
[01:36:51] 
[01:36:51] failures:
[01:36:51] 
[01:36:51] ---- [run-make] run-make/cross-lang-lto stdout ----
[01:36:51] error: make failed
[01:36:51] status: exit code: 2
[01:36:51] command: "make"
[01:36:51] stdout:
[01:36:51] stdout:
[01:36:51] ------------------------------------------
[01:36:51] DYLD_LIBRARY_PATH="/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib:" '/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/bin/rustc' --out-dir /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin -L /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin  lib.rs -Copt-level=2 -Z cross-lang-lto -Ccodegen-units=1 --crate-type=staticlib -o /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin/liblib.a
[01:36:51] [ "$(llvm-objdump -section-headers /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make/cross-lang-lto.stage2-x86_64-apple-darwin/liblib.a | grep -c __LLVM,__bitcode)" -ne "0" ]
[01:36:51] ------------------------------------------
[01:36:51] stderr:
[01:36:51] ------------------------------------------
[01:36:51] ------------------------------------------
[01:36:51] warning: ignoring --out-dir flag due to -o flag
[01:36:51] 
[01:36:51] make[1]: *** [staticlib] Error 1
[01:36:51] ------------------------------------------
[01:36:51] 
[01:36:51] 
[01:36:51] thread '[run-make] run-make/cross-lang-lto' panicked at 'explicit panic', tools/compiletest/src/runtest.rs:2967:9
[01:36:51] 
[01:36:51] 
[01:36:51] failures:
[01:36:51]     [run-make] run-make/cross-lang-lto
[01:36:51]     [run-make] run-make/cross-lang-lto
[01:36:51] 
[01:36:51] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
[01:36:51] 
[01:36:51] thread 'main' panicked at 'Some tests failed', tools/compiletest/src/main.rs:488:22
[01:36:51] 
[01:36:51] 
[01:36:51] command did not execute successfully: "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage0-tools-bin/compiletest" "--compile-lib-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib" "--run-lib-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib" "--rustc-path" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/bin/rustc" "--src-base" "/Users/travis/build/rust-lang/rust/src/test/run-make" "--build-base" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make" "--stage-id" "stage2-x86_64-apple-darwin" "--mode" "run-make" "--target" "x86_64-apple-darwin" "--host" "x86_64-apple-darwin" "--llvm-filecheck" "/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/bin/FileCheck" "--nodejs" "/Users/travis/.nvm/versions/node/v6.12.3/bin/node" "--host-rustcflags" "-Crpath -O -Zunstable-options " "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/native/rust-test-helpers" "--docck-python" "/usr/local/opt/python/bin/python2.7" "--lldb-python" "/usr/bin/python" "--lldb-version" "lldb-902.0.73.1" "--lldb-python-dir" "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python" "--llvm-version" "6.0.0\n" "--cc" "cc" "--cxx" "c++" "--cflags" "-ffunction-sections -fdata-sections -fPIC -m64 -stdlib=libc++" "--llvm-components" "aarch64 aarch64asmparser aarch64asmprinter aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils all all-targets analysis arm armasmparser armasmprinter armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter binaryformat bitreader bitwriter codegen core coroutines coverage debuginfocodeview debuginfodwarf debuginfomsf debuginfopdb demangle dlltooldriver engine executionengine fuzzmutate globalisel gtest gtest_main hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo instcombine instrumentation interpreter ipo irreader libdriver lineeditor linker lto mc mcdisassembler mcjit mcparser mips mipsasmparser mipsasmprinter mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmprinter msp430codegen msp430desc msp430info native nativecodegen nvptx nvptxasmprinter nvptxcodegen nvptxdesc nvptxinfo objcarcopts object objectyaml option orcjit passes powerpc powerpcasmparser powerpcasmprinter powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata runtimedyld scalaropts selectiondag sparc sparcasmparser sparcasmprinter sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzasmprinter systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target testingsupport transformutils vectorize webassembly webassemblyasmprinter webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo windowsmanifest x86 x86asmparser x86asmprinter x86codegen x86desc x86disassembler x86info x86utils" "--llvm-cxxflags" "-I/Users/travis/build/rust-lang/rust/src/llvm/include -I/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/build/include -ffunction-sections -fdata-sections -fPIC -m64 -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -O3 -DNDEBUG  -fno-exceptions -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" "--ar" "ar" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:36:51] 
[01:36:51] 
[01:36:51] failed to run: /Users/travis/build/rust-lang/rust/build/bootstrap/debug/bootstrap test
[01:36:51] Build completed unsuccessfully in 0:44:36
[01:36:51] Build completed unsuccessfully in 0:44:36
[01:36:51] make: *** [check] Error 1
travis_time:end:274b108b:start=1525465089167755000,finish=1525470900127332000,duration=5810959577000

The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:1a6f9ed7
---
travis_fold:start:after_failure.2
travis_time:start:1d088478
$ ls -lat $HOME/Library/Logs/DiagnosticReports/
total 1336
drwx------  27 travis  staff    918 May  4 21:54 .
-rw-------@  1 travis  staff  13707 May  4 21:54 overflow_2018-05-04-215443_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1442 May  4 21:54 foo_2018-05-04-215422_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1433 May  4 21:53 m4_2018-05-04-215357_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10689 May  4 21:53 b_2018-05-04-215349_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1444 May  4 21:53 bar_2018-05-04-215349-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff   1450 May  4 21:53 bar_2018-05-04-215349_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  69157 May  4 21:21 stack-probes-lto.stage2-x86_64-apple-darwin_2018-05-04-212103_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  41180 May  4 21:21 stack-probes-lto.stage2-x86_64-apple-darwin_2018-05-04-212102_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  65216 May  4 21:20 stack-probes.stage2-x86_64-apple-darwin_2018-05-04-212056-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  39976 May  4 21:20 stack-probes.stage2-x86_64-apple-darwin_2018-05-04-212056_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10586 May  4 21:20 simd-target-feature-mixup.stage2-x86_64-apple-darwin_2018-05-04-212045_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10239 May  4 21:20 signal-exit-status.stage2-x86_64-apple-darwin_2018-05-04-212040_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10346 May  4 21:20 segfault-no-out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-212029_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10204 May  4 21:20 running-with-no-runtime.stage2-x86_64-apple-darwin_2018-05-04-212028_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10217 May  4 21:19 lto-abort.stage2-x86_64-apple-darwin_2018-05-04-211957_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  11315 May  4 21:19 abort-link-to-unwinding-crates.stage2-x86_64-apple-darwin_2018-05-04-211953_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10588 May  4 21:19 abort.stage2-x86_64-apple-darwin_2018-05-04-211953_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  67868 May  4 21:19 out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-211945_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  69984 May  4 21:19 out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-211942-1_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  68744 May  4 21:19 out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-211942-2_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  69107 May  4 21:19 out-of-stack.stage2-x86_64-apple-darwin_2018-05-04-211942_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  12061 May  4 21:17 issue-24313.stage2-x86_64-apple-darwin_2018-05-04-211737_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10537 May  4 21:15 abort-on-c-abi.stage2-x86_64-apple-darwin_2018-05-04-211541_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10847 May  4 21:15 backtrace.stage2-x86_64-apple-darwin_2018-05-04-211541_Traviss-Mac-1044.crash
-rw-------@  1 travis  staff  10814 May  4 21:15 backtrace.stage2-x86_64-apple-darwin_2018-05-04-211542_Traviss-Mac-1044.crash
drwx------+ 15 travis  staff    510 Jan 25 19:20 ..
travis_fold:end:after_failure.2
travis_fold:start:after_failure.3
travis_time:start:2ed670a8
$ find $HOME/Library/Logs/DiagnosticReports -type f -name '*.crash' -not -name '*.stage2-*.crash' -not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash' -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \; -exec head -750 {} \; -exec echo travis_fold":"end:crashlog \; || true
$ find $HOME/Library/Logs/DiagnosticReports -type f -name '*.crash' -not -name '*.stage2-*.crash' -not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash' -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \; -exec head -750 {} \; -exec echo travis_fold":"end:crashlog \; || true
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/b_2018-05-04-215349_Traviss-Mac-1044.crash
Process:               b [67132]
Path:                  /Users/USER/*/b
Identifier:            b
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [67131]
Responsible:           b [67132]
User ID:               501
Date/Time:             2018-05-04 21:53:48.574 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x4] Symbol missing
Dyld Error Message:
  Symbol not found: __ZN1a3foo17h86fc83d54eca0fb1E
  Referenced from: /Users/USER/*/b
  Expected in: /Users/USER/*/liba.dylib
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld                           0x000000010fb3c216 __abort_with_payload + 10
1   dyld                           0x000000010fb3bb88 abort_with_payload_wrapper_internal + 89
2   dyld                           0x000000010fb3bbb5 abort_with_payload + 9
3   dyld                           0x000000010fb0f482 dyld::halt(char const*) + 354
4   dyld                           0x000000010fb0f5a9 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 170
5   libdyld.dylib                  0x00007fff65a25392 dyld_stub_binder + 282
6   ???                            0x0000000103955008 0 + 4355084296
7   b                              0x0000000103954c6a std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::he61067c6563edefe + 10
8   libstd-d96f8dcdc164c196.dylib  0x000000010399f998 std::panicking::try::do_call::h14450b1e03b3b94c (.llvm.6285729348023951978) + 24
9   libstd-d96f8dcdc164c196.dylib  0x00000001039abe9f __rust_maybe_catch_panic + 31
10  libstd-d96f8dcdc164c196.dylib  0x0000000103981182 std::rt::lang_start_internal::h4035931d4aa7509d + 242
11  b                              0x0000000103954c45 std::rt::lang_start::hf48ef9b0b5cb1e64 + 53
12  b                              0x0000000103954cb5 main + 37
13  libdyld.dylib                  0x00007fff65a25115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000002000209  rbx: 0x0000000000000004  rcx: 0x00007ffeec2a8578  rdx: 0x00007ffeec2a89f0
  rdi: 0x0000000000000006  rsi: 0x0000000000000004  rbp: 0x00007ffeec2a85d0  rsp: 0x00007ffeec2a8578
   r8: 0x00007ffeec2a85f0   r9: 0x0000000000000000  r10: 0x0000000000000144  r11: 0x0000000000000246
  r12: 0x0000000000000144  r13: 0x00007ffeec2a89f0  r14: 0x0000000000000006  r15: 0x0000000000000000
  rip: 0x000000010fb3c216  rfl: 0x0000000000000246  cr2: 0x000000010fb8cfe0
Logical CPU:     0
Error Code:      0x02000209
Trap Number:     133
Binary Images:
       0x103954000 -        0x103954ff7 +b (0) <A58B0699-9950-38C0-B2EC-0D1AC27624C7> /Users/USER/*/b
       0x103957000 -        0x103957fff +liba.dylib (0) <A680594A-00CB-3C2B-B424-1E560A9FB9E7> /Users/USER/*/liba.dylib
       0x10395e000 -        0x103a6ffdf +libstd-d96f8dcdc164c196.dylib (0) <DFD50611-8F8C-3961-A370-679F114C5B26> /Users/USER/*/libstd-d96f8dcdc164c196.dylib
       0x10fb0b000 -        0x10fb5598f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff6328f000 -     0x7fff632c2fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff637a1000 -     0x7fff637a2ff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff63a57000 -     0x7fff63aadfff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff63aae000 -     0x7fff63ad2ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff64e24000 -     0x7fff652153b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff652e2000 -     0x7fff652feffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff658bc000 -     0x7fff658c0ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff658c1000 -     0x7fff658cbff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff658cc000 -     0x7fff658d3fff  libcompiler_rt.dylib (62) <4487CFBA-A5D7-3282-9E6B-94CAD7BE507E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff658d4000 -     0x7fff658dcffb  libcopyfile.dylib (146.30.2) <2C7C67D7-562B-3FFA-973D-BACF4C10E1EC> /usr/lib/system/libcopyfile.dylib
    0x7fff658dd000 -     0x7fff65962fff  libcorecrypto.dylib (562.30.10) <8A53EFE1-AFCA-3676-BEE1-FA5ED9F0E222> /usr/lib/system/libcorecrypto.dylib
    0x7fff659ea000 -     0x7fff65a23ff7  libdispatch.dylib (913.30.4) <7D0E3183-282B-3FEE-A734-2C0ADC092084> /usr/lib/system/libdispatch.dylib
    0x7fff65a24000 -     0x7fff65a41ff7  libdyld.dylib (519.2.2) <C50D02BC-A333-3313-B787-02F255A6783F> /usr/lib/system/libdyld.dylib
    0x7fff65a42000 -     0x7fff65a42ffb  libkeymgr.dylib (28) <6D84A96F-C65B-38EC-BDB5-21FD2C97E7B2> /usr/lib/system/libkeymgr.dylib
    0x7fff65a50000 -     0x7fff65a50ff7  liblaunch.dylib (1205.30.29) <E66F58ED-C15E-3DFB-BC22-A861E13918C6> /usr/lib/system/liblaunch.dylib
    0x7fff65a51000 -     0x7fff65a55ffb  libmacho.dylib (900.0.1) <756F2553-07B6-3B42-ACEA-2F0F1A5E8D0F> /usr/lib/system/libmacho.dylib
    0x7fff65a56000 -     0x7fff65a58ff3  libquarantine.dylib (86) <6AC8773F-3817-3D82-99C2-01BABB9C3CBB> /usr/lib/system/libquarantine.dylib
    0x7fff65a59000 -     0x7fff65a5aff3  libremovefile.dylib (45) <912FA211-DD8C-3C92-8424-21B89F8B10FD> /usr/lib/system/libremovefile.dylib
    0x7fff65a5b000 -     0x7fff65a72fff  libsystem_asl.dylib (356.1.1) <94972913-9DF0-3C78-847C-43E58919E3DA> /usr/lib/system/libsystem_asl.dylib
    0x7fff65a73000 -     0x7fff65a73fff  libsystem_blocks.dylib (67) <F2493BB5-B1C6-3C4D-9F1F-1B402E0F1DB7> /usr/lib/system/libsystem_blocks.dylib
    0x7fff65a74000 -     0x7fff65afdff7  libsystem_c.dylib (1244.30.3) <E0136C71-0648-36F0-9F84-82EA2748A8D7> /usr/lib/system/libsystem_c.dylib
    0x7fff65afe000 -     0x7fff65b01ffb  libsystem_configuration.dylib (963.30.1) <0F8D0B76-4F7D-34EC-AB6C-50F9465809DA> /usr/lib/system/libsystem_configuration.dylib
    0x7fff65b02000 -     0x7fff65b05ffb  libsystem_coreservices.dylib (51) <21A488D0-2D07-344E-8631-CC8B2A246F35> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff65b06000 -     0x7fff65b07fff  libsystem_darwin.dylib (1244.30.3) <2F750CB1-BC26-3FA3-AE59-553EE30D451B> /usr/lib/system/libsystem_darwin.dylib
    0x7fff65b08000 -     0x7fff65b0eff7  libsystem_dnssd.dylib (878.30.4) <EB9BB165-45A4-367C-B33A-688D4F383A95> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff65b0f000 -     0x7fff65b58ff7  libsystem_info.dylib (517.30.1) <7D79E167-4B5C-3833-81EE-3AF3FB53616D> /usr/lib/system/libsystem_info.dylib
    0x7fff65b59000 -     0x7fff65b7eff7  libsystem_kernel.dylib (4570.41.2) <5155A4C3-825B-3178-AC51-0D2D2F2A6618> /usr/lib/system/libsystem_kernel.dylib
    0x7fff65b7f000 -     0x7fff65bcafcb  libsystem_m.dylib (3146) <ABB1B85F-9FFE-31B8-AD4F-E39A30794A93> /usr/lib/system/libsystem_m.dylib
    0x7fff65bcb000 -     0x7fff65beafff  libsystem_malloc.dylib (140.40.1) <36B22C99-D772-3039-9A4C-AA31389965E1> /usr/lib/system/libsystem_malloc.dylib
    0x7fff65beb000 -     0x7fff65c8fff3  libsystem_network.dylib (1229.30.11) <40BAD301-8744-3AD8-A688-E7925C587B00> /usr/lib/system/libsystem_network.dylib
    0x7fff65c90000 -     0x7fff65c9affb  libsystem_networkextension.dylib (767.40.1) <CEDC330D-28F0-3902-BEB0-10B92ACEC69F> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff65c9b000 -     0x7fff65ca4ff3  libsystem_notify.dylib (172) <98EA3D62-7C86-30DE-8261-D020D2F1EFF3> /usr/lib/system/libsystem_notify.dylib
    0x7fff65ca5000 -     0x7fff65cacff7  libsystem_platform.dylib (161.20.1) <C049250F-8C35-314D-810F-4E28AEAED983> /usr/lib/system/libsystem_platform.dylib
    0x7fff65cad000 -     0x7fff65cb8fff  libsystem_pthread.dylib (301.30.1) <ABA848E1-6978-3B42-A3A7-608B2C36FA93> /usr/lib/system/libsystem_pthread.dylib
    0x7fff65cb9000 -     0x7fff65cbcff3  libsystem_sandbox.dylib (765.40.2) <922D3D15-AB4C-3F1A-A94F-39214AF1ADB3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff65cbd000 -     0x7fff65cbeff3  libsystem_secinit.dylib (30) <F06ADB8F-9E94-34A7-B3C9-2C22FDD14BAD> /usr/lib/system/libsystem_secinit.dylib
    0x7fff65cbf000 -     0x7fff65cc6ff7  libsystem_symptoms.dylib (820.30.7) <DC3586C2-AA56-3419-88D3-FC0DBF08E3C0> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff65cc7000 -     0x7fff65cdaff7  libsystem_trace.dylib (829.30.14) <69EBF017-D40F-30D7-9B0B-BFC862D761A5> /usr/lib/system/libsystem_trace.dylib
    0x7fff65cdc000 -     0x7fff65ce1ff7  libunwind.dylib (35.3) <6D4FCD49-D2A9-3233-95C7-A7635CE265F2> /usr/lib/system/libunwind.dylib
    0x7fff65ce2000 -     0x7fff65d0eff7  libxpc.dylib (1205.30.29) <F7E5F1BC-614B-39CB-B6CE-92A9C7B7EC0B> /usr/lib/system/libxpc.dylib
External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
  Calls made by this process:
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 3680
    thread_create: 0
VM Region Summary:
VM Region Summary:
ReadOnly portion of Libraries: Total=199.0M resident=0K(0%) swapped_out_or_unallocated=199.0M(100%)
Writable regions: Total=75.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=75.5M(100%)
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            9268K       10 
MALLOC guard page                   16K        4 
Stack                             64.0M        2 
Stack Guard                          4K        2 
VM_ALLOCATE                       4100K        4 
VM_ALLOCATE (reserved)             128K        2         reserved VM address space (unallocated)
__DATA                            4304K       46 
__LINKEDIT                       189.1M        6 
__TEXT                             9.9M       45 
===========                     =======  ======= 
TOTAL                            280.4M      115 
TOTAL                            280.4M      115 
TOTAL, minus reserved VM space   280.2M      115 
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/bar_2018-05-04-215349-1_Traviss-Mac-1044.crash
Process:               bar [67352]
Path:                  /Users/USER/*/bar
Identifier:            bar
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [67350]
Responsible:           bar [67352]
User ID:               501
Date/Time:             2018-05-04 21:53:49.616 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/c-static-dylib.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib:
Dyld Error Message:
  Library not loaded: /Users/USER/*/libfoo.dylib
  Referenced from: /Users/USER/*/bar
  Reason: image not found
Binary Images:
       0x1047e6000 -        0x1047e6ff7 +bar (0) <C43CD414-6114-397A-B271-9CE6C9094AE7> /Users/USER/*/bar
       0x105411000 -        0x10545b98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/bar_2018-05-04-215349_Traviss-Mac-1044.crash
Process:               bar [67288]
Path:                  /Users/USER/*/bar
Identifier:            bar
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [67287]
Responsible:           bar [67288]
User ID:               501
Date/Time:             2018-05-04 21:53:49.339 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/c-link-to-rust-dylib.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib:
Dyld Error Message:
  Library not loaded: /Users/USER/*/libfoo.dylib
  Referenced from: /Users/USER/*/bar
  Reason: image not found
Binary Images:
       0x102a30000 -        0x102a30ff7 +bar (0) <00F481FB-E41D-37AA-8DC5-A6F3FD0F43E3> /Users/USER/*/bar
       0x10d506000 -        0x10d55098f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/foo_2018-05-04-215422_Traviss-Mac-1044.crash
Process:               foo [70654]
Path:                  /Users/USER/*/foo
Identifier:            foo
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [70653]
Responsible:           foo [70654]
User ID:               501
Date/Time:             2018-05-04 21:54:21.946 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/prefer-dylib.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib:
Dyld Error Message:
  Library not loaded: /Users/USER/*/libbar.dylib
  Referenced from: /Users/USER/*/foo
  Reason: image not found
Binary Images:
       0x10e08d000 -        0x10e08dff7 +foo (0) <30149AF0-54F3-3032-AC51-783A985EA31D> /Users/USER/*/foo
       0x113ba5000 -        0x113bef98f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/m4_2018-05-04-215357_Traviss-Mac-1044.crash
Process:               m4 [68202]
Path:                  /Users/USER/*/m4
Identifier:            m4
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [68201]
Responsible:           m4 [68202]
User ID:               501
Date/Time:             2018-05-04 21:53:57.224 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/test/run-make-fulldeps/dylib-chain.stage2-x86_64-apple-darwin:/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-apple-darwin/lib:
Dyld Error Message:
  Library not loaded: /Users/USER/*/libm3.dylib
  Referenced from: /Users/USER/*/m4
  Reason: image not found
Binary Images:
       0x10fce8000 -        0x10fce8ff7 +m4 (0) <C68EA376-E34E-327D-89DD-7E35093F4286> /Users/USER/*/m4
       0x111799000 -        0x1117e398f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
travis_fold:start:crashlog
travis_fold:start:crashlog
/Users/travis/Library/Logs/DiagnosticReports/overflow_2018-05-04-215443_Traviss-Mac-1044.crash
Process:               overflow [71835]
Path:                  /Users/USER/*/overflow
Identifier:            overflow
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        sh [71834]
Responsible:           overflow [71835]
User ID:               501
Date/Time:             2018-05-04 21:54:31.583 +0000
OS Version:            Mac OS X 10.13.3 (17D47)
Report Version:        12
Anonymous UUID:        A91A3A70-3ADA-D7A9-5891-C1A67A5778E7
Time Awake Since Boot: 5900 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Application Specific Information:
=================================================================
==71835==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffeeac9a5f0 at pc 0x000104f65567 bp 0x7ffeeac9a5b0 sp 0x7ffeeac9a5a8
READ of size 4 at 0x7ffeeac9a5f0 thread T0
    #0 0x104f65566 in overflow::main::ha3cd2aa36c57bd27 overflow.rs:13
    #1 0x104f650cd in std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h414ce093b20d43a2 rt.rs:74
    #2 0x104f73f67 in std::panicking::try::do_call::h14450b1e03b3b94c (.llvm.6285729348023951978) (overflow:x86_64+0x100010f67)
    #3 0x104f7fbee in __rust_maybe_catch_panic (overflow:x86_64+0x10001cbee)
    #4 0x104f6d811 in std::rt::lang_start_internal::h4035931d4aa7509d (overflow:x86_64+0x10000a811)
    #5 0x104f65040 in std::rt::lang_start::h121fe30b681088ee rt.rs:74
    #6 0x104f655f4 in main (overflow:x86_64+0x1000025f4)
    #7 0x7fff65a25114 in start (libdyld.dylib:x86_64+0x1114)
Address 0x7ffeeac9a5f0 is located in stack of thread T0 at offset 48 in frame
    #0 0x104f652ef in overflow::main::ha3cd2aa36c57bd27 overflow.rs:11
  This frame has 1 object(s):
    [32, 48) '' <== Memory access at offset 48 overflows this variable
HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext
      (longjmp and C++ exceptions *are* supported)
SUMMARY: AddressSanitizer: stack-buffer-overflow overflow.rs:13 in overflow::main::ha3cd2aa36c57bd27
Shadow bytes around the buggy address:
  0x1fffdd593460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd593470: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd593480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd593490: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd5934a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x1fffdd5934b0: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00[f3]f3
  0x1fffdd5934c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd5934d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd5934e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd5934f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x1fffdd593500: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f3 f3 f3
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==71835==ABORTING
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff65b74e3e __pthread_kill + 10
1   libsystem_pthread.dylib        0x00007fff65cb3150 pthread_kill + 333
2   libsystem_c.dylib              0x00007fff65ad1312 abort + 127
3   libclang_rt.asan_osx_dynamic.dylib 0x000000010501a2b6 __sanitizer::Abort() + 70
4   libclang_rt.asan_osx_dynamic.dylib 0x00000001050189a4 __sanitizer::Die() + 196
5   libclang_rt.asan_osx_dynamic.dylib 0x0000000104ffea76 __asan::ScopedInErrorReport::~ScopedInErrorReport() + 294
6   libclang_rt.asan_osx_dynamic.dylib 0x0000000104ffe2f3 __asan::ReportGenericError(unsigned long, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned int, bool) + 387 (asan_report.cc:400)
7   libclang_rt.asan_osx_dynamic.dylib 0x0000000104ffef7b __asan_report_load4 + 43 (asan_rtl.cc:113)
8   overflow                       0x0000000104f65567 overflow::main::ha3cd2aa36c57bd27 + 647 (overflow.rs:13)
9   overflow                       0x0000000104f650ce std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h414ce093b20d43a2 + 62 (rt.rs:74)
10  overflow                       0x0000000104f73f68 std::panicking::try::do_call::h14450b1e03b3b94c (.llvm.6285729348023951978) + 24
11  overflow                       0x0000000104f7fbef __rust_maybe_catch_panic + 31
12  overflow                       0x0000000104f6d812 std::rt::lang_start_internal::h4035931d4aa7509d + 242
13  overflow                       0x0000000104f65041 std::rt::lang_start::h121fe30b681088ee + 305 (rt.rs:74)
14  overflow                       0x0000000104f655f5 main + 37
15  libdyld.dylib                  0x00007fff65a25115 start + 1
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff9e74b340  rcx: 0x00007ffeeac99858  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007ffeeac99890  rsp: 0x00007ffeeac99858
   r8: 0x000000010567038b   r9: 0x000000000000f505  r10: 0x0000000000000000  r11: 0x0000000000000206
  r12: 0x0000000000000307  r13: 0x00007ffeeac9a5a8  r14: 0x0000000000000006  r15: 0x000000000000002d
  rip: 0x00007fff65b74e3e  rfl: 0x0000000000000206  cr2: 0x0000000104fe0920
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133
Binary Images:
       0x104f63000 -        0x104f8efff +overflow (0) <D8025D78-E5F7-3525-8CC2-F0E54B3520D2> /Users/USER/*/overflow
       0x104fa1000 -        0x105047fff +libclang_rt.asan_osx_dynamic.dylib (0) <49FB4D07-8B6D-3487-8855-B111A2F7DB82> /Users/USER/*/libclang_rt.asan_osx_dynamic.dylib
       0x10e908000 -        0x10e95298f  dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
    0x7fff6328f000 -     0x7fff632c2fff  libclosured.dylib (519.2.2) <48051216-5647-3643-B979-B77D0FD20011> /usr/lib/closure/libclosured.dylib
    0x7fff637a1000 -     0x7fff637a2ff3  libSystem.B.dylib (1252) <47329E26-DC23-3EBA-9461-37755368327D> /usr/lib/libSystem.B.dylib
    0x7fff63a57000 -     0x7fff63aadfff  libc++.1.dylib (400.9) <FCF5E1F6-2B04-3545-8004-F3AB32FED172> /usr/lib/libc++.1.dylib
    0x7fff63aae000 -     0x7fff63ad2ff7  libc++abi.dylib (400.7) <217656D5-BC40-37FF-B322-91CB2AAD4F34> /usr/lib/libc++abi.dylib
    0x7fff64e24000 -     0x7fff652153b7  libobjc.A.dylib (723) <37A7D77E-952C-3F5D-970B-3CDE349B2322> /usr/lib/libobjc.A.dylib
    0x7fff652e2000 -     0x7fff652feffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff658bc000 -     0x7fff658c0ff7  libcache.dylib (80) <354F3B7D-404E-3398-9EBF-65CA2CE65211> /usr/lib/system/libcache.dylib
    0x7fff658c1000 -     0x7fff658cbff3  libcommonCrypto.dylib (60118.30.2) <674286D3-7744-36A3-9AAA-49DFCD97A986> /usr/lib/system/libcommonCrypto.dylib
    0x7fff658cc000 -     0x7fff658d3fff  libcompiler_rt.dylib (62) <4487CFB

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)

@kennytm kennytm added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 5, 2018
@kennytm kennytm mentioned this pull request May 6, 2018
@michaelwoerister
Copy link
Member Author

Seems like llvm-objdump prints just __bitcode instead of __LLVM,__bitcode for the section name.

@bors r=alexcrichton

@bors
Copy link
Contributor

bors commented May 7, 2018

📌 Commit 0bf26bf 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 7, 2018
@bors
Copy link
Contributor

bors commented May 7, 2018

⌛ Testing commit 0bf26bf with merge c88992d...

bors added a commit that referenced this pull request May 7, 2018
Add some groundwork for cross-language LTO.

Implements part of #49879:
- Adds a `-Z cross-lang-lto` flag to rustc
- Makes sure that bitcode is embedded in object files if the flag is set.

This should already allow for using cross language LTO for staticlibs (where one has to invoke the linker manually anyway). However, `rustc` will not try to enable LTO for its own linker invocations yet.

r? @alexcrichton
@bors
Copy link
Contributor

bors commented May 7, 2018

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

@bors bors merged commit 0bf26bf into rust-lang:master May 7, 2018
@michaelwoerister
Copy link
Member Author

🎉

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.

8 participants