{"action":"created","issue":{"url":"https://api.github.com/repos/avr-rust/rust/issues/22","repository_url":"https://api.github.com/repos/avr-rust/rust","labels_url":"https://api.github.com/repos/avr-rust/rust/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/avr-rust/rust/issues/22/comments","events_url":"https://api.github.com/repos/avr-rust/rust/issues/22/events","html_url":"https://github.com/avr-rust/rust/issues/22","id":181387934,"number":22,"title":"Upgrade to support LLVM 4.0 (development)","user":{"login":"dylanmckay","id":7722159,"avatar_url":"https://avatars.githubusercontent.com/u/7722159?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanmckay","html_url":"https://github.com/dylanmckay","followers_url":"https://api.github.com/users/dylanmckay/followers","following_url":"https://api.github.com/users/dylanmckay/following{/other_user}","gists_url":"https://api.github.com/users/dylanmckay/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanmckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanmckay/subscriptions","organizations_url":"https://api.github.com/users/dylanmckay/orgs","repos_url":"https://api.github.com/users/dylanmckay/repos","events_url":"https://api.github.com/users/dylanmckay/events{/privacy}","received_events_url":"https://api.github.com/users/dylanmckay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-06T11:16:35Z","updated_at":"2016-11-06T00:43:23Z","closed_at":null,"body":"I get this in the tip of avr-support-4.0\n\n``` bash\nconfigure --enable-debug --disable-docs --enable-llvm-assertions --enable-debug-assertions --enable-rustbuild\nmake rustc-stage1\n```\n\n```\nBuilding stage1 std artifacts (x86_64-apple-darwin -> x86_64-apple-darwin)\n   Compiling core v0.0.0 (file:///Users/dylanmckay/projects/avr-rust/rust/src/libcore)\n\nAssertion failed: (isa<X>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast, file /Users/dylanmckay/projects/builds/avr-rust/rust/build/x86_64-apple-darwin/llvm/include/llvm/Support/Casting.h, line 237.\nerror: Could not compile `core`.\n```\n\nThis triggers it\n\n```\n build/x86_64-apple-darwin/stage1/bin/rustc /Users/dylanmckay/projects/avr-rust/rust/src/libcore/lib.rs --crate-name core --crate-type lib -C debug-assertions=off -C metadata=877272a66b7a4e4d -C extra-filename=-877272a66b7a4e4d --out-dir ./libcore --target x86_64-apple-darwin -L dependency=/Users/dylanmckay/projects/builds/avr-rust/rust/build/x86_64-apple-darwin/stage1-std/x86_64-apple-darwin/debug/deps --cfg stage1 --sysroot /Users/dylanmckay/projects/builds/avr-rust/rust/build/x86_64-apple-darwin/stage1 -g -C debug-assertions=y -C codegen-units=1 --emit llvm-ir -o libcore.ll\n```\n"},"comment":{"url":"https://api.github.com/repos/avr-rust/rust/issues/comments/258652417","html_url":"https://github.com/avr-rust/rust/issues/22#issuecomment-258652417","issue_url":"https://api.github.com/repos/avr-rust/rust/issues/22","id":258652417,"user":{"login":"shepmaster","id":174509,"avatar_url":"https://avatars.githubusercontent.com/u/174509?v=3","gravatar_id":"","url":"https://api.github.com/users/shepmaster","html_url":"https://github.com/shepmaster","followers_url":"https://api.github.com/users/shepmaster/followers","following_url":"https://api.github.com/users/shepmaster/following{/other_user}","gists_url":"https://api.github.com/users/shepmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/shepmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shepmaster/subscriptions","organizations_url":"https://api.github.com/users/shepmaster/orgs","repos_url":"https://api.github.com/users/shepmaster/repos","events_url":"https://api.github.com/users/shepmaster/events{/privacy}","received_events_url":"https://api.github.com/users/shepmaster/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T00:43:23Z","updated_at":"2016-11-06T00:43:23Z","body":"@nateozem it's tricky 😈 \r\n\r\nThere are two competing projects to keep up with: Rust and (AVR-)LLVM. Working against any given \"older\" version is *potentially* a waste of time; things might have changed between then and the present and there would be wasted work.\r\n\r\nOn my laptop (and not pushed anywhere yet), I am attempting to integrate avr-llvm/avr-llvm@3fa7cf1eef629f167e2db7149c35eba1279587f1 and rust-lang/rust@cae6ab1c458ade22b4c228fcd4195917c96e2465, which are the latest commits in each repository at this point in time. This also means that I am getting a new error, different from the others above. 😸 \r\n\r\nGenerally, my approach has been \"quickly hack up Rust to get it to compile, then go back and tease out each fix to prepare a proper PR\". I'm still in the \"quickly hack up\" part, so saying whether any given hack will be preserved is difficult at best."}}
{"actor":{"display_login":"shepmaster"}}