Displaying 2 results from an estimated 2 matches for "target_build".
2013 Jun 07
0
[LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
...> $ objdump -p clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64/bin/clang | grep
RPATH
> RPATH
>
$ORIGIN/../lib:/home/aadgrand/tmp/LLVM-3.3rc3/rc3/Phase3/Release+Asserts/llvmCore-3.3-rc3.obj/Release+Asserts/bin
To avoid such behavior [1] , in Debian and Ubuntu packages, I am doing:
chrpath -d $(TARGET_BUILD)/Release/bin/clang
chrpath -d `find $(CURDIR)/debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/bin/
-type f -executable`
Sylvestre
[1] http://wiki.debian.org/RpathIssue
2013 Jun 06
5
[LLVMdev] [cfe-dev] [3.3 Release] 3.3rc3 Now Available
It's probably PR12517.
Looking at the clang binary, it's got a /home/ dir in RPATH:
$ objdump -p clang+llvm-3.3rc3-Ubuntu-12.04.2-x86_64/bin/clang | grep RPATH
RPATH
$ORIGIN/../lib:/home/aadgrand/tmp/LLVM-3.3rc3/rc3/Phase3/Release+Asserts/llvmCore-3.3-rc3.obj/Release+Asserts/bin
This will slow things down if the system tries to automount /home/aadgrand.
Maybe we should merge r182559