public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: <ckim@etri.re.kr>
Cc: "'Chan Kim via Libc-help'" <libc-help@sourceware.org>
Subject: Re: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' during qemu build
Date: Tue, 25 May 2021 14:21:31 +0200	[thread overview]
Message-ID: <874ker0zsk.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <027f01d7515f$e65ee280$b31ca780$@etri.re.kr> (ckim@etri.re.kr's message of "Tue, 25 May 2021 21:17:15 +0900")

> Hello Florian,
> Thank you for the reply.
> I examined if the -ldl option is really used. I added V=1 during the qemu
> make to see the detail.

Order of command line arguments matters.  -ldl is ignored if it comes to
early if the toolchain defaults to -Wl,--as-needed.

Thanks,
Florian


  reply	other threads:[~2021-05-25 12:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-25  4:47 ckim
2021-05-25  7:36 ` Florian Weimer
2021-05-25 12:17   ` ckim
2021-05-25 12:21     ` Florian Weimer [this message]
2021-05-26  1:16     ` ckim
2021-05-26  1:48       ` Jeffrey Walton
2021-05-26  4:57         ` ckim

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=874ker0zsk.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=ckim@etri.re.kr \
    --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).