All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v2 0/3] mesa: small improvements after 25.0 merge
Date: Mon, 21 Apr 2025 17:20:03 -0700	[thread overview]
Message-ID: <c5d578d2-2fbf-4a47-bdee-d72ac623708b@gmail.com> (raw)
In-Reply-To: <CAO9ioeU8zhRVX_BgB3Pp_psH49gJt+jeE92TcfrZZoaL-HjUiA@mail.gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 3604 bytes --]

On 4/21/25 12:32 PM, Dmitry Baryshkov wrote:
> On Mon, 21 Apr 2025 at 18:22, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> Hi Dmitry
>>
>> I have picked these patch into clang-merge-2 branch.
>>
>> https://web.git.yoctoproject.org/poky-contrib/log/?h=kraj/clang-merge-2
>>
>> They help with some mesa-native build failures however, I am still
>> seeing a build failure build mesa-native
>> on musl targets. I am not sure why target should matter but it seems
>> to see the error
> 
> Note, the error is about 'required file', it usually means that the
> dynamic loader is not found.
> I'll try reproducing it locally.
> 
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/150
>>
>> Error is that mesa_clc is not available before its use. Interestingly,
>> it never fails locally here but it always fails on AB. Is there some
>> sort of build race or something else going on?
> 
> And this is usually because there was a uninative-enabled build in
> sstate cache which is now being reused for the non-uninative.
> Let's see if I can reproduce it...

Its in right direction, I could get the information from the worker machine

build-renamed/tmp/work/x86_64-linux/mesa-native/25.0.2$ 
./build/src/compiler/clc/mesa_clc
-bash: ./build/src/compiler/clc/mesa_clc: cannot execute: required file 
not found

if dump the ELF headers it looks for interpreter from a uninative path
which is absolute and points to the location where it was built in 
another build

       [Requesting program interpreter: 
/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2]

This file does not exist in current build.


> 
>> Would appreciate help.
>>
>> On Thu, Apr 17, 2025 at 5:57 PM Dmitry Baryshkov via
>> lists.openembedded.org
>> <dmitry.baryshkov=oss.qualcomm.com@lists.openembedded.org> wrote:
>>>
>>> Several bugfixes after Mesa 25.0 recipe was merged:
>>> - Replace the bindgen patches with meson-based fix (Dylan Baker)
>>> - Bundle OpenCL C headers
>>>
>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>>> ---
>>> Changes in v2:
>>> - Dropped applied patches
>>> - Add the bundle-opencl-headers patch
>>> - Link to v1: https://lore.kernel.org/r/20250412-mesa-25-fixes-v1-0-791840391271@oss.qualcomm.com
>>>
>>> ---
>>> Dmitry Baryshkov (3):
>>>        meson: pass -target and -I to bindgen calls
>>>        mesa: drop the bindgen patch
>>>        mesa: bundle Clang OpenCL headers into meta-clc
>>>
>>>   meta/classes-recipe/meson.bbclass                  |  1 +
>>>   ...d-an-option-to-force-inclusion-of-OpenCL-.patch | 57 ++++++++++++++++++
>>>   ...vide-cross-compilation-arguments-to-LLVM-.patch | 67 ----------------------
>>>   meta/recipes-graphics/mesa/mesa.inc                |  9 +--
>>>   4 files changed, 61 insertions(+), 73 deletions(-)
>>> ---
>>> base-commit: 53c772c941d5ce69ab89f35cd04724b740daf269
>>> change-id: 20250411-mesa-25-fixes-5a38fe55dd3c
>>>
>>> Best regards,
>>> --
>>> Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>>>
>>>
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> Links: You receive all messages sent to this group.
>>> View/Reply Online (#215115): https://lists.openembedded.org/g/openembedded-core/message/215115
>>> Mute This Topic: https://lists.openembedded.org/mt/112324544/1997914
>>> Group Owner: openembedded-core+owner@lists.openembedded.org
>>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>
> 
> 
> 

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2613 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

  reply	other threads:[~2025-04-22  0:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-18  0:57 [PATCH v2 0/3] mesa: small improvements after 25.0 merge Dmitry Baryshkov
2025-04-18  0:57 ` [PATCH v2 1/3] meson: pass -target and -I to bindgen calls Dmitry Baryshkov
2025-04-18  0:57 ` [PATCH v2 2/3] mesa: drop the bindgen patch Dmitry Baryshkov
2025-04-18  0:57 ` [PATCH v2 3/3] mesa: bundle Clang OpenCL headers into meta-clc Dmitry Baryshkov
2025-04-21 15:21 ` [OE-core] [PATCH v2 0/3] mesa: small improvements after 25.0 merge Khem Raj
2025-04-21 19:32   ` Dmitry Baryshkov
2025-04-22  0:20     ` Khem Raj [this message]
2025-04-22  1:13       ` Khem Raj

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=c5d578d2-2fbf-4a47-bdee-d72ac623708b@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --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.