From: "Vincent Davis Jr" <vince@underview.tech>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] llvm: fix native llvm-config RUNPATH
Date: Sun, 13 Nov 2022 16:09:16 -0800 [thread overview]
Message-ID: <17985.1668384556897417838@lists.openembedded.org> (raw)
In-Reply-To: <CANNYZj_Gt0eou9UeCiq=kZ1dCVJoPqgqEzV0o6O4CvHyrJC4Ag@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3824 bytes --]
O I see usr/lib directory does exists for me in recipe-sysroot-native too, but not in recipe-sysroot.
Think mesa configure may be utilizing the version of llvm-config in recipe-sysroot and
not recipe-sysroot-native.
mesa/2_22.2.2-r0/mesa-22.2.2# ldd ../recipe-sysroot-native/usr/bin/llvm-config
linux-vdso.so.1 (0x00007ffe7b5cb000)
libpseudo.so => /../../../../../../../tmp/sysroots-components/x86_64/pseudo-native/usr/lib/pseudo/lib64/libpseudo.so (0x00007f4d138ed000)
libtinfo.so.5 => /../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/mesa-22.2.2/../recipe-sysroot-native/usr/bin/../lib/libtinfo.so.5 (0x00007f4d138bd000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4d1367d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4d13594000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4d13574000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4d1334c000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4d13347000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4d13342000)
/../../../../../../../tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f4d13994000)
mesa/2_22.2.2-r0/mesa-22.2.2# ldd ../recipe-sysroot/usr/bin/llvm-config
linux-vdso.so.1 (0x00007ffc5bc95000)
libpseudo.so => /../../../../../../../tmp/sysroots-components/x86_64/pseudo-native/usr/lib/pseudo/lib64/libpseudo.so (0x00007f1c6c02b000)
libtinfo.so.5 => /../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/mesa-22.2.2/../recipe-sysroot/usr/bin/../../lib64/libtinfo.so.5 (0x00007f1c6bffb000)
libstdc++.so.6 => /../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/mesa-22.2.2/../recipe-sysroot/usr/bin/../lib64/libstdc++.so.6 (0x00007f1c6bdd7000)
libm.so.6 => /../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/mesa-22.2.2/../recipe-sysroot/usr/bin/../../lib64/libm.so.6 (0x00007f1c6bcfb000)
libgcc_s.so.1 => /../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/mesa-22.2.2/../recipe-sysroot/usr/bin/../../lib64/libgcc_s.so.1 (0x00007f1c6bcdb000)
libc.so.6 => /../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/mesa-22.2.2/../recipe-sysroot/usr/bin/../../lib64/libc.so.6 (0x00007f1c6bafd000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1c6bae2000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1c6badb000)
/../../../../../../../tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f1c6c0d2000)
../mesa/2_22.2.2-r0/mesa-22.2.2# which llvm-config
/../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/recipe-sysroot/usr/bin/crossscripts/llvm-config
../mesa/2_22.2.2-r0/mesa-22.2.2# llvm-config --version
15.0.1
../mesa/2_22.2.2-r0/mesa-22.2.2# llvm-config --libdir
/../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/recipe-sysroot/usr/lib64
../mesa/2_22.2.2-r0/mesa-22.2.2# ls /../../../../../../../mesa/2_22.2.2-r0/recipe-sysroot/usr/
bin include lib64 share
*****************************************************************************************************************************
../mesa/2_22.2.2-r0/mesa-22.2.2# ../recipe-sysroot-native/usr/bin/llvm-config --version
15.0.1
../mesa/2_22.2.2-r0/mesa-22.2.2# ../recipe-sysroot-native/usr/bin/llvm-config --libdir
/../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/recipe-sysroot-native/usr/lib64
../mesa/2_22.2.2-r0/mesa-22.2.2# ls /../../../../../../../tmp/work/amd64-northstar-linux/mesa/2_22.2.2-r0/recipe-sysroot-native/usr/
bin include lib libexec sbin share
My apologies mesa configure utilizes the bin in recipe-sysroot not recipe-sysroot-native.
[-- Attachment #2: Type: text/html, Size: 4506 bytes --]
next prev parent reply other threads:[~2022-11-14 0:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-13 8:44 [PATCH] llvm: fix native llvm-config RUNPATH Vincent Davis Jr
2022-11-13 17:44 ` [OE-core] " Alexander Kanavin
2022-11-13 19:17 ` Vincent Davis Jr
2022-11-13 21:54 ` [OE-core] " Alexander Kanavin
2022-11-13 21:55 ` Alexander Kanavin
2022-11-14 0:09 ` Vincent Davis Jr [this message]
2022-11-14 0:40 ` Vincent Davis Jr
2022-11-14 12:17 ` [OE-core] " Alexander Kanavin
[not found] ` <172772A94B18DE42.10474@lists.openembedded.org>
2022-11-14 13:36 ` Alexander Kanavin
2022-11-14 14:46 ` Vincent Davis Jr
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=17985.1668384556897417838@lists.openembedded.org \
--to=vince@underview.tech \
--cc=openembedded-core@lists.openembedded.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.