mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Florian Faber <faber@faberman.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] host-orc-4.30/orcc library location
Date: Thu, 17 Oct 2019 07:32:18 +0200	[thread overview]
Message-ID: <0ecf8318-ff25-848a-c081-a65deeeaa683@faberman.de> (raw)

Hi,

host-orc-4.30 places its libraries in

./sysroot-host/lib/x86_64-linux-gnu/liborc-0.4.so.0
./sysroot-host/lib/x86_64-linux-gnu/liborc-0.4.so.0.30.0
./sysroot-host/lib/x86_64-linux-gnu/liborc-0.4.so

but orcc is looking for them in

openat(AT_FDCWD, 
"$PTXDIST/platform-BAG/sysroot-host/bin/../lib/tls/haswell/x86_64/liborc-0.4.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("$PTXDIST/platform-BAG/sysroot-host/bin/../lib/tls/haswell/x86_64", 
0x7ffe45dcc500) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"$PTXDIST/platform-BAG/sysroot-host/bin/../lib/tls/haswell/liborc-0.4.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("$PTXDIST/platform-BAG/sysroot-host/bin/../lib/tls/haswell", 
0x7ffe45dcc500) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"$PTXDIST/platform-BAG/sysroot-host/bin/../lib/tls/x86_64/liborc-0.4.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("$PTXDIST/platform-BAG/sysroot-host/bin/../lib/tls/x86_64", 
0x7ffe45dcc500) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"$PTXDIST/platform-BAG/sysroot-host/bin/../lib/tls/liborc-0.4.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("$PTXDIST/platform-BAG/sysroot-host/bin/../lib/tls", 
0x7ffe45dcc500) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"$PTXDIST/platform-BAG/sysroot-host/bin/../lib/haswell/x86_64/liborc-0.4.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("$PTXDIST/platform-BAG/sysroot-host/bin/../lib/haswell/x86_64", 
0x7ffe45dcc500) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"$PTXDIST/platform-BAG/sysroot-host/bin/../lib/haswell/liborc-0.4.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("$PTXDIST/platform-BAG/sysroot-host/bin/../lib/haswell", 
0x7ffe45dcc500) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"$PTXDIST/platform-BAG/sysroot-host/bin/../lib/x86_64/liborc-0.4.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("$PTXDIST/platform-BAG/sysroot-host/bin/../lib/x86_64", 
0x7ffe45dcc500) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 
"$PTXDIST/platform-BAG/sysroot-host/bin/../lib/liborc-0.4.so.0", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("$PTXDIST/platform-BAG/sysroot-host/bin/../lib", 
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

where obviously is in vain. It finally resorts to the system's library, 
which in my case has the wrong version (4.28) and bails out.

Moving the Libraries to sysroot-host/lib solves the problem. 
Unfortunately I cannot provide a patch instantly as I never worked with 
meson.


Flo
-- 
Machines can do the work, so people have time to think.

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2019-10-17  5:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17  5:32 Florian Faber [this message]
2019-10-17  5:51 ` Michael Olbrich
2019-10-18  4:41   ` Florian Faber

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0ecf8318-ff25-848a-c081-a65deeeaa683@faberman.de \
    --to=faber@faberman.de \
    --cc=ptxdist@pengutronix.de \
    /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