{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/32706","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/32706/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/32706/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/32706/events","html_url":"https://github.com/rust-lang/rust/issues/32706","id":145521874,"number":32706,"title":"Is debug rustc + (Release+Asserts) llvm a valid bootstrap combination?","user":{"login":"petevine","id":12054457,"avatar_url":"https://avatars.githubusercontent.com/u/12054457?v=3","gravatar_id":"","url":"https://api.github.com/users/petevine","html_url":"https://github.com/petevine","followers_url":"https://api.github.com/users/petevine/followers","following_url":"https://api.github.com/users/petevine/following{/other_user}","gists_url":"https://api.github.com/users/petevine/gists{/gist_id}","starred_url":"https://api.github.com/users/petevine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevine/subscriptions","organizations_url":"https://api.github.com/users/petevine/orgs","repos_url":"https://api.github.com/users/petevine/repos","events_url":"https://api.github.com/users/petevine/events{/privacy}","received_events_url":"https://api.github.com/users/petevine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-03T17:35:04Z","updated_at":"2016-04-04T11:24:15Z","closed_at":"2016-04-04T11:24:15Z","body":"If not, fine, otherwise here's a bug:\r\n\r\n```rust\r\nrustc: arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/librustc_trans\r\nsrc/librustc_trans/attributes.rs:31:13: 31:43 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]\r\nsrc/librustc_trans/attributes.rs:31             llvm::RemoveFunctionAttributes(val, attr)\r\n                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/librustc_trans/attributes.rs:31:13: 31:43 help: run `rustc --explain E0425` to see a detailed explanation\r\nsrc/librustc_trans/attributes.rs:42:9: 42:39 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]\r\nsrc/librustc_trans/attributes.rs:42         llvm::RemoveFunctionAttributes(val, llvm::Attribute::UWTable);\r\n                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/librustc_trans/attributes.rs:42:9: 42:39 help: run `rustc --explain E0425` to see a detailed explanation\r\nsrc/librustc_trans/attributes.rs:50:9: 50:39 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]\r\nsrc/librustc_trans/attributes.rs:50         llvm::RemoveFunctionAttributes(val, llvm::Attribute::NoUnwind);\r\n                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/librustc_trans/attributes.rs:50:9: 50:39 help: run `rustc --explain E0425` to see a detailed explanation\r\nsrc/librustc_trans/attributes.rs:63:9: 63:39 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]\r\nsrc/librustc_trans/attributes.rs:63         llvm::RemoveFunctionAttributes(val, llvm::Attribute::OptimizeForSize);\r\n                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/librustc_trans/attributes.rs:63:9: 63:39 help: run `rustc --explain E0425` to see a detailed explanation\r\nsrc/librustc_trans/attributes.rs:73:9: 73:39 error: unresolved name `llvm::RemoveFunctionAttributes` [E0425]\r\nsrc/librustc_trans/attributes.rs:73         llvm::RemoveFunctionAttributes(val, llvm::Attribute::Naked);\r\n                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/librustc_trans/attributes.rs:73:9: 73:39 help: run `rustc --explain E0425` to see a detailed explanation\r\nerror: aborting due to 5 previous errors\r\nmake: *** [arm-unknown-linux-gnueabihf/stage0/lib/rustlib/arm-unknown-linux-gnueabihf/lib/stamp.rustc_trans] Error 101\r\n````\r\n\r\nThe 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.\r\n\r\nSource revision: `a09f386`"}}