From: Marius Bakke <mbakke@fastmail.com>
To: Pierre Neidhardt <mail@ambrevar.xyz>, help-guix <help-guix@gnu.org>
Subject: Re: [dxvk] How to set RPATH with Meson?
Date: Wed, 25 Mar 2020 18:35:51 +0100 [thread overview]
Message-ID: <87y2roz6a0.fsf@devup.no> (raw)
In-Reply-To: <87h7ycy1ls.fsf@ambrevar.xyz>
[-- Attachment #1: Type: text/plain, Size: 1965 bytes --]
Pierre Neidhardt <mail@ambrevar.xyz> writes:
> Hi!
>
> I'm trying to update DXVK to 1.6 and it now ships a new d3d10core.dll.so
> on which its other libraries depend.
> Thus RUNPATH verification fails:
>
> --8<---------------cut here---------------start------------->8---
> validating RUNPATH of 6 binaries in "/gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib"...
> /gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib/d3d10.dll.so: error: depends on 'd3d10core.dll.so', which cannot be found in RUNPATH ("/gnu/store/f2xz8fhfsb559xnpqxqik5y121svnhdg-glibc-2.29/lib" "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib" "/gnu/store/8239jfnnszqgsvyqansvwwwqzryw9zhb-wine-staging-5.3/bin/../lib/wine32" "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib/gcc/i686-unknown-linux-gnu/9.3.0/../../..")
> /gnu/store/d78ivdn8y5idyzikidmm7jmpi5pnkrxl-dxvk32-1.6/lib/d3d10_1.dll.so: error: depends on 'd3d10core.dll.so', which cannot be found in RUNPATH ("/gnu/store/f2xz8fhfsb559xnpqxqik5y121svnhdg-glibc-2.29/lib" "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib" "/gnu/store/8239jfnnszqgsvyqansvwwwqzryw9zhb-wine-staging-5.3/bin/../lib/wine32" "/gnu/store/vmdi5a25sg3dpwp28762xssiayb6qjp6-gcc-9.3.0-lib/lib/gcc/i686-unknown-linux-gnu/9.3.0/../../..")
> --8<---------------cut here---------------end--------------->8---
>
> I tried passing the following arguments:
>
> --8<---------------cut here---------------start------------->8---
> (string-append "-Dc_link_args=-Wl,-rpath="
> (assoc-ref %outputs "out")
> "/lib")
> (string-append "-Dcpp_link_args=-Wl,-rpath="
> (assoc-ref %outputs "out")
> "/lib")
> --8<---------------cut here---------------end--------------->8---
>
> Didn't work.
>
> Any idea where to go from here?
meson-build-system already passes those arguments unconditionally.
Perhaps meson.build does something weird and ignores those flags?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2020-03-25 17:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-25 14:02 [dxvk] How to set RPATH with Meson? Pierre Neidhardt
2020-03-25 17:35 ` Marius Bakke [this message]
2020-03-26 10:14 ` Pierre Neidhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2roz6a0.fsf@devup.no \
--to=mbakke@fastmail.com \
--cc=help-guix@gnu.org \
--cc=mail@ambrevar.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).