+++ This bug was initially created as a clone of Bug #1410950 +++ Description of problem: Attempts to bootstrap Rust on s390x failed with an LLVM ERROR on f24 and f25. The same srpm on f26 (with LLVM 3.9) is fine. f24: https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2439756 f25: https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2439754 Version-Release number of selected component (if applicable): llvm-3.8.0-1.fc25/24 building rust-1.14.0-1.fc25/24 How reproducible: 100% Steps to Reproduce: 1. rpmbuild --rebuild rust-1.14.0-1.fc25.src.rpm (or try again on s390.koji) Actual results: LLVM ERROR: Cannot select: 0x3ff793b6d90: ch = AtomicFence 0x3ff70818a70, Constant:i64<4>, Constant:i64<1> 0x3ff728d89c0: i64 = Constant<4> 0x3ff793b7120: i64 = Constant<1> In function: _ZN33_$LT$alloc..arc..Arc$LT$T$GT$$GT$9drop_slow17h19a3f415d8721b31E Expected results: no compiler errors :) Additional info: A similar problem was reported upstream for compiling v8 with Clang 3.8, then closed when it was found to work with 3.9. That's probably a simpler reproducer. https://llvm.org/bugs/show_bug.cgi?id=28735 Also, the rawhide builds of Rust with LLVM 3.9 were fine: https://s390.koji.fedoraproject.org/koji/buildinfo?buildID=449416 https://s390.koji.fedoraproject.org/koji/buildinfo?buildID=449417
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Because there is now llvm 3.9 in F-25 for some time it should be possible to get Rust built there too. I'll try some tricks :-)
I've rebuilt the "old" portion of the rust stack with llvm 3.9 instead of llvm 3.8 and all went well till the latest rust and cargo.