Closed
Description
If not, fine, otherwise here's a bug:
rustc: arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/librustc_trans
src/librustc_trans/attributes.rs:31:13: 31:43 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]
src/librustc_trans/attributes.rs:31 llvm::RemoveFunctionAttributes(val, attr)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/librustc_trans/attributes.rs:31:13: 31:43 help: run `rustc --explain E0425` to see a detailed explanation
src/librustc_trans/attributes.rs:42:9: 42:39 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]
src/librustc_trans/attributes.rs:42 llvm::RemoveFunctionAttributes(val, llvm::Attribute::UWTable);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/librustc_trans/attributes.rs:42:9: 42:39 help: run `rustc --explain E0425` to see a detailed explanation
src/librustc_trans/attributes.rs:50:9: 50:39 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]
src/librustc_trans/attributes.rs:50 llvm::RemoveFunctionAttributes(val, llvm::Attribute::NoUnwind);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/librustc_trans/attributes.rs:50:9: 50:39 help: run `rustc --explain E0425` to see a detailed explanation
src/librustc_trans/attributes.rs:63:9: 63:39 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]
src/librustc_trans/attributes.rs:63 llvm::RemoveFunctionAttributes(val, llvm::Attribute::OptimizeForSize);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/librustc_trans/attributes.rs:63:9: 63:39 help: run `rustc --explain E0425` to see a detailed explanation
src/librustc_trans/attributes.rs:73:9: 73:39 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]
src/librustc_trans/attributes.rs:73 llvm::RemoveFunctionAttributes(val, llvm::Attribute::Naked);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/librustc_trans/attributes.rs:73:9: 73:39 help: run `rustc --explain E0425` to see a detailed explanation
error: aborting due to 5 previous errors
make: *** [arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/stamp.rustc_trans] Error 101
The reason I'm asking this (looks like a regular name resolution error), is the cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
option, which is not true in this case, as I was using an existing llvm build.
Source revision: a09f386
Metadata
Metadata
Assignees
Labels
No labels