public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Nima Hamidi <nimaa.hamidi@gmail.com>
To: Nima Hamidi via Libc-help <libc-help@sourceware.org>,
	Florian Weimer <fweimer@redhat.com>
Subject: Re: Using dlmope/dlopem with RTLD_GLOBAL
Date: Mon, 13 Feb 2023 05:28:32 -0600	[thread overview]
Message-ID: <610ea02e-a122-48b8-bec3-59c51195a850@Spark> (raw)
In-Reply-To: <a3e22347-7284-4948-a869-de14b630dc22@Spark>

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

FYI, filed the issue: https://sourceware.org/bugzilla/show_bug.cgi?id=30118
On Feb 13, 2023 at 4:40 AM -0600, Nima Hamidi <nimaa.hamidi@gmail.com>, wrote:
> Thanks for your quick response. Will do that once I can create an account on Bugzilla.
> On Feb 13, 2023 at 4:30 AM -0600, Florian Weimer <fweimer@redhat.com>, wrote:
> > * Nima Hamidi via Libc-help:
> >
> > > The error won’t happen if I dlopen with RTLD_LOCAL in b.cpp rather
> > > than RTLD_GLOBAL. I would appreciate any help on what I’m doing wrong
> > > here.
> >
> > I think I see what's going on. The add_to_global_resize function does
> > not take into account that the global scope does not exist yet when it
> > is called. Would you please file a bug in Bugzilla?
> >
> > <https://sourceware.org/bugzilla/enter_bug.cgi?product=glibc&component=dynamic-link>
> >
> > Thanks,
> > Florian
> >

      reply	other threads:[~2023-02-13 11:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <14297fb9-70cb-42b1-a477-6fb68c03ff64@Spark>
2023-02-13  9:23 ` Nima Hamidi
2023-02-13 10:29   ` Florian Weimer
2023-02-13 10:40     ` Nima Hamidi
2023-02-13 11:28       ` Nima Hamidi [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=610ea02e-a122-48b8-bec3-59c51195a850@Spark \
    --to=nimaa.hamidi@gmail.com \
    --cc=fweimer@redhat.com \
    --cc=libc-help@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).