From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from informare.org ([217.11.52.70]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iKyPs-0006pF-E9 for ptxdist@pengutronix.de; Thu, 17 Oct 2019 07:33:44 +0200 From: Florian Faber Message-ID: <0ecf8318-ff25-848a-c081-a65deeeaa683@faberman.de> Date: Thu, 17 Oct 2019 07:32:18 +0200 MIME-Version: 1.0 Content-Language: en-US Subject: [ptxdist] host-orc-4.30/orcc library location List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de 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