Print

Print


Here's the info about RPATH:

https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling#default-rpath-settings

Are you doing a "make install"?  That should be stripping out the RPATH, although it appears the default behavior drifted through different releases.

Are you also stripping/relocating the debug symbols?  I unfortunately don't have much background for Arch, but RHEL does something like this:

```
for f in `find "$RPM_BUILD_ROOT" -type f -a -exec file {} \; | \
        grep -v "^${RPM_BUILD_ROOT}/\?usr/lib/debug"  | \
        grep ' shared object,' | \
        sed -n -e 's/^\(.*\):[  ]*ELF.*, not stripped.*/\1/p'`; do
        $STRIP --strip-unneeded "$f"
done
```

If I manually run that against an install tree that refers to the build directory, I see references from the `strings` output disappear.

Reproducible builds are A Good Thing.  Hope you can figure it out!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/790#issuecomment-409927747

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1