{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/10971","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/10971/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/10971/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/10971/events","html_url":"https://github.com/rust-lang/rust/issues/10971","id":24304204,"node_id":"MDU6SXNzdWUyNDMwNDIwNA==","number":10971,"title":"Names of intermediate files collide when running rustc in parallel","user":{"login":"SiegeLord","id":480550,"node_id":"MDQ6VXNlcjQ4MDU1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/480550?v=4","gravatar_id":"","url":"https://api.github.com/users/SiegeLord","html_url":"https://github.com/SiegeLord","followers_url":"https://api.github.com/users/SiegeLord/followers","following_url":"https://api.github.com/users/SiegeLord/following{/other_user}","gists_url":"https://api.github.com/users/SiegeLord/gists{/gist_id}","starred_url":"https://api.github.com/users/SiegeLord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SiegeLord/subscriptions","organizations_url":"https://api.github.com/users/SiegeLord/orgs","repos_url":"https://api.github.com/users/SiegeLord/repos","events_url":"https://api.github.com/users/SiegeLord/events{/privacy}","received_events_url":"https://api.github.com/users/SiegeLord/received_events","type":"User","site_admin":false},"labels":[{"id":37547,"node_id":"MDU6TGFiZWwzNzU0Nw==","url":"https://api.github.com/repos/rust-lang/rust/labels/A-linkage","name":"A-linkage","color":"d7e102","default":false},{"id":234902,"node_id":"MDU6TGFiZWwyMzQ5MDI=","url":"https://api.github.com/repos/rust-lang/rust/labels/C-enhancement","name":"C-enhancement","color":"f5f1fd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2013-12-15T02:30:45Z","updated_at":"2018-09-25T04:12:41Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"For example, given an empty lib.rs, this happens:\n\n```\nrustc --lib lib.rs & rustc --rlib lib.rs\nerror: linking with `cc` failed: exit code: 1\nnote: cc arguments: '-m64' '-L/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib' '-o' 'liblib-9ed81b85-0.0.so' 'lib.o' 'lib.metadata.o' '-Wl,--as-needed' '-L/tmp/.rust' '-L/tmp' '-L/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib' '-lstd-04ff901e-0.9-pre' '-lrt' '-ldl' '-lm' '-lpthread' '-lstdc++' '-shared' '-lmorestack' '-Wl,-rpath,$ORIGIN/../usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib' '-Wl,-rpath,/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib'\nnote: /usr/bin/ld: reopening lib.o: No such file or directory\n\n/usr/bin/ld: final link failed: No such file or directory\ncollect2: error: ld returned 1 exit status\n\nerror: aborting due to previous error\ntask 'rustc' failed at 'explicit failure', /home/siege/src/rust2/src/libsyntax/diagnostic.rs:102\ntask '<main>' failed at 'explicit failure', /home/siege/src/rust2/src/librustc/lib.rs:398\n```\n\nThis could be fixed in two main ways.\n1. Add an option (e.g. `--temps-path`) to store the intermediates in a specific location\n2. Add some kind of hash to the names of the intermediates to stop them from colliding. Can't just be the pkgid hash, as it'd still fail the above test.\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/424201608","html_url":"https://github.com/rust-lang/rust/issues/10971#issuecomment-424201608","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/10971","id":424201608,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDIwMTYwOA==","user":{"login":"SiegeLord","id":480550,"node_id":"MDQ6VXNlcjQ4MDU1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/480550?v=4","gravatar_id":"","url":"https://api.github.com/users/SiegeLord","html_url":"https://github.com/SiegeLord","followers_url":"https://api.github.com/users/SiegeLord/followers","following_url":"https://api.github.com/users/SiegeLord/following{/other_user}","gists_url":"https://api.github.com/users/SiegeLord/gists{/gist_id}","starred_url":"https://api.github.com/users/SiegeLord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SiegeLord/subscriptions","organizations_url":"https://api.github.com/users/SiegeLord/orgs","repos_url":"https://api.github.com/users/SiegeLord/repos","events_url":"https://api.github.com/users/SiegeLord/events{/privacy}","received_events_url":"https://api.github.com/users/SiegeLord/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T04:12:41Z","updated_at":"2018-09-25T04:12:41Z","author_association":"CONTRIBUTOR","body":"The error from 2016 still happens on Linux."}}
{"actor":{"display_login":"SiegeLord"}}