All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dora, Sunil Kumar" <SunilKumar.Dora@windriver.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v3] rust: add rust-analyzer to the SDK behind a PACKAGECONFIG
Date: Thu, 12 Nov 2026 23:57:34 -0800	[thread overview]
Message-ID: <727417.1794556654997095405@lists.openembedded.org> (raw)
In-Reply-To: <CAMKF1spBTO3yUOYJ1pNkSKn9pfzQioX0o5OJU+Nbk=bh5G0OEw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

On Fri, Nov 13, 2026 at 12:17 PM, Khem Raj wrote:

> 
> binary is started by the system loader, but then picks up a libc.so.6 from
> some other glibc tree
> (the.../lib/ in the message). That libc wants a private symbol the system
> loader doesn’t
> provide, so rustc dies before doing anything.
> 

Yes. This looks like the same issue as YOCTO #15579 / #15735.
Two patches to drop the wrapper were posted in early 2025 and not merged,
the concern being the libncurses case the wrapper was added for in 388e7cac9f ( https://git.openembedded.org/openembedded-core/commit/?id=388e7cac9f90e79ce8c3c1683d8ee0f4df1bc907 ).

What has changed since then is glibc 2.44: the pointer guard moved to a
GLIBC_PRIVATE symbol exported by ld.so, so any host loader older than
2.44 now fails deterministically on the SDK libc:

https://sourceware.org/git/?p=glibc.git;a=commit;h=a5ec880f808ee7268d985bed4f961799bdc0a4bf

With rust-analyzer in the SDK this will be hit by anyone who has rustup
installed, so it may be worth revisiting. How would you like this tracked?

Thanks,
Sunil Dora

> 
> 
>

[-- Attachment #2: Type: text/html, Size: 1377 bytes --]

      reply	other threads:[~2026-11-13  7:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-06 11:12 [PATCH v2 0/2] rust: add rust-analyzer support Benhur Tessele
2026-10-06 11:12 ` [PATCH v2 1/2] rust: package rust-analyzer for the SDK Benhur Tessele
2026-11-09 14:15   ` Paul Barker
2026-10-06 11:12 ` [PATCH v2 2/2] packagegroup-rust-cross-canadian: add rust-analyzer to " Benhur Tessele
2026-11-11 15:44 ` [PATCH v3] rust: add rust-analyzer to the SDK behind a PACKAGECONFIG Benhur Tessele
2026-11-13  6:19   ` Dora, Sunil Kumar
2026-11-13  6:46     ` [OE-core] " Khem Raj
2026-11-13  7:57       ` Dora, Sunil Kumar [this message]

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=727417.1794556654997095405@lists.openembedded.org \
    --to=sunilkumar.dora@windriver.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.