[cfe-dev] [3.3 Release] 3.3rc3 Now Available
Reid Kleckner
rnk at google.com
Fri Jun 7 06:10:28 PDT 2013
Scrubbing it after the fact from the binary also works.
On Fri, Jun 7, 2013 at 8:58 AM, Sylvestre Ledru <sylvestre at debian.org>wrote:
> On 06/06/2013 18:04, Hans Wennborg wrote:> 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
> 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
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130607/273375eb/attachment.html>
More information about the cfe-dev
mailing list