From: Paolo Bonzini <pbonzini@redhat.com>
To: Emmanuel Blot <eblot.ml@gmail.com>, QEMU <qemu-devel@nongnu.org>
Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
"John Snow" <jsnow@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>
Subject: Re: ld: file not found: _PreallocMode_lookup on macOS Catalina
Date: Mon, 19 Oct 2020 19:23:02 +0200 [thread overview]
Message-ID: <34bcbf58-141b-35a1-6433-006a369827db@redhat.com> (raw)
In-Reply-To: <3C35D6D8-D9FE-4977-B27F-59CCACFEAA32@gmail.com>
On 19/10/20 19:16, Emmanuel Blot wrote:
> --- undef_sh.log 2020-10-19 19:15:08.000000000 +0200
> +++ undef_py.log 2020-10-19 19:15:20.000000000 +0200
> @@ -1,3 +1,4 @@
> +-Wl,-u,
> -Wl,-u,_PreallocMode_lookup
> -Wl,-u,__TRACE_CURL_CLOSE_DSTATE
> -Wl,-u,__TRACE_CURL_OPEN_DSTATE
>
>
> I think it can be addressed with the following patch:
>
> From d157bd508d32485dd5cdb3efcff7969a89628cc1 Mon Sep 17 00:00:00 2001
> From: Emmanuel Blot <emmanuel.blot@sifive.com>
> Date: Mon, 19 Oct 2020 19:07:03 +0200
> Subject: [PATCH] Fix regression with undefined symbol filter introduced in
> 604f3e4e.
>
> ---
> scripts/undefsym.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/scripts/undefsym.py b/scripts/undefsym.py
> index 69a895cd26..254c456f25 100644
> --- a/scripts/undefsym.py
> +++ b/scripts/undefsym.py
> @@ -21,6 +21,8 @@ def filter_lines_set(stdout, from_staticlib):
> continue
> if not from_staticlib and tokens[1] != b'U':
> continue
> + if not tokens[0]:
> + continue
> new_line = b'-Wl,-u,' + tokens[0]
> if not new_line in linesSet:
> linesSet.add(new_line)
Great, thanks. Can you check if my patch would also work, as it would
adhere more to the pre-conversion logic?
Paolo
prev parent reply other threads:[~2020-10-19 17:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 15:33 ld: file not found: _PreallocMode_lookup on macOS Catalina Emmanuel Blot
2020-10-19 15:50 ` Philippe Mathieu-Daudé
2020-10-19 16:40 ` Emmanuel Blot
2020-10-19 17:14 ` Paolo Bonzini
2020-10-19 17:24 ` Emmanuel Blot
2020-10-19 17:16 ` Emmanuel Blot
2020-10-19 17:23 ` Paolo Bonzini [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=34bcbf58-141b-35a1-6433-006a369827db@redhat.com \
--to=pbonzini@redhat.com \
--cc=armbru@redhat.com \
--cc=eblot.ml@gmail.com \
--cc=jsnow@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.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 NNTP newsgroup(s).