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

Travis is failing ("undefined reference to LLVMInitializeSystemZ*") #36077

Closed
TimNN opened this issue Aug 28, 2016 · 0 comments · Fixed by #36080
Closed

Travis is failing ("undefined reference to LLVMInitializeSystemZ*") #36077

TimNN opened this issue Aug 28, 2016 · 0 comments · Fixed by #36080

Comments

@TimNN
Copy link
Contributor

TimNN commented Aug 28, 2016

Excerpt from a recent travis build:

  = note: /build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-836a4172.so: undefined reference to `LLVMInitializeSystemZTargetInfo'
/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-836a4172.so: undefined reference to `LLVMInitializeSystemZTargetMC'
/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-836a4172.so: undefined reference to `LLVMInitializeSystemZAsmParser'
/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-836a4172.so: undefined reference to `LLVMInitializeSystemZTarget'
/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-836a4172.so: undefined reference to `LLVMInitializeSystemZAsmPrinter'
collect2: error: ld returned 1 exit status

These symbols were introduced in #36028.

cc @japaric

@TimNN TimNN changed the title Travis is failing ("undefined reference to LLVMInitializeSystemZ*" Travis is failing ("undefined reference to LLVMInitializeSystemZ*") Aug 28, 2016
japaric pushed a commit to japaric/rust that referenced this issue Aug 28, 2016
bors added a commit that referenced this issue Aug 29, 2016
build llvm with systemz backend enabled, and link to related libraries

when building rust against system llvm

closes #36077

r? @alexcrichton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant