[PATCH] Use an RPATH with LLVMgold

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Oct 8 16:20:07 PDT 2013


I get the following error when installing:

------------------------------------------------------------
CMake Error at tools/gold/cmake_install.cmake:45 (FILE):
  file RPATH_CHANGE could not write new RPATH:

    $ORIGIN

  to the file:

    /home/espindola/llvm/test-install/lib/LLVMgold.so

  The current RUNPATH is:

    /home/espindola/llvm/build/lib

  which does not contain:

    /home/espindola/llvm/build/lib:
-----------------------------------------------------

Maybe it is possible to get cmake to not set the rpath automatically
and manually pass the flag when linking LLVMgold.so?

Cheers,
Rafael



More information about the llvm-commits mailing list