Description of problem: yum info clang Installed Packages Name : clang Arch : ppc64le Version : 3.4.2 Release : 8.el7 Size : 66 M Repo : installed From repo : epel Summary : A C language family front-end for LLVM URL : http://llvm.org/ License : NCSA Description : clang: noun : 1. A loud, resonant, metallic sound. : 2. The strident call of a crane or goose. : 3. C-language family front-end toolkit. : : The goal of the Clang project is to create a new C, C++, Objective C : and Objective C++ front-end for the LLVM compiler. Its tools are built : as libraries and designed to be loosely-coupled and extensible. Version-Release number of selected component (if applicable): $ clang --version clang version 3.4.2 (tags/RELEASE_34/dot2-final) Target: powerpc64le-redhat-linux-gnu Thread model: posix How reproducible: Steps to Reproduce: 1. cat /tmp/test.c int main() { return 0; } 2. clang -o /tmp/test.o -c /tmp/test.c error: unable to interface with target machine 1 error generated. 3. $ clang -c /tmp/test.c error: unable to interface with target machine 1 error generated. Actual results: error: unable to interface with target machine Expected results: successful compile Additional info:
I don't have access to hardware, so please submit a patch.
Could be that llvm 3.4 doesn't have enough of ppc64le support. There are newer versions of llvm packaged in Fedora in separate packages, so they could be brought into EPEL as well.
ppc64le was not fully supported until LLVM 3.5: http://releases.llvm.org/3.5.1/docs/ReleaseNotes.html
Ack. Seems to be removed from EPEL which works for me: https://apps.fedoraproject.org/packages/clang/overview/
Fixed by of old version from EPEL.