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

ship LLVM tools with the toolchain #50336

Merged
merged 8 commits into from Jun 21, 2018
Merged

ship LLVM tools with the toolchain #50336

merged 8 commits into from Jun 21, 2018

Conversation

japaric
Copy link
Member

@japaric japaric commented Apr 30, 2018

this PR adds llvm-{nm,objcopy,objdump,size} to the rustc sysroot (right next to LLD)

this slightly increases the size of the rustc component. I measured these numbers on x86_64 Linux:

  • rustc-1.27.0-dev-x86_64-unknown-linux-gnu.tar.gz 180M -> 193M (+7%)
  • rustc-1.27.0-dev-x86_64-unknown-linux-gnu.tar.xz 129M -> 137M (+6%)

r? @alexcrichton
cc #49584

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

emilio commented Apr 30, 2018

Could you add llvm-profdata too if it's not too much to ask? It's useful / necessary for PGO.

Otherwise I can do it in a followup myself I guess. Thanks for working on this!

@japaric
Copy link
Member Author

japaric commented Apr 30, 2018

@emilio added llvm-profdata

@alexcrichton
Copy link
Member

@bors: try

I'm curious to poke around these from the bots as well

@bors
Copy link
Contributor

bors commented Apr 30, 2018

⌛ Trying commit c3efbbe with merge 2f8c92c...

bors added a commit that referenced this pull request Apr 30, 2018
ship LLVM tools with the toolchain

this PR adds llvm-{nm,objcopy,objdump,size} to the rustc sysroot (right next to LLD)

this slightly increases the size of the rustc component. I measured these numbers on x86_64 Linux:

- rustc-1.27.0-dev-x86_64-unknown-linux-gnu.tar.gz 180M -> 193M (+7%)
- rustc-1.27.0-dev-x86_64-unknown-linux-gnu.tar.xz 129M -> 137M (+6%)

r? @alexcrichton
cc #49584
@@ -199,6 +199,10 @@ use flags::Subcommand;
use cache::{Interned, INTERNER};
use toolstate::ToolState;

const LLVM_TOOLS: &[&str] = &[
"llvm-nm", "llvm-objcopy", "llvm-objdump", "llvm-profdata", "llvm-size",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add some comments here for what each tool is and why it's included?

@alexcrichton
Copy link
Member

The code changes here look good to me, thanks @japaric! I'd like to poke around the output and then I think we can FCP for inclusion with... some team (?)

@Mark-Simulacrum
Copy link
Member

I agree with concerns raised on the issue about including this by-default in the rustc component; primarily because I worry we're effectively stabilizing their (default) presence in the sysroot. I think that a temporary resolution that I would be okay with is making them nightly-only components of the sysroot (that is, next beta will not have them) until we figure out how to make them into a component.

It's also not completely clear to me why they cannot be in a component -- the concerns raised on the issue spoke of rustup not understanding host-specific components, but this seems like a non-issue: we can provide this component for all targets, it's just on some it would be empty (sure, confusing, but unlikely to matter in practice I think).

@bors
Copy link
Contributor

bors commented Apr 30, 2018

☀️ Test successful - status-travis
State: approved= try=True

@alexcrichton
Copy link
Member

It looks like the compiled tools have a dynamic dependency on libstdc++.so.6 which generally isn't suitable for shipping to end users (rustc links libstdc++ statically), so I think we'll need to figure out how to coerce LLVM's build system to link libstdc++ statically before merging this regardless.

@alexcrichton
Copy link
Member

@Mark-Simulacrum a downside to making this a component, however, is that it's "yet another step" to get up and running with embedded development. This could perhaps be folded into an existing step if it already existed, but @japaric it sounds like there's not a great place for this to get folded into?

I previously hadn't been able to articulate a great downside to shipping this (and I agree that it's defacto stabilizing), but thinking now I think I may have come up with one (although seriousness of it TBD). This runs the risk of bifurcating "rust through rustup" and "rust through system installers". It seems likely that distros would delete these tools and/or would not ship them by default. That means that the experience in the embedded world would be that you'd have to deal with either the absence of the tools or perhaps a variety of versions (not great).

Now this may not actually matter too much. AFAIK the distro "cross compile" experience is definitely not as good as it is through rustup, so it may be perhaps a safe assumption that everyone using these tools are already using rustup and are cross compiling, meaning it's fine to ship/stabilize.

One aspect I particularly like about this is that we're not shipping these tools into users' PATH, but rather it's buried in a rustc-specific location that you have to go out of your way to access (which tools I believe @japaric is envisioning for embedded will do)

@cuviper
Copy link
Member

cuviper commented Apr 30, 2018

I think we'll need to figure out how to coerce LLVM's build system to link libstdc++ statically

Fedora LLVM used to do this (for Steam's sake) using:
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-Bsymbolic -static-libstdc++"

But I think you'll need CMAKE_STATIC_LINKER_FLAGS and/or CMAKE_EXE_LINKER_FLAGS.

It seems likely that distros would delete these tools and/or would not ship them by default.

In Fedora they're built and shipped as part of the llvm package. By default, rustc will only pull in the library in the llvm-libs subpackage though. We also don't install lld by default. In general, I would expect our system compilation with Rust to continue using cc (gcc) and binutils.

We don't generally support cross compilation at all though, so as far as I'm concerned, you can assume such users have rustup toolchains. Just don't break my native compilation, please! 😄

@Mark-Simulacrum
Copy link
Member

I don't really object to installing it by default; that way it's not a roadblock. I just don't really feel like it fits well into the rustc component. Having it as a separate component would also enable us to remove it with very visible messaging (instead of "file not found" messages) and/or ship it as a -preview component, for example.

If I understand correctly that these tools are primarily intended for embedded development, perhaps there's a way we can have them auto-install as part of the "cargo template" solution we're looking for? In theory there's no particular reason a build script or template script (if these exist?) couldn't go fetch them from static.r-l.o...

@japaric
Copy link
Member Author

japaric commented May 1, 2018

@cuviper Thanks for the hint. Setting CMAKE_EXE_LINKER_FLAGS seems to have done the trick.

I'm seeing 1MB increase in both the tar.gz and the tar.xz tarballs after statically linking to libstdc++ and adding llvm-profdata.

@alexcrichton
Copy link
Member

@bors: try

@bors
Copy link
Contributor

bors commented May 1, 2018

⌛ Trying commit 7d2e24f7f54a7f4bfc61f9c522e8bf9e49b38d41 with merge e65039eccd58896b04fae96a79e9df3b9870aee7...

@alexcrichton
Copy link
Member

@japaric is there perhaps a good location in the "embedded setup workflow" to automatically inject installation of these tools?

@bors
Copy link
Contributor

bors commented May 1, 2018

☀️ Test successful - status-travis
State: approved= try=True

@alexcrichton
Copy link
Member

Ok the binary artifacts themselves look good to me! I think we just need to figure out "component or not" now

@japaric
Copy link
Member Author

japaric commented May 1, 2018

@alexcrichton the setup looks like this:

  • Install OpenOCD (a) and arm-none-eabi-gdb (b). Once and distro specific
  • rustup target add thumbv7m-none-eabi. Once, per target.
  • cargo install cargo-binutils. Once-ish (may need to be updated every now and then)
  • Instantiate Cargo template. Per binary project.

(a) Distro specific installation until someone Rewrites It In Rust
(b) Until lldb ships with rust and we figure out how to make it work as nicely as GDB (i.e. OpenOCD integration)

We could do one of these to not increase the number of setup steps:

  • Install the LLVM tools with the rustup target add command ... but there's nothing target specific about the tools; they are also useful to inspect native binaries (also profiling).
  • Have the cargo-binutils subcommand implicitly install the llvm-tools rustup component (if not there already) when invoked ... but some people don't like automatic downloads.
  • Have the Cargo template install the llvm-tools rustup component on instantiation ... but I don't know if that's even in scope for the Cargo template feature.

@jcsoo
Copy link

jcsoo commented May 1, 2018

I'll make the argument that these tools belong with rustc because they are used for introspecting and manipulating the output of the compiler itself, and it's an oversight that they haven't been included in the past. objcopy could easily be implemented in rustc as an additional flag for specifying an output format, but for various reasons it's been split out into a separate binary, just like lld.

This is different than rustfmt or rls, tools primarily concerned with introspecting or manipulating user code.

If these tools were much bigger (tens or hundreds of megabytes), I would be sympathetic with the argument that we should create a new component for them, but I don't think it's a great user experience to have a component that we advertise to the user but that turns out in some cases to do nothing once they install it.

@alexcrichton
Copy link
Member

Ok thanks for the info! With all that in mind I'm personally still tempted to ship these by default and starting to leverage the in the ecosystem.

I'd want to also cc @rust-lang/dev-tools, however, as this is likely most directly impacting y'all!

@Mark-Simulacrum
Copy link
Member

With these arguments in mind I also agree that at least for now we can probably ship these in the rustc component and re-evaluate if necessary later down the line. I'd like for there to be documentation somewhere semi-official (e.g., the forge, maybe an RFC) that states the APIs of these tools and their existence is not part of Rust's stability promises. I imagine that in practice we'll do our best to avoid breakage but I would like to have that stated somewhere. (Of course, this is presuming we agree with such a guarantee.)

@michaelwoerister
Copy link
Member

Would this help with #50000, where I'd like llvm-objdump to be available for run-make tests?

@TimNN TimNN added the S-waiting-on-team Status: Awaiting decision from the relevant subteam (see the T-<team> label). label May 8, 2018
@japaric
Copy link
Member Author

japaric commented Jun 20, 2018

Looking at how -static-libstdc++ is used in native::configure_cmake I'm omitting it for Windows
like configure_cmake does. I'm also omitting -Bsymbolic on macOS as its C toolchain doesn't
support it (as evidenced in the Travis failure).

r? latest changes @alexcrichton

@kennytm kennytm added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 20, 2018
@Mark-Simulacrum
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jun 20, 2018

📌 Commit 9a96876 has been approved by Mark-Simulacrum

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

bors commented Jun 21, 2018

⌛ Testing commit 9a96876 with merge debd38f92e45eb55b4d124852b411ae1432c723b...

@bors
Copy link
Contributor

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

The job dist-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:03:11]       Memory: 8 GB
[00:03:11]       Boot ROM Version: VMW71.00V.0.B64.1704110547
[00:03:11]       Apple ROM Info: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]Welcome to the Virtual Machine
[00:03:11]       SMC Version (system): 2.8f0
[00:03:11]       Serial Number (system): VMSMu2GTzXeQ
[00:03:11] 
[00:03:11] hw.ncpu: 4
[00:03:11] hw.byteorder: 1234
[00:03:11] hw.memsize: 8589934592
---
[00:06:45] [TIMING] ToolBuild { compiler: Compiler { stage: 0, host: "x86_64-apple-darwin" }, target: "x86_64-apple-darwin", tool: "tidy", path: "src/tools/tidy", mode: ToolStd, is_ext_tool: false, extra_features: [] } -- 68.488
[00:06:45] travis_fold:start:llvm
travis_time:start:llvm
Building LLVM for x86_64-apple-darwin
[00:06:45] running: "cmake" "/Users/travis/build/rust-lang/rust/src/llvm" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;Mips;PowerPC;SystemZ;MSP430;Sparc;NVPTX;Hexagon" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_INCLUDE_DOCS=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DWITH_POLLY=OFF" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_ENABLE_LIBEDIT=OFF" "-DLLVM_ENABLE_LIBXML2=OFF" "-DLLVM_PARALLEL_COMPILE_JOBS=4" "-DLLVM_TARGET_ARCH=x86_64" "-DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-apple-darwin" "-DLLVM_OCAML_INSTALL_PATH=usr/lib/ocaml" "-DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++" "-DCMAKE_C_COMPILER=sccache" "-DCMAKE_C_COMPILER_ARG1=/Users/travis/build/rust-lang/rust/clang+llvm-6.0.0-x86_64-apple-darwin/bin/clang" "-DCMAKE_CXX_COMPILER=sccache" "-DCMAKE_CXX_COMPILER_ARG1=/Users/travis/build/rust-lang/rust/clang+llvm-6.0.0-x86_64-apple-darwin/bin/clang++" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections -fPIC --target=x86_64-apple-darwin -stdlib=libc++" "-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC --target=x86_64-apple-darwin -stdlib=libc++" "-DCMAKE_INSTALL_PREFIX=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm" "-DCMAKE_BUILD_TYPE=Release"
[00:06:46] -- The CXX compiler identification is Clang 6.0.0
[00:06:46] -- The ASM compiler identification is Clang
[00:06:46] -- Found assembler: /usr/local/bin/sccache
[00:06:46] -- Check for working C compiler: /usr/local/bin/sccache
---
[00:14:47] [ 15%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/Formatters.cpp.o
[00:14:48] [ 15%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SearchableTableEmitter.cpp.o
[00:14:49] [ 15%] Linking CXX executable ../../bin/FileCheck
[00:14:49] [ 15%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/GlobalTypeTableBuilder.cpp.o
[00:14:49] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:14:49] Scanning dependencies of target llvm-PerfectShuffle
[00:14:49] [ 15%] Building CXX object utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/PerfectShuffle.cpp.o
[00:14:50] [ 15%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolLabel.cpp.o
[00:14:52] [ 15%] Linking CXX executable ../../bin/llvm-PerfectShuffle
[00:14:52] [ 15%] Linking CXX executable ../../bin/llvm-PerfectShuffle
[00:14:52] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:14:52] Scanning dependencies of target count
[00:14:52] [ 15%] Building C object utils/count/CMakeFiles/count.dir/count.c.o
[00:14:52] [ 15%] Linking C executable ../../bin/count
[00:14:52] [ 15%] Linking C executable ../../bin/count
[00:14:53] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:14:53] Scanning dependencies of target not
[00:14:53] [ 15%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolPublicSymbol.cpp.o
[00:14:53] [ 15%] Building CXX object utils/not/CMakeFiles/not.dir/not.cpp.o
[00:14:53] [ 15%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetEmitter.cpp.o
[00:14:53] [ 15%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetEmitter.cpp.o
[00:14:53] [ 15%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/LazyRandomTypeCollection.cpp.o
[00:14:54] [ 15%] Linking CXX executable ../../bin/not
[00:14:55] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:14:55] Scanning dependencies of target yaml-bench
[00:14:55] [ 15%] Building CXX object utils/yaml-bench/CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o
[00:14:55] [ 15%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolThunk.cpp.o
[00:14:57] [ 15%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/Line.cpp.o
[00:14:57] [ 15%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/Line.cpp.o
[00:14:57] [ 15%] Linking CXX executable ../../bin/yaml-bench
[00:14:57] [ 15%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeArray.cpp.o
[00:14:58] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:14:58] [ 15%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetFeatureInfo.cpp.o
[00:14:59] [ 15%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/MergingTypeTableBuilder.cpp.o
[00:15:00] [ 15%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBaseClass.cpp.o
[00:15:01] Scanning dependencies of target LTO_exports
---
[00:15:03] [ 15%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBuiltin.cpp.o
[00:15:05] [ 15%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o
[00:15:06] [ 15%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeCustom.cpp.o
[00:15:07] [ 16%] Linking CXX executable ../../bin/llvm-config
[00:15:07] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:15:08] [ 16%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/RecordSerialization.cpp.o
[00:15:08] [ 16%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/Types.cpp.o
[00:15:08] Scanning dependencies of target BugpointPasses_exports
[00:15:08] [ 16%] Creating export file for BugpointPasses
---
[00:15:09] [ 16%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeDimension.cpp.o
[00:15:11] [ 16%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/SimpleTypeSerializer.cpp.o
[00:15:12] [ 16%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeEnum.cpp.o
[00:15:12] [ 16%] Linking CXX executable ../../bin/llvm-cxxfilt
[00:15:12] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:15:12] Scanning dependencies of target llvm-go
[00:15:12] [ 16%] Building Go executable llvm-go
[00:15:13] [ 16%] Built target llvm-go
[00:15:13] Scanning dependencies of target llvm-mcmarkup
[00:15:13] Scanning dependencies of target llvm-mcmarkup
[00:15:13] [ 16%] Building CXX object tools/llvm-mcmarkup/CMakeFiles/llvm-mcmarkup.dir/llvm-mcmarkup.cpp.o
[00:15:14] [ 17%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFriend.cpp.o
[00:15:15] [ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/StringsAndChecksums.cpp.o
[00:15:15] [ 17%] Linking CXX executable ../../bin/llvm-mcmarkup
[00:15:15] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:15:15] [ 17%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86EVEX2VEXTablesEmitter.cpp.o
[00:15:17] [ 17%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFunctionArg.cpp.o
[00:15:18] [ 17%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/SymbolRecordMapping.cpp.o
[00:15:19] [ 17%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFunctionSig.cpp.o
---
[00:15:32] [ 17%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeVTableShape.cpp.o
[00:15:32] [ 17%] Built target obj.llvm-tblgen
[00:15:32] Scanning dependencies of target llvm-tblgen
[00:15:32] [ 17%] Linking CXX executable ../../bin/llvm-tblgen
[00:15:32] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:15:33] Scanning dependencies of target AttributeCompatFuncTableGen
[00:15:33] [ 17%] Building AttributesCompatFunc.inc...
[00:15:33] [ 17%] Updating AttributesCompatFunc.inc...
[00:15:33] [ 17%] Built target AttributeCompatFuncTableGen
---
[00:38:28] [ 63%] Built target LLVMXRay
[00:38:28] Scanning dependencies of target llvm-bcanalyzer
[00:38:28] [ 64%] Building CXX object tools/llvm-bcanalyzer/CMakeFiles/llvm-bcanalyzer.dir/llvm-bcanalyzer.cpp.o
[00:38:34] [ 64%] Linking CXX executable ../../bin/llvm-profdata
[00:38:34] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:38:34] [ 64%] Linking CXX executable ../../bin/llvm-bcanalyzer
[00:38:34] Scanning dependencies of target LLVMCFIVerify
[00:38:34] [ 64%] Building CXX object tools/llvm-cfi-verify/lib/CMakeFiles/LLVMCFIVerify.dir/FileAnalysis.cpp.o
[00:38:34] [ 64%] Building CXX object tools/llvm-cfi-verify/lib/CMakeFiles/LLVMCFIVerify.dir/FileAnalysis.cpp.o
[00:38:34] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:38:34] Scanning dependencies of target llvm-cov
[00:38:34] [ 64%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/llvm-cov.cpp.o
[00:38:36] [ 64%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/gcov.cpp.o
[00:38:37] [ 64%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScalarEvolutionExpander.cpp.o
---
[00:38:50] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TargetLibraryInfo.cpp.o
[00:38:52] [ 65%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageFilters.cpp.o
[00:38:52] [ 65%] Linking CXX executable ../../bin/llvm-cvtres
[00:38:53] [ 65%] Linking CXX static library ../libLLVMPasses.a
[00:38:53] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:38:53] [ 65%] Built target LLVMPasses
[00:38:53] Scanning dependencies of target llvm-diff
[00:38:53] [ 65%] Building CXX object tools/llvm-diff/CMakeFiles/llvm-diff.dir/llvm-diff.cpp.o
[00:38:53] Scanning dependencies of target llvm-dis
[00:38:53] Scanning dependencies of target llvm-dis
[00:38:53] [ 65%] Building CXX object tools/llvm-dis/CMakeFiles/llvm-dis.dir/llvm-dis.cpp.o
[00:38:55] [ 65%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageReport.cpp.o
[00:38:56] [ 65%] Building CXX object tools/llvm-diff/CMakeFiles/llvm-diff.dir/DiffConsumer.cpp.o
[00:38:57] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TargetTransformInfo.cpp.o
[00:38:59] [ 65%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageSummaryInfo.cpp.o
[00:39:00] [ 65%] Building CXX object tools/llvm-diff/CMakeFiles/llvm-diff.dir/DiffLog.cpp.o
[00:39:00] [ 65%] Linking CXX executable ../../bin/llvm-dis
[00:39:00] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:00] Scanning dependencies of target llvm-mt
[00:39:00] [ 65%] Building CXX object tools/llvm-mt/CMakeFiles/llvm-mt.dir/llvm-mt.cpp.o
[00:39:01] [ 65%] Building CXX object tools/llvm-diff/CMakeFiles/llvm-diff.dir/DifferenceEngine.cpp.o
[00:39:02] [ 65%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageView.cpp.o
[00:39:02] [ 65%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageView.cpp.o
[00:39:03] [ 65%] Linking CXX executable ../../bin/llvm-mt
[00:39:03] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:03] Scanning dependencies of target llvm-objcopy
[00:39:03] [ 65%] Building CXX object tools/llvm-objcopy/CMakeFiles/llvm-objcopy.dir/llvm-objcopy.cpp.o
[00:39:04] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/Trace.cpp.o
[00:39:06] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TypeBasedAliasAnalysis.cpp.o
[00:39:06] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TypeBasedAliasAnalysis.cpp.o
[00:39:06] [ 65%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageViewHTML.cpp.o
[00:39:06] [ 65%] Linking CXX executable ../../bin/llvm-diff
[00:39:06] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:07] Scanning dependencies of target llvm-opt-report
[00:39:07] [ 65%] Building CXX object tools/llvm-opt-report/CMakeFiles/llvm-opt-report.dir/OptReport.cpp.o
[00:39:10] [ 65%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageViewText.cpp.o
[00:39:10] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TypeMetadataUtils.cpp.o
[00:39:10] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TypeMetadataUtils.cpp.o
[00:39:12] [ 65%] Linking CXX executable ../../bin/llvm-opt-report
[00:39:12] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:12] Scanning dependencies of target llvm-pdbutil
[00:39:12] [ 65%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/Analyze.cpp.o
[00:39:14] [ 65%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/TestingSupport.cpp.o
[00:39:14] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScopedNoAliasAA.cpp.o
[00:39:14] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScopedNoAliasAA.cpp.o
[00:39:16] [ 65%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/BytesOutputStyle.cpp.o
[00:39:16] [ 65%] Linking CXX executable ../../bin/llvm-cov
[00:39:17] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:17] Scanning dependencies of target llvm-rc
[00:39:17] [ 65%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/llvm-rc.cpp.o
[00:39:18] [ 65%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueLattice.cpp.o
[00:39:19] [ 65%] Building CXX object tools/llvm-objcopy/CMakeFiles/llvm-objcopy.dir/Object.cpp.o
---
[00:39:25] [ 66%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptParser.cpp.o
[00:39:27] [ 66%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/DiffPrinter.cpp.o
[00:39:29] [ 66%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/DumpOutputStyle.cpp.o
[00:39:29] [ 66%] Linking CXX executable ../../bin/llvm-objcopy
[00:39:29] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:30] Scanning dependencies of target llvm-readobj
[00:39:30] [ 66%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ARMWinEHPrinter.cpp.o
[00:39:30] [ 66%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptStmt.cpp.o
[00:39:32] [ 66%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/VectorUtils.cpp.o
[00:39:32] [ 66%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/VectorUtils.cpp.o
[00:39:33] [ 66%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptToken.cpp.o
[00:39:33] [ 66%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/COFFDumper.cpp.o
[00:39:35] [ 66%] Linking CXX executable ../../bin/llvm-rc
[00:39:35] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:35] Scanning dependencies of target llvm-size
[00:39:35] [ 66%] Building CXX object tools/llvm-size/CMakeFiles/llvm-size.dir/llvm-size.cpp.o
[00:39:38] [ 66%] Linking CXX static library ../libLLVMAnalysis.a
[00:39:38] [ 66%] Built target LLVMAnalysis
[00:39:38] [ 66%] Built target LLVMAnalysis
[00:39:38] Scanning dependencies of target llvm-strings
[00:39:38] [ 66%] Building CXX object tools/llvm-strings/CMakeFiles/llvm-strings.dir/llvm-strings.cpp.o
[00:39:41] [ 66%] Linking CXX executable ../../bin/llvm-size
[00:39:41] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:41] Scanning dependencies of target llvm-symbolizer
[00:39:41] [ 66%] Linking CXX executable ../../bin/llvm-strings
[00:39:41] [ 66%] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer.cpp.o
[00:39:41] [ 66%] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer.cpp.o
[00:39:41] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:41] Scanning dependencies of target obj2yaml
[00:39:41] [ 66%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/obj2yaml.cpp.o
[00:39:43] [ 66%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/COFFImportDumper.cpp.o
[00:39:45] [ 66%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/InputFile.cpp.o
[00:39:45] [ 66%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/InputFile.cpp.o
[00:39:45] [ 66%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/coff2yaml.cpp.o
[00:39:46] [ 66%] Linking CXX executable ../../bin/llvm-symbolizer
[00:39:46] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:46] Scanning dependencies of target sanstats
[00:39:46] [ 66%] Building CXX object tools/sanstats/CMakeFiles/sanstats.dir/sanstats.cpp.o
[00:39:47] [ 66%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ELFDumper.cpp.o
[00:39:51] [ 66%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/dwarf2yaml.cpp.o
[00:39:51] [ 66%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/dwarf2yaml.cpp.o
[00:39:52] [ 66%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/llvm-pdbutil.cpp.o
[00:39:53] [ 66%] Linking CXX executable ../../bin/sanstats
[00:39:53] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:39:53] [ 66%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/Error.cpp.o
[00:39:54] [ 66%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/elf2yaml.cpp.o
[00:39:58] [ 66%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/llvm-readobj.cpp.o
[00:40:04] [ 66%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/macho2yaml.cpp.o
---
[00:40:18] [ 66%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/Error.cpp.o
[00:40:20] Scanning dependencies of target verify-uselistorder
[00:40:20] [ 66%] Building CXX object tools/verify-uselistorder/CMakeFiles/verify-uselistorder.dir/verify-uselistorder.cpp.o
[00:40:20] [ 66%] Linking CXX executable ../../bin/obj2yaml
[00:40:21] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:40:21] Scanning dependencies of target yaml2obj
[00:40:21] [ 66%] Building CXX object tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2obj.cpp.o
[00:40:23] [ 66%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/WasmDumper.cpp.o
[00:40:24] [ 66%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/MinimalTypeDumper.cpp.o
[00:40:24] [ 66%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/MinimalTypeDumper.cpp.o
[00:40:26] [ 67%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/Win64EHDumper.cpp.o
[00:40:27] [ 67%] Building CXX object tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2coff.cpp.o
[00:40:28] [ 67%] Linking CXX executable ../../bin/verify-uselistorder
[00:40:28] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:40:28] [ 67%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PdbYaml.cpp.o
[00:40:30] [ 67%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/WindowsResourceDumper.cpp.o
[00:40:33] [ 67%] Building CXX object tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2elf.cpp.o
[00:40:33] Scanning dependencies of target LLVMX86CodeGen
[00:40:33] Scanning dependencies of target LLVMX86CodeGen
[00:40:33] [ 67%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86AsmPrinter.cpp.o
[00:40:33] [ 67%] Linking CXX executable ../../bin/llvm-readobj
[00:40:33] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:40:34] [ 67%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyBuiltinDumper.cpp.o
[00:40:35] Scanning dependencies of target LLVMX86AsmParser
[00:40:35] [ 67%] Building CXX object lib/Target/X86/AsmParser/CMakeFiles/LLVMX86AsmParser.dir/X86AsmInstrumentation.cpp.o
[00:40:37] [ 67%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyClassDefinitionDumper.cpp.o
---
[00:40:49] [ 67%] Building CXX object tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2wasm.cpp.o
[00:40:51] [ 67%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyExternalSymbolDumper.cpp.o
[00:40:54] [ 68%] Linking CXX executable ../../bin/yaml2obj
[00:40:54] [ 68%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyFunctionDumper.cpp.o
[00:40:54] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:40:56] Scanning dependencies of target LLVMX86Disassembler
[00:40:56] [ 68%] Building CXX object lib/Target/X86/Disassembler/CMakeFiles/LLVMX86Disassembler.dir/X86Disassembler.cpp.o
[00:40:56] [ 68%] Linking CXX static library ../../../libLLVMX86AsmParser.a
[00:40:56] [ 68%] Built target LLVMX86AsmParser
---
[00:41:19] Scanning dependencies of target LLVMX86Utils
[00:41:19] [ 71%] Building CXX object lib/Target/X86/Utils/CMakeFiles/LLVMX86Utils.dir/X86ShuffleDecode.cpp.o
[00:41:19] [ 71%] Linking CXX executable ../../bin/llvm-pdbutil
[00:41:20] [ 71%] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86DomainReassignment.cpp.o
[00:41:20] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:41:21] Scanning dependencies of target LLVMARMCodeGen
[00:41:21] [ 71%] Building CXX object lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/A15SDOptimizer.cpp.o
[00:41:21] [ 71%] Linking CXX static library ../../../libLLVMX86Utils.a
[00:41:21] [ 71%] Built target LLVMX86Utils
---
[00:53:59] [ 91%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonGatherPacketize.cpp.o
[00:54:01] [ 91%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyLowerEmscriptenEHSjLj.cpp.o
[00:54:02] [ 91%] Building CXX object tools/lli/CMakeFiles/lli.dir/OrcLazyJIT.cpp.o
[00:54:03] [ 91%] Linking CXX executable ../../../bin/lli-child-target
[00:54:04] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:04] Scanning dependencies of target llvm-as
[00:54:04] [ 91%] Building CXX object tools/llvm-as/CMakeFiles/llvm-as.dir/llvm-as.cpp.o
[00:54:05] [ 91%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonGenExtract.cpp.o
[00:54:07] [ 91%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyLowerGlobalDtors.cpp.o
[00:54:07] [ 91%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyLowerGlobalDtors.cpp.o
[00:54:08] [ 91%] Linking CXX executable ../../bin/llvm-as
[00:54:08] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:09] Scanning dependencies of target llvm-cat
[00:54:09] [ 91%] Building CXX object tools/llvm-cat/CMakeFiles/llvm-cat.dir/llvm-cat.cpp.o
[00:54:09] [ 91%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonGenInsert.cpp.o
[00:54:12] [ 91%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyMachineFunctionInfo.cpp.o
[00:54:12] [ 91%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyMachineFunctionInfo.cpp.o
[00:54:12] [ 91%] Linking CXX executable ../../bin/lli
[00:54:13] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:13] Scanning dependencies of target llvm-cfi-verify
[00:54:13] [ 91%] Building CXX object tools/llvm-cfi-verify/CMakeFiles/llvm-cfi-verify.dir/llvm-cfi-verify.cpp.o
[00:54:13] [ 91%] Linking CXX executable ../../bin/llvm-cat
[00:54:13] [ 91%] Linking CXX executable ../../bin/llvm-cat
[00:54:14] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:14] [ 91%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonGenMux.cpp.o
[00:54:18] [ 91%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyMCInstLower.cpp.o
[00:54:19] [ 91%] Linking CXX executable ../../bin/llvm-cfi-verify
[00:54:19] [ 91%] Linking CXX executable ../../bin/llvm-cfi-verify
[00:54:19] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:19] Scanning dependencies of target llvm-demangle-fuzzer
[00:54:19] [ 91%] Building CXX object tools/llvm-demangle-fuzzer/CMakeFiles/llvm-demangle-fuzzer.dir/DummyDemanglerFuzzer.cpp.o
[00:54:21] [ 92%] Building CXX object tools/llvm-demangle-fuzzer/CMakeFiles/llvm-demangle-fuzzer.dir/llvm-demangle-fuzzer.cpp.o
[00:54:22] [ 92%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyOptimizeLiveIntervals.cpp.o
[00:54:22] [ 92%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyOptimizeLiveIntervals.cpp.o
[00:54:22] [ 92%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonGenPredicate.cpp.o
[00:54:22] [ 92%] Linking CXX executable ../../bin/llvm-demangle-fuzzer
[00:54:22] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:22] [ 92%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyOptimizeReturned.cpp.o
[00:54:25] Scanning dependencies of target llvm-dwarfdump
[00:54:25] [ 92%] Building CXX object tools/llvm-dwarfdump/CMakeFiles/llvm-dwarfdump.dir/Statistics.cpp.o
[00:54:26] [ 92%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonHardwareLoops.cpp.o
[00:54:26] [ 92%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonHardwareLoops.cpp.o
[00:54:28] [ 92%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyPeephole.cpp.o
[00:54:29] [ 92%] Building CXX object tools/llvm-dwarfdump/CMakeFiles/llvm-dwarfdump.dir/llvm-dwarfdump.cpp.o
[00:54:30] Scanning dependencies of target llvm-extract
[00:54:30] [ 92%] Building CXX object tools/llvm-extract/CMakeFiles/llvm-extract.dir/llvm-extract.cpp.o
[00:54:34] [ 92%] Linking CXX executable ../../bin/llvm-dwarfdump
[00:54:35] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:35] [ 92%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyPrepareForLiveIntervals.cpp.o
[00:54:35] Scanning dependencies of target llvm-link
[00:54:35] [ 92%] Building CXX object tools/llvm-link/CMakeFiles/llvm-link.dir/llvm-link.cpp.o
[00:54:35] [ 92%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonHazardRecognizer.cpp.o
[00:54:35] [ 92%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonHazardRecognizer.cpp.o
[00:54:36] [ 92%] Linking CXX executable ../../bin/llvm-extract
[00:54:36] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:36] Scanning dependencies of target llvm-mc
[00:54:36] [ 92%] Building CXX object tools/llvm-mc/CMakeFiles/llvm-mc.dir/llvm-mc.cpp.o
[00:54:42] [ 92%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyRegisterInfo.cpp.o
[00:54:42] [ 92%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonInstrInfo.cpp.o
[00:54:42] [ 92%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonInstrInfo.cpp.o
[00:54:42] [ 92%] Building CXX object tools/llvm-mc/CMakeFiles/llvm-mc.dir/Disassembler.cpp.o
[00:54:42] [ 92%] Linking CXX executable ../../bin/llvm-link
[00:54:43] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:43] [ 92%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyRegColoring.cpp.o
[00:54:45] [ 92%] Linking CXX executable ../../bin/llvm-mc
[00:54:45] [ 92%] Linking CXX executable ../../bin/llvm-mc
[00:54:46] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:46] Scanning dependencies of target llvm-modextract
[00:54:46] [ 92%] Building CXX object tools/llvm-modextract/CMakeFiles/llvm-modextract.dir/llvm-modextract.cpp.o
[00:54:48] Scanning dependencies of target llvm-nm
[00:54:48] [ 92%] Building CXX object tools/llvm-nm/CMakeFiles/llvm-nm.dir/llvm-nm.cpp.o
[00:54:48] [ 92%] Building CXX object tools/llvm-nm/CMakeFiles/llvm-nm.dir/llvm-nm.cpp.o
[00:54:49] [ 92%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyRegNumbering.cpp.o
[00:54:50] [ 93%] Linking CXX executable ../../bin/llvm-modextract
[00:54:50] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:50] Scanning dependencies of target llvm-objdump
[00:54:51] [ 93%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o
[00:54:51] [ 94%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonISelDAGToDAG.cpp.o
[00:54:55] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyRegStackify.cpp.o
[00:54:55] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyRegStackify.cpp.o
[00:54:56] [ 94%] Linking CXX executable ../../bin/llvm-nm
[00:54:57] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:57] Scanning dependencies of target llvm-readelf
[00:54:57] [ 94%] Generating ../../bin/llvm-readelf
[00:54:57] [ 94%] Built target llvm-readelf
[00:54:57] Scanning dependencies of target llvm-special-case-list-fuzzer
[00:54:57] Scanning dependencies of target llvm-special-case-list-fuzzer
[00:54:57] [ 94%] Building CXX object tools/llvm-special-case-list-fuzzer/CMakeFiles/llvm-special-case-list-fuzzer.dir/DummySpecialCaseListFuzzer.cpp.o
[00:54:57] [ 94%] Building CXX object tools/llvm-special-case-list-fuzzer/CMakeFiles/llvm-special-case-list-fuzzer.dir/special-case-list-fuzzer.cpp.o
[00:54:59] [ 94%] Linking CXX executable ../../bin/llvm-special-case-list-fuzzer
[00:54:59] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:54:59] Scanning dependencies of target llvm-split
[00:54:59] [ 94%] Building CXX object tools/llvm-split/CMakeFiles/llvm-split.dir/llvm-split.cpp.o
[00:55:03] [ 94%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonISelDAGToDAGHVX.cpp.o
[00:55:03] [ 94%] Linking CXX executable ../../bin/llvm-split
[00:55:03] [ 94%] Linking CXX executable ../../bin/llvm-split
[00:55:03] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyReplacePhysRegs.cpp.o
[00:55:03] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:55:04] Scanning dependencies of target llvm-stress
[00:55:04] [ 94%] Building CXX object tools/llvm-stress/CMakeFiles/llvm-stress.dir/llvm-stress.cpp.o
[00:55:04] [ 94%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o
[00:55:08] [ 94%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o
[00:55:08] [ 94%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o
[00:55:09] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyRuntimeLibcallSignatures.cpp.o
[00:55:09] [ 94%] Linking CXX executable ../../bin/llvm-stress
[00:55:10] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:55:10] [ 94%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonISelLowering.cpp.o
[00:55:11] [ 94%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/MachODump.cpp.o
[00:55:13] [ 94%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/WasmDump.cpp.o
[00:55:15] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblySelectionDAGInfo.cpp.o
[00:55:15] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblySelectionDAGInfo.cpp.o
[00:55:16] Scanning dependencies of target sancov
[00:55:16] [ 94%] Building CXX object tools/sancov/CMakeFiles/sancov.dir/sancov.cc.o
[00:55:18] [ 94%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonISelLoweringHVX.cpp.o
[00:55:20] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblySetP2AlignOperands.cpp.o
[00:55:24] [ 94%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonLoopIdiomRecognition.cpp.o
[00:55:25] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyStoreResults.cpp.o
[00:55:26] [ 94%] Linking CXX executable ../../bin/sancov
[00:55:27] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:55:27] [ 94%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonMachineFunctionInfo.cpp.o
[00:55:28] [ 94%] Linking CXX executable ../../bin/llvm-objdump
[00:55:28] [ 94%] Linking CXX executable ../../bin/llvm-objdump
[00:55:28] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:55:28] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblySubtarget.cpp.o
[00:55:31] [ 94%] Building CXX object lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyTargetMachine.cpp.o
[00:55:31] [ 94%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonMachineScheduler.cpp.o
[00:55:34] [ 94%] Building CXX object lib/Target/Hexagon/CMakeFiles/LLVMHexagonCodeGen.dir/HexagonMCInstLower.cpp.o
---
[00:56:26] [ 96%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/BugDriver.cpp.o
[00:56:27] [ 96%] Building CXX object tools/lto/CMakeFiles/LTO.dir/lto.cpp.o
[00:56:31] [ 96%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/CrashDebugger.cpp.o
[00:56:31] [ 96%] Linking CXX executable ../../bin/llvm-ar
[00:56:31] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:56:31] [ 96%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/ExecutionDriver.cpp.o
[00:56:34] [ 96%] Linking CXX shared library ../../lib/libLTO.dylib
[00:56:36] Scanning dependencies of target llvm-dsymutil
[00:56:36] [ 96%] Built target LTO
[00:56:36] [ 96%] Built target LTO
[00:56:36] [ 96%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/ExtractFunction.cpp.o
[00:56:36] [ 96%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/dsymutil.cpp.o
[00:56:37] [ 96%] Linking CXX executable ../../bin/llvm-lto
[00:56:38] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:56:38] Scanning dependencies of target llc
[00:56:38] [ 96%] Building CXX object tools/llc/CMakeFiles/llc.dir/llc.cpp.o
[00:56:42] [ 96%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/BinaryHolder.cpp.o
[00:56:42] Scanning dependencies of target llvm-c-test
---
[00:56:47] [ 96%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/object.c.o
[00:56:48] [ 96%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/targets.c.o
[00:56:48] [ 96%] Linking CXX executable ../../bin/llvm-c-test
[00:56:48] [ 96%] Linking CXX executable ../../bin/llc
[00:56:49] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:56:49] [ 96%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/OptimizerDriver.cpp.o
[00:56:49] [ 96%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/OptimizerDriver.cpp.o
[00:56:50] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:56:50] [ 96%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/DwarfLinker.cpp.o
[00:56:51] Scanning dependencies of target llvm-cxxdump
[00:56:51] [ 96%] Building CXX object tools/llvm-cxxdump/CMakeFiles/llvm-cxxdump.dir/llvm-cxxdump.cpp.o
[00:56:53] Scanning dependencies of target llvm-dwp
[00:56:53] Scanning dependencies of target llvm-dwp
[00:56:53] [ 96%] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp.cpp.o
[00:56:54] [ 96%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/ToolRunner.cpp.o
[00:56:58] [ 96%] Building CXX object tools/llvm-cxxdump/CMakeFiles/llvm-cxxdump.dir/Error.cpp.o
[00:56:59] [ 97%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/bugpoint.cpp.o
[00:56:59] [ 97%] Linking CXX executable ../../bin/llvm-cxxdump
[00:56:59] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:56:59] Scanning dependencies of target llvm-isel-fuzzer
[00:56:59] [ 97%] Building CXX object tools/llvm-isel-fuzzer/CMakeFiles/llvm-isel-fuzzer.dir/DummyISelFuzzer.cpp.o
[00:57:01] [ 97%] Building CXX object tools/llvm-isel-fuzzer/CMakeFiles/llvm-isel-fuzzer.dir/llvm-isel-fuzzer.cpp.o
[00:57:01] [ 98%] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/DWPError.cpp.o
[00:57:01] [ 98%] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/DWPError.cpp.o
[00:57:02] [ 98%] Linking CXX executable ../../bin/llvm-dwp
[00:57:04] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:57:04] Scanning dependencies of target llvm-lto2
[00:57:04] [ 98%] Building CXX object tools/llvm-lto2/CMakeFiles/llvm-lto2.dir/llvm-lto2.cpp.o
[00:57:06] [ 98%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/MachODebugMapParser.cpp.o
[00:57:07] [ 98%] Linking CXX executable ../../bin/bugpoint
[00:57:07] [ 98%] Linking CXX executable ../../bin/bugpoint
[00:57:08] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:57:09] [ 98%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/MachOUtils.cpp.o
[00:57:10] Scanning dependencies of target llvm-opt-fuzzer
[00:57:10] [ 98%] Building CXX object tools/llvm-opt-fuzzer/CMakeFiles/llvm-opt-fuzzer.dir/DummyOptFuzzer.cpp.o
[00:57:12] [ 98%] Building CXX object tools/llvm-opt-fuzzer/CMakeFiles/llvm-opt-fuzzer.dir/llvm-opt-fuzzer.cpp.o
[00:57:12] [ 98%] Building CXX object tools/llvm-opt-fuzzer/CMakeFiles/llvm-opt-fuzzer.dir/llvm-opt-fuzzer.cpp.o
[00:57:12] [ 98%] Linking CXX executable ../../bin/llvm-isel-fuzzer
[00:57:13] [ 98%] Linking CXX executable ../../bin/llvm-dsymutil
[00:57:13] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:57:13] Scanning dependencies of target llvm-rtdyld
[00:57:13] [ 98%] Building CXX object tools/llvm-rtdyld/CMakeFiles/llvm-rtdyld.dir/llvm-rtdyld.cpp.o
[00:57:13] [ 98%] Building CXX object tools/llvm-rtdyld/CMakeFiles/llvm-rtdyld.dir/llvm-rtdyld.cpp.o
[00:57:15] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:57:15] Scanning dependencies of target llvm-xray
[00:57:15] [ 98%] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/llvm-xray.cc.o
[00:57:16] [ 98%] Linking CXX executable ../../bin/llvm-lto2
[00:57:17] [ 98%] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/func-id-helper.cc.o
[00:57:17] [ 98%] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/func-id-helper.cc.o
[00:57:18] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:57:18] Scanning dependencies of target opt
[00:57:18] [ 98%] Building CXX object tools/opt/CMakeFiles/opt.dir/AnalysisWrappers.cpp.o
[00:57:20] [ 99%] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-account.cc.o
[00:57:21] [ 99%] Linking CXX executable ../../bin/llvm-rtdyld
[00:57:21] [ 99%] Linking CXX executable ../../bin/llvm-rtdyld
[00:57:21] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:57:21] [100%] Building CXX object tools/opt/CMakeFiles/opt.dir/BreakpointPrinter.cpp.o
[00:57:22] Scanning dependencies of target llvm-lib
[00:57:22] [100%] Generating ../../bin/llvm-lib
[00:57:22] [100%] Built target llvm-lib
[00:57:22] [100%] Built target llvm-lib
[00:57:22] [100%] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-color-helper.cc.o
[00:57:24] [100%] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-converter.cc.o
[00:57:25] [100%] Building CXX object tools/opt/CMakeFiles/opt.dir/Debugify.cpp.o
[00:57:28] [100%] Linking CXX executable ../../bin/llvm-opt-fuzzer
[00:57:30] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:57:30] [100%] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-extract.cc.o
[00:57:30] [100%] Building CXX object tools/opt/CMakeFiles/opt.dir/GraphPrinters.cpp.o
[00:57:31] [100%] Building CXX object tools/opt/CMakeFiles/opt.dir/NewPMDriver.cpp.o
[00:57:33] Scanning dependencies of target llvm-dlltool
---
[00:57:42] [100%] Building CXX object tools/opt/CMakeFiles/opt.dir/opt.cpp.o
[00:57:42] [100%] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-stacks.cc.o
[00:57:43] [100%] Building CXX object tools/llvm-xray/CMakeFiles/llvm-xray.dir/xray-registry.cc.o
[00:57:51] [100%] Linking CXX executable ../../bin/llvm-xray
[00:57:51] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:57:56] [100%] Linking CXX executable ../../bin/opt
[00:57:56] [100%] Linking CXX executable ../../bin/opt
[00:57:57] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[00:57:58] Install the project...
[00:57:58] -- Install configuration: "Release"
[00:57:58] -- Installing: /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/include/llvm
[00:57:58] -- Installing: /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm/include/llvm/ADT
---
[01:14:47] [TIMING] CodegenBackend { compiler: Compiler { stage: 0, host: "x86_64-apple-darwin" }, target: "x86_64-apple-darwin", backend: "llvm" } -- 91.101
[01:14:47] travis_fold:start:llvm
travis_time:start:llvm
Building Emscripten LLVM for x86_64-apple-darwin
[01:14:47] running: "cmake" "/Users/travis/build/rust-lang/rust/src/llvm-emscripten" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_TARGETS_TO_BUILD=JSBackend" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_INCLUDE_DOCS=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DWITH_POLLY=OFF" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_ENABLE_LIBEDIT=OFF" "-DLLVM_ENABLE_LIBXML2=OFF" "-DLLVM_PARALLEL_COMPILE_JOBS=4" "-DLLVM_TARGET_ARCH=x86_64" "-DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-apple-darwin" "-DLLVM_OCAML_INSTALL_PATH=usr/lib/ocaml" "-DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++" "-DCMAKE_C_COMPILER=sccache" "-DCMAKE_C_COMPILER_ARG1=/Users/travis/build/rust-lang/rust/clang+llvm-6.0.0-x86_64-apple-darwin/bin/clang" "-DCMAKE_CXX_COMPILER=sccache" "-DCMAKE_CXX_COMPILER_ARG1=/Users/travis/build/rust-lang/rust/clang+llvm-6.0.0-x86_64-apple-darwin/bin/clang++" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections -fPIC --target=x86_64-apple-darwin -stdlib=libc++" "-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC --target=x86_64-apple-darwin -stdlib=libc++" "-DCMAKE_INSTALL_PREFIX=/Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm-emscripten" "-DCMAKE_BUILD_TYPE=Release"
[01:14:48] -- The CXX compiler identification is Clang 6.0.0
[01:14:48] -- The ASM compiler identification is Clang
[01:14:48] -- Found assembler: /usr/local/bin/sccache
[01:14:48] -- Check for working C compiler: /usr/local/bin/sccache
---
[01:20:07] [ 23%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBaseClass.cpp.o
[01:20:07] Scanning dependencies of target count
[01:20:07] [ 24%] Linking CXX executable ../../bin/llvm-PerfectShuffle
[01:20:07] [ 24%] Building C object utils/count/CMakeFiles/count.dir/count.c.o
[01:20:07] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:20:08] Scanning dependencies of target not
[01:20:08] [ 24%] Building CXX object utils/not/CMakeFiles/not.dir/not.cpp.o
[01:20:08] [ 24%] Linking C executable ../../bin/count
[01:20:08] [ 24%] Linking C executable ../../bin/count
[01:20:08] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:20:08] [ 25%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBuiltin.cpp.o
[01:20:08] [ 25%] Linking CXX executable ../../bin/FileCheck
[01:20:08] [ 25%] Linking CXX executable ../../bin/FileCheck
[01:20:08] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:20:08] [ 25%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeCustom.cpp.o
[01:20:09] [ 25%] Linking CXX executable ../../bin/not
[01:20:09] [ 25%] Linking CXX executable ../../bin/not
[01:20:09] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:20:09] Scanning dependencies of target yaml-bench
[01:20:09] [ 25%] Building CXX object utils/yaml-bench/CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o
[01:20:09] Scanning dependencies of target LTO_exports
[01:20:09] [ 25%] Creating export file for LTO
---
[01:20:10] Scanning dependencies of target llvm-cxxfilt
[01:20:10] [ 25%] Building CXX object tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o
[01:20:10] [ 25%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeDimension.cpp.o
[01:20:11] [ 25%] Linking CXX executable ../../bin/yaml-bench
[01:20:11] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:20:12] Scanning dependencies of target llvm-go
[01:20:12] [ 26%] Building Go executable llvm-go
[01:20:12] [ 26%] Linking CXX executable ../../bin/llvm-cxxfilt
[01:20:12] [ 26%] Linking CXX executable ../../bin/llvm-cxxfilt
[01:20:12] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:20:12] Scanning dependencies of target llvm-mcmarkup
[01:20:12] [ 26%] Building CXX object tools/llvm-mcmarkup/CMakeFiles/llvm-mcmarkup.dir/llvm-mcmarkup.cpp.o
[01:20:12] [ 26%] Built target llvm-go
[01:20:12] Scanning dependencies of target llvm-tblgen
[01:20:12] Scanning dependencies of target llvm-tblgen
[01:20:12] [ 26%] Linking CXX executable ../../bin/llvm-tblgen
[01:20:12] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:20:12] Scanning dependencies of target AttributeCompatFuncTableGen
[01:20:12] [ 26%] Building AttributesCompatFunc.inc...
[01:20:12] [ 26%] Updating AttributesCompatFunc.inc...
[01:20:12] [ 26%] Built target AttributeCompatFuncTableGen
---
[01:20:13] [ 28%] Built target LibOptionsTableGen
[01:20:14] Scanning dependencies of target LLVMCore
[01:20:14] [ 28%] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/AsmWriter.cpp.o
[01:20:14] [ 28%] Linking CXX executable ../../bin/llvm-config
[01:20:14] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:20:14] Scanning dependencies of target LLVMIRReader
[01:20:14] [ 28%] Building CXX object lib/IRReader/CMakeFiles/LLVMIRReader.dir/IRReader.cpp.o
[01:20:14] [ 29%] Linking CXX executable ../../bin/llvm-mcmarkup
[01:20:14] [ 29%] Linking CXX executable ../../bin/llvm-mcmarkup
[01:20:14] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:20:14] [ 29%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFriend.cpp.o
[01:20:16] [ 29%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFunctionArg.cpp.o
[01:20:17] Scanning dependencies of target LLVMCodeGen
[01:20:17] [ 29%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/AggressiveAntiDepBreaker.cpp.o
---
[01:37:20] [ 87%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScalarEvolutionExpander.cpp.o
[01:37:21] [ 87%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/RewriteAtomics.cpp.o
[01:37:25] [ 87%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/RewriteLLVMIntrinsics.cpp.o
[01:37:26] [ 87%] Linking CXX executable ../../bin/llvm-profdata
[01:37:27] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:37:27] Scanning dependencies of target llvm-bcanalyzer
[01:37:27] [ 87%] Building CXX object tools/llvm-bcanalyzer/CMakeFiles/llvm-bcanalyzer.dir/llvm-bcanalyzer.cpp.o
[01:37:28] [ 87%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/RewritePNaClLibraryCalls.cpp.o
[01:37:28] [ 87%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScalarEvolutionNormalization.cpp.o
---
[01:37:31] 1 warning generated.
[01:37:31] [ 88%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/SimplifyAllocas.cpp.o
[01:37:32] [ 88%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/SparsePropagation.cpp.o
[01:37:32] [ 88%] Linking CXX executable ../../bin/llvm-bcanalyzer
[01:37:32] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:37:33] Scanning dependencies of target llvm-cov
[01:37:33] [ 88%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/llvm-cov.cpp.o
[01:37:34] [ 88%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/SimplifyStructRegSignatures.cpp.o
[01:37:34] [ 89%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/gcov.cpp.o
---
[01:37:51]                   = nullptr
[01:37:51] 3 warnings generated.
[01:37:51] [ 89%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/ExpandInsertExtractElement.cpp.o
[01:37:51] [ 89%] Linking CXX executable ../../bin/llvm-diff
[01:37:51] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:37:51] Scanning dependencies of target llvm-dis
[01:37:51] [ 89%] Building CXX object tools/llvm-dis/CMakeFiles/llvm-dis.dir/llvm-dis.cpp.o
[01:37:52] [ 89%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScopedNoAliasAA.cpp.o
[01:37:54] [ 89%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageSummaryInfo.cpp.o
[01:37:54] [ 89%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageSummaryInfo.cpp.o
[01:37:54] [ 89%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/LowerEmAsyncify.cpp.o
[01:37:55] [ 90%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueTracking.cpp.o
[01:37:56] [ 90%] Linking CXX executable ../../bin/llvm-dis
[01:37:56] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:37:56] Scanning dependencies of target llvm-dwarfdump
[01:37:56] [ 90%] Building CXX object tools/llvm-dwarfdump/CMakeFiles/llvm-dwarfdump.dir/llvm-dwarfdump.cpp.o
[01:37:57] [ 90%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageView.cpp.o
[01:38:00] [ 90%] Linking CXX executable ../../bin/llvm-dwarfdump
[01:38:00] [ 90%] Linking CXX executable ../../bin/llvm-dwarfdump
[01:38:00] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:38:00] Scanning dependencies of target llvm-opt-report
[01:38:00] [ 90%] Building CXX object tools/llvm-opt-report/CMakeFiles/llvm-opt-report.dir/OptReport.cpp.o
[01:38:01] [ 90%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageViewHTML.cpp.o
[01:38:01] [ 90%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/LowerEmExceptionsPass.cpp.o
---
[01:38:05]   ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
[01:38:05] 5 warnings generated.
[01:38:05] [ 90%] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/VectorUtils.cpp.o
[01:38:05] [ 91%] Linking CXX executable ../../bin/llvm-opt-report
[01:38:05] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:38:06] [ 91%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/LowerEmSetjmp.cpp.o
[01:38:07] Scanning dependencies of target llvm-pdbdump
[01:38:07] [ 91%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/llvm-pdbdump.cpp.o
[01:38:08] [ 91%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/TestingSupport.cpp.o
[01:38:08] [ 91%] Building CXX object tools/llvm-cov/CMakeFiles/llvm-cov.dir/TestingSupport.cpp.o
[01:38:10] [ 91%] Linking CXX static library ../libLLVMAnalysis.a
[01:38:10] [ 91%] Built target LLVMAnalysis
[01:38:10] Scanning dependencies of target llvm-readobj
[01:38:10] [ 91%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ARMAttributeParser.cpp.o
[01:38:11] [ 91%] Linking CXX executable ../../bin/llvm-cov
[01:38:11] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:38:11] Scanning dependencies of target llvm-size
[01:38:11] [ 91%] Building CXX object tools/llvm-size/CMakeFiles/llvm-size.dir/llvm-size.cpp.o
[01:38:12] [ 91%] Building CXX object lib/Target/JSBackend/NaCl/CMakeFiles/LLVMPNaClTransforms.dir/NoExitRuntime.cpp.o
[01:38:12] [ 91%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ARMWinEHPrinter.cpp.o
[01:38:12] [ 91%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ARMWinEHPrinter.cpp.o
[01:38:14] [ 91%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/YamlSymbolDumper.cpp.o
[01:38:15] [ 91%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/COFFDumper.cpp.o
[01:38:16] [ 91%] Linking CXX static library ../../../libLLVMPNaClTransforms.a
[01:38:16] [ 91%] Built target LLVMPNaClTransforms
[01:38:16] Scanning dependencies of target llvm-split
[01:38:16] [ 91%] Building CXX object tools/llvm-split/CMakeFiles/llvm-split.dir/llvm-split.cpp.o
[01:38:16] [ 91%] Linking CXX executable ../../bin/llvm-size
[01:38:16] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:38:17] Scanning dependencies of target llvm-stress
[01:38:17] [ 91%] Building CXX object tools/llvm-stress/CMakeFiles/llvm-stress.dir/llvm-stress.cpp.o
[01:38:18] [ 91%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/YamlTypeDumper.cpp.o
[01:38:19] [ 92%] Linking CXX executable ../../bin/llvm-split
[01:38:19] [ 92%] Linking CXX executable ../../bin/llvm-split
[01:38:20] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:38:20] Scanning dependencies of target llvm-strings
[01:38:20] [ 92%] Building CXX object tools/llvm-strings/CMakeFiles/llvm-strings.dir/llvm-strings.cpp.o
[01:38:22] [ 92%] Linking CXX executable ../../bin/llvm-stress
[01:38:22] [ 92%] Linking CXX executable ../../bin/llvm-strings
[01:38:22] [ 92%] Linking CXX executable ../../bin/llvm-strings
[01:38:22] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:38:22] [ 92%] Built target llvm-stress
[01:38:22] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:38:22] [ 92%] Built target llvm-strings
[01:38:22] Scanning dependencies of target llvm-symbolizer
[01:38:22] [ 92%] Building CXX object tools/llvm-symbolizer/CMakeFiles/llvm-symbolizer.dir/llvm-symbolizer.cpp.o
[01:38:23] [ 92%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/LinePrinter.cpp.o
[01:38:23] [ 92%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/LinePrinter.cpp.o
[01:38:23] [ 93%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ELFDumper.cpp.o
[01:38:24] [ 93%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/LLVMOutputStyle.cpp.o
[01:38:24] Scanning dependencies of target obj2yaml
[01:38:24] [ 93%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/obj2yaml.cpp.o
[01:38:26] [ 93%] Linking CXX executable ../../bin/llvm-symbolizer
[01:38:26] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:38:26] Scanning dependencies of target opt
[01:38:26] [ 93%] Building CXX object tools/opt/CMakeFiles/opt.dir/AnalysisWrappers.cpp.o
[01:38:27] [ 93%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/coff2yaml.cpp.o
[01:38:29] [ 93%] Building CXX object tools/opt/CMakeFiles/opt.dir/BreakpointPrinter.cpp.o
---
[01:38:49] [ 94%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/PrettyFunctionDumper.cpp.o
[01:38:50] [ 94%] Building CXX object tools/obj2yaml/CMakeFiles/obj2yaml.dir/Error.cpp.o
[01:38:51] [ 94%] Linking CXX executable ../../bin/obj2yaml
[01:38:51] [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/MachODumper.cpp.o
[01:38:52] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:38:52] Scanning dependencies of target sancov
[01:38:52] [ 94%] Building CXX object tools/sancov/CMakeFiles/sancov.dir/sancov.cc.o
[01:38:52] [ 95%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/PrettyTypeDumper.cpp.o
[01:38:54] [ 95%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/PrettyTypedefDumper.cpp.o
[01:38:54] [ 95%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/PrettyTypedefDumper.cpp.o
[01:38:56] [ 95%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ObjDumper.cpp.o
[01:38:57] [ 95%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/PrettyVariableDumper.cpp.o
[01:38:57] [ 95%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/Win64EHDumper.cpp.o
[01:38:59] [ 95%] Building CXX object tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/YAMLOutputStyle.cpp.o
[01:39:00] [ 95%] Linking CXX executable ../../bin/opt
[01:39:00] [ 95%] Linking CXX executable ../../bin/llvm-readobj
[01:39:00] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:01] Scanning dependencies of target sanstats
[01:39:01] [ 95%] Building CXX object tools/sanstats/CMakeFiles/sanstats.dir/sanstats.cpp.o
[01:39:01] [ 95%] Building CXX object tools/sanstats/CMakeFiles/sanstats.dir/sanstats.cpp.o
[01:39:01] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:01] Scanning dependencies of target verify-uselistorder
[01:39:01] [ 95%] Building CXX object tools/verify-uselistorder/CMakeFiles/verify-uselistorder.dir/verify-uselistorder.cpp.o
[01:39:02] [ 96%] Linking CXX executable ../../bin/sancov
[01:39:02] [ 96%] Linking CXX executable ../../bin/sancov
[01:39:02] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:02] Scanning dependencies of target yaml2obj
[01:39:02] [ 96%] Building CXX object tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2obj.cpp.o
[01:39:03] [ 96%] Linking CXX executable ../../bin/llvm-pdbdump
[01:39:03] [ 96%] Linking CXX executable ../../bin/llvm-pdbdump
[01:39:03] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:03] [ 96%] Building CXX object tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2coff.cpp.o
[01:39:05] [ 96%] Linking CXX executable ../../bin/sanstats
[01:39:05] [ 96%] Linking CXX executable ../../bin/sanstats
[01:39:05] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:05] Scanning dependencies of target LTO
[01:39:05] [ 96%] Building CXX object tools/lto/CMakeFiles/LTO.dir/LTODisassembler.cpp.o
[01:39:05] [ 96%] Building CXX object tools/lto/CMakeFiles/LTO.dir/lto.cpp.o
[01:39:05] Scanning dependencies of target llvm-ar
[01:39:05] Scanning dependencies of target llvm-ar
[01:39:05] [ 96%] Building CXX object tools/llvm-ar/CMakeFiles/llvm-ar.dir/llvm-ar.cpp.o
[01:39:06] [ 96%] Building CXX object tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2dwarf.cpp.o
[01:39:07] [ 96%] Linking CXX executable ../../bin/verify-uselistorder
[01:39:07] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:07] Scanning dependencies of target llvm-lto
[01:39:07] [ 96%] Building CXX object tools/llvm-lto/CMakeFiles/llvm-lto.dir/llvm-lto.cpp.o
[01:39:09] [ 96%] Building CXX object tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2elf.cpp.o
[01:39:11] [ 96%] Linking CXX executable ../../bin/llvm-ar
[01:39:11] [ 96%] Linking CXX executable ../../bin/llvm-ar
[01:39:11] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:11] Scanning dependencies of target bugpoint
[01:39:11] [ 96%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/BugDriver.cpp.o
[01:39:12] [ 96%] Linking CXX shared library ../../lib/libLTO.dylib
[01:39:13] [ 96%] Built target LTO
[01:39:13] [ 96%] Built target LTO
[01:39:13] Scanning dependencies of target llvm-dsymutil
[01:39:13] [ 96%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/dsymutil.cpp.o
[01:39:14] [ 96%] Building CXX object tools/yaml2obj/CMakeFiles/yaml2obj.dir/yaml2macho.cpp.o
[01:39:15] [ 96%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/CrashDebugger.cpp.o
[01:39:16] [ 96%] Linking CXX executable ../../bin/llvm-lto
[01:39:16] [ 97%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/BinaryHolder.cpp.o
[01:39:16] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:17] [ 97%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/ExecutionDriver.cpp.o
[01:39:18] [ 98%] Linking CXX executable ../../bin/yaml2obj
[01:39:18] [ 98%] Linking CXX executable ../../bin/yaml2obj
[01:39:19] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:19] Scanning dependencies of target llc
[01:39:19] [ 98%] Building CXX object tools/llc/CMakeFiles/llc.dir/llc.cpp.o
[01:39:19] [ 98%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/DebugMap.cpp.o
[01:39:21] Scanning dependencies of target lli
[01:39:21] Scanning dependencies of target lli
[01:39:21] [ 98%] Building CXX object tools/lli/CMakeFiles/lli.dir/lli.cpp.o
[01:39:24] [ 98%] Building CXX object tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/DwarfLinker.cpp.o
[01:39:25] [ 98%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/ExtractFunction.cpp.o
[01:39:27] [ 98%] Linking CXX executable ../../bin/llc
[01:39:28] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:28] Scanning dependencies of target lli-child-target
[01:39:28] [ 98%] Building CXX object tools/lli/ChildTarget/CMakeFiles/lli-child-target.dir/ChildTarget.cpp.o
[01:39:31] [ 98%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/FindBugs.cpp.o
[01:39:34] [ 98%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/Miscompilation.cpp.o
---
[01:39:46]         [this, &LD](const std::string &Name) {
[01:39:46]          ^
[01:39:46] 6 warnings generated.
[01:39:46] [ 98%] Linking CXX executable ../../bin/lli
[01:39:47] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:47] [ 98%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/bugpoint.cpp.o
[01:39:47] [ 98%] Building CXX object tools/bugpoint/CMakeFiles/bugpoint.dir/bugpoint.cpp.o
[01:39:47] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:47] Scanning dependencies of target llvm-as
[01:39:47] [ 98%] Building CXX object tools/llvm-as/CMakeFiles/llvm-as.dir/llvm-as.cpp.o
[01:39:48] [ 98%] Linking CXX executable ../../../bin/lli-child-target
[01:39:48] [ 98%] Linking CXX executable ../../../bin/lli-child-target
[01:39:49] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:49] Scanning dependencies of target llvm-c-test
[01:39:49] [ 98%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/attributes.c.o
[01:39:49] [ 98%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o
[01:39:50] [ 98%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/diagnostic.c.o
[01:39:50] [ 98%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/diagnostic.c.o
[01:39:50] Scanning dependencies of target llvm-cat
[01:39:50] [ 98%] Building CXX object tools/llvm-cat/CMakeFiles/llvm-cat.dir/llvm-cat.cpp.o
[01:39:50] [ 98%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/disassemble.c.o
[01:39:50] [ 98%] Building CXX object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/echo.cpp.o
[01:39:51] [ 98%] Linking CXX executable ../../bin/llvm-as
[01:39:51] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:51] Scanning dependencies of target llvm-cxxdump
[01:39:51] [ 98%] Building CXX object tools/llvm-cxxdump/CMakeFiles/llvm-cxxdump.dir/llvm-cxxdump.cpp.o
[01:39:52] [ 99%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/helpers.c.o
[01:39:52] [ 99%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/include-all.c.o
[01:39:52] [ 99%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/include-all.c.o
[01:39:52] [ 99%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/main.c.o
[01:39:53] [ 99%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/module.c.o
[01:39:53] [ 99%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/metadata.c.o
[01:39:53] [ 99%] Linking CXX executable ../../bin/bugpoint
[01:39:54] [ 99%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/object.c.o
[01:39:54] [ 99%] Linking CXX executable ../../bin/llvm-cat
[01:39:54] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:54] [ 99%] Built target llvm-cat
[01:39:54] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:54] Scanning dependencies of target llvm-dwp
[01:39:54] [ 99%] Building C object tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/targets.c.o
[01:39:54] [ 99%] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp.cpp.o
[01:39:54] Scanning dependencies of target llvm-extract
[01:39:54] Scanning dependencies of target llvm-extract
[01:39:54] [ 99%] Building CXX object tools/llvm-extract/CMakeFiles/llvm-extract.dir/llvm-extract.cpp.o
[01:39:54] [ 99%] Linking CXX executable ../../bin/llvm-c-test
[01:39:55] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:55] Scanning dependencies of target llvm-link
[01:39:55] [ 99%] Building CXX object tools/llvm-link/CMakeFiles/llvm-link.dir/llvm-link.cpp.o
[01:39:57] [100%] Building CXX object tools/llvm-cxxdump/CMakeFiles/llvm-cxxdump.dir/Error.cpp.o
[01:39:58] [100%] Linking CXX executable ../../bin/llvm-cxxdump
[01:39:58] [100%] Linking CXX executable ../../bin/llvm-cxxdump
[01:39:58] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:58] [100%] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/DWPError.cpp.o
[01:39:59] [100%] Linking CXX executable ../../bin/llvm-extract
[01:39:59] [100%] Linking CXX executable ../../bin/llvm-extract
[01:39:59] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:39:59] Scanning dependencies of target llvm-lto2
[01:39:59] Scanning dependencies of target llvm-mc
[01:39:59] [100%] Building CXX object tools/llvm-lto2/CMakeFiles/llvm-lto2.dir/llvm-lto2.cpp.o
[01:39:59] [100%] Building CXX object tools/llvm-mc/CMakeFiles/llvm-mc.dir/llvm-mc.cpp.o
[01:39:59] [100%] Building CXX object tools/llvm-mc/CMakeFiles/llvm-mc.dir/llvm-mc.cpp.o
[01:40:01] [100%] Linking CXX executable ../../bin/llvm-link
[01:40:01] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:40:01] Scanning dependencies of target llvm-modextract
[01:40:01] [100%] Building CXX object tools/llvm-modextract/CMakeFiles/llvm-modextract.dir/llvm-modextract.cpp.o
[01:40:03] [100%] Linking CXX executable ../../bin/llvm-dwp
[01:40:03] [100%] Linking CXX executable ../../bin/llvm-dwp
[01:40:03] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:40:04] Scanning dependencies of target llvm-nm
[01:40:04] [100%] Building CXX object tools/llvm-nm/CMakeFiles/llvm-nm.dir/llvm-nm.cpp.o
[01:40:05] [100%] Building CXX object tools/llvm-mc/CMakeFiles/llvm-mc.dir/Disassembler.cpp.o
[01:40:05] [100%] Linking CXX executable ../../bin/llvm-modextract
[01:40:05] [100%] Linking CXX executable ../../bin/llvm-modextract
[01:40:05] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:40:06] Scanning dependencies of target llvm-objdump
[01:40:06] [100%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.cpp.o
[01:40:07] [100%] Linking CXX executable ../../bin/llvm-mc
[01:40:07] [100%] Linking CXX executable ../../bin/llvm-mc
[01:40:07] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:40:08] Scanning dependencies of target llvm-rtdyld
[01:40:08] [100%] Building CXX object tools/llvm-rtdyld/CMakeFiles/llvm-rtdyld.dir/llvm-rtdyld.cpp.o
[01:40:09] [100%] Linking CXX executable ../../bin/llvm-lto2
[01:40:09] [100%] Linking CXX executable ../../bin/llvm-lto2
[01:40:09] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:40:09] [100%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/COFFDump.cpp.o
[01:40:11] [100%] Linking CXX executable ../../bin/llvm-nm
[01:40:11] [100%] Linking CXX executable ../../bin/llvm-nm
[01:40:11] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:40:11] Scanning dependencies of target llvm-lib
[01:40:11] [100%] Generating ../../bin/llvm-lib
[01:40:11] [100%] Built target llvm-lib
[01:40:11] Scanning dependencies of target llvm-ranlib
[01:40:11] Scanning dependencies of target llvm-ranlib
[01:40:11] [100%] Generating ../../bin/llvm-ranlib
[01:40:11] [100%] Built target llvm-ranlib
[01:40:11] Scanning dependencies of target BugpointPasses
[01:40:12] [100%] Building CXX object tools/bugpoint-passes/CMakeFiles/BugpointPasses.dir/TestPasses.cpp.o
[01:40:13] [100%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/ELFDump.cpp.o
[01:40:14] [100%] Linking CXX executable ../../bin/llvm-rtdyld
[01:40:14] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:40:14] [100%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/MachODump.cpp.o
[01:40:15] [100%] Linking CXX shared module ../../lib/BugpointPasses.dylib
[01:40:15] [100%] Built target BugpointPasses
[01:40:15] [100%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/WasmDump.cpp.o
[01:40:15] [100%] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/WasmDump.cpp.o
[01:40:29] [100%] Linking CXX executable ../../bin/llvm-objdump
[01:40:29] clang-6.0: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
[01:40:29] Install the project...
[01:40:29] -- Install configuration: "Release"
[01:40:29] -- Installing: /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm-emscripten/include/llvm
[01:40:29] -- Installing: /Users/travis/build/rust-lang/rust/build/x86_64-apple-darwin/llvm-emscripten/include/llvm/ADT

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)

@rust-lang rust-lang deleted a comment from rust-highfive Jun 21, 2018
@kennytm
Copy link
Member

kennytm commented Jun 21, 2018

@bors retry

3 hour timeout.

LLVM build takes ~50 minutes because the cache has been invalidated. Need time to re-cache the LLVM artifacts on sccache.

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

bors commented Jun 21, 2018

⌛ Testing commit 9a96876 with merge e11c95d...

bors added a commit that referenced this pull request Jun 21, 2018
ship LLVM tools with the toolchain

this PR adds llvm-{nm,objcopy,objdump,size} to the rustc sysroot (right next to LLD)

this slightly increases the size of the rustc component. I measured these numbers on x86_64 Linux:

- rustc-1.27.0-dev-x86_64-unknown-linux-gnu.tar.gz 180M -> 193M (+7%)
- rustc-1.27.0-dev-x86_64-unknown-linux-gnu.tar.xz 129M -> 137M (+6%)

r? @alexcrichton
cc #49584
@bors
Copy link
Contributor

bors commented Jun 21, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: Mark-Simulacrum
Pushing e11c95d to master...

@bors bors merged commit 9a96876 into rust-lang:master Jun 21, 2018
@japaric japaric deleted the llvm-tools branch June 21, 2018 14:44
@vi
Copy link
Contributor

vi commented Jun 28, 2018

Does it take into account theoretical future non-LLVM rustc?

@japaric
Copy link
Member Author

japaric commented Jun 28, 2018

@vi the tools are packaged in their own rustup component. rustc doesn't depend on these tools (or rustup). We are free to leave the llvm-tools component empty for some target platforms if we can't compile the tools for that platform (for any reason). We are also free to drop tools from the component if LLVM stops supporting them in the future.

I would be more concerned about lld which is always shipped with the toolchain and it's a hard requirement for cross compiling to wasm.

andre-richter added a commit to rust-embedded/rust-raspberrypi-OS-tutorials that referenced this pull request Jun 29, 2018
Its the last missing util we needed to be a rust-toolchain-only project.

rust-lang/rust#50336
https://github.com/japaric/cargo-binutils
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. WG-embedded Working group: Embedded systems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet