[LLVMdev] llvm trunk build failed in cmake_install.cmake on ARM platform

Mathias Bauer mathias_bauer at gmx.net
Wed Feb 12 05:08:16 PST 2014


Hi dear list,

I tried to build llvm+clang on an OpenSuse BuildServer for ARM. The 
build was carried out with CMake 2.8.11. In the installation step I got 
the following error:

> [26815s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/llvm-3.4.99-336.1.arm/usr/lib/libLLVMSupport.so
> [26815s] CMake Error at lib/Support/cmake_install.cmake:45 (FILE):
> [26815s]   file RPATH_CHANGE could not write new RPATH:
> [26815s]
> [26815s]     $ORIGIN/../lib
> [26815s]
> [26815s]   to the file:
> [26815s]
> [26815s]     /home/abuild/rpmbuild/BUILDROOT/llvm-3.4.99-336.1.arm/usr/lib/libLLVMSupport.so
> [26815s]
> [26815s]   No valid ELF RPATH or RUNPATH entry exists in the file;
> [26815s] Call Stack (most recent call first):
> [26815s]   cmake_install.cmake:48 (INCLUDE)
> [26815s]
> [26815s]
> [26815s] make: *** [install] Error 1
> [26815s] error: Bad exit status from /var/tmp/rpm-tmp.FHUFsz (%install)
> [26815s]
> [26815s]
> [26815s] RPM build errors:
> [26815s]     Bad exit status from /var/tmp/rpm-tmp.FHUFsz (%install)

Any ideas for what might have gone wrong?

TIA,
Mathias



More information about the llvm-dev mailing list