Skip to content

llvm-mc not found #3454

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

Closed
brson opened this issue Sep 11, 2012 · 3 comments
Closed

llvm-mc not found #3454

brson opened this issue Sep 11, 2012 · 3 comments

Comments

@brson
Copy link
Contributor

brson commented Sep 11, 2012

This was reported twice against servo

compile: rt/i686-unknown-linux-gnu/arch/i386/_context.o
/bin/sh: 1: /home/projects/rust/build-incoming/llvm/i686-unknown-linux-gnu/Release+Asserts/bin/llvm-mc: not found
make: *** [rt/i686-unknown-linux-gnu/arch/i386/_context.o] Error 127

How can I solve this problem??
When I make the rust source, it happens
@brson
Copy link
Contributor Author

brson commented Sep 11, 2012

For some reason we didn't build llvm-mc, or at least not before building the runtime. Both reports were building for linux i686.

@yesyoman Can I possibly get the full output of running make, starting from an empty build directory?

@brson
Copy link
Contributor Author

brson commented Sep 11, 2012

I would also be curious about whether /home/projects/rust/build-incoming/llvm/i686-unknown-linux-gnu/Release+Asserts/bin/ contains anything useful. Is it just missing llvm-mc?

@ghost
Copy link

ghost commented Sep 11, 2012

I will leave error message after check it out now.

@ghost
Copy link

ghost commented Sep 11, 2012

I solved it .. I think it was just problem with the server..

@brson brson closed this as completed Sep 12, 2012
@steveklabnik
Copy link
Member

I just got this, here's some more output:

llvm[3]: ======= Finished Linking Release+Asserts Executable llvm-config (without symbols)
make[3]: Leaving directory `/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm/tools/llvm-config'
make[3]: Entering directory `/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm/tools/bugpoint'
llvm[3]: Compiling BugDriver.cpp for Release+Asserts build
llvm[3]: Compiling CrashDebugger.cpp for Release+Asserts build
llvm[3]: Compiling ExecutionDriver.cpp for Release+Asserts build
llvm[3]: Compiling ExtractFunction.cpp for Release+Asserts build
llvm[3]: Compiling FindBugs.cpp for Release+Asserts build
llvm[3]: Compiling Miscompilation.cpp for Release+Asserts build
llvm[3]: Compiling OptimizerDriver.cpp for Release+Asserts build
llvm[3]: Compiling ToolRunner.cpp for Release+Asserts build
llvm[3]: Compiling bugpoint.cpp for Release+Asserts build
llvm[3]: Linking Release+Asserts executable bugpoint (without symbols)
/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm/tools/bugpoint/Release+Asserts/bugpoint.o: In function `_GLOBAL__sub_I_bugpoint.cpp':
bugpoint.cpp:(.text.startup._GLOBAL__sub_I_bugpoint.cpp+0xc71): undefined reference to `llvm::createJumpInstrTablesPass()'
bugpoint.cpp:(.text.startup._GLOBAL__sub_I_bugpoint.cpp+0xd8b): undefined reference to `llvm::createCodeGenPreparePass(llvm::TargetMachine const*)'
collect2: error: ld returned 1 exit status
make[3]: *** [/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/bin/bugpoint] Error 1
make[3]: Leaving directory `/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm/tools/bugpoint'
make[2]: *** [bugpoint/.makeall] Error 2
make[2]: Leaving directory `/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm/tools'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm'
make: *** [/home/steve/src/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/bin/llvm-config] Error 2

bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
add new attribute rustfmt::skip::macros
RalfJung pushed a commit to RalfJung/rust that referenced this issue Jul 4, 2024
Add syscall `dup()` for unix target

Add support for `dup()` and `dup2()`.

Fixes rust-lang#3454
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

No branches or pull requests

2 participants