Created attachment 881367 [details] spec changes Description of problem: Build failed for ppc64le arch Version-Release number of selected component (if applicable): llvm-3.4-5 There are basically two problems families. First are problems due to abiv2 changes (suppression of .opd section...) How reproducible: rpmbuild --target ppc64le Actual results: /bin/ld: .opd not allowed in ABI version 2 /home/root/rpmbuild/BUILD/llvm-3.4/Release/lib/libLLVMPowerPCCodeGen.a(PPCJITInfo.o): error adding symbols: Bad value collect2: error: ld returned 1 exit status Those problems are corrected using patches described in http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140310/208270.html Second are problems due to bad spec file for llvm-devel files when make check is not executed. How reproducible: rpmbuild --target ppc64le --nocheck Actual results: Processing files: llvm-devel-3.4-5.fc21.ppc64le error: Directory not found: /home/root/rpmbuild/BUILDROOT/llvm-3.4-5.fc21.ppc64le/usr/share/doc/llvm-devel These problems are corrected by changeing spec file to define llvm-devel doc dir in %files devel and clang-devel doc dir and in %files -n clang-devel only when make check is not run. see llvm.spec.diff file in attachment