qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Howard Spoelstra <hsp.cat7@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [PULL v7 000/151] Meson-based build system
Date: Fri, 21 Aug 2020 14:33:12 +0200	[thread overview]
Message-ID: <dd66cee7-c6d2-a81e-2e53-eca34ed78be8@redhat.com> (raw)
In-Reply-To: <CABLmASECM5tVVw3TMJn+0bCT7O4H_guy5TJd9YQKYYx+QUKBKQ@mail.gmail.com>

On 21/08/20 12:58, Howard Spoelstra wrote:
> I investigated a bit further and saw:
> ldd in Fedora tells me the executable is "not a dynamic executable".

How are you executing ldd?  I cross built a mingw executable from Fedora
and it was definitely using system DLLs.

PIE builds and doesn't start (doesn't even reach main) but --disable-pie
works just fine.  I don't know if the same issue is present under
Windows or it's Wine-specific.

Stuff that is not in CI pipelines is going to break.  Since there is an
easy workaround for bisection (--disable-pie), and Meson makes it easier
to run tests under Wine, we really should fix this on top of the
conversion and also add Wine support to the CI pipelines.  This way it
will be tested.

As to grepy.sh, perhaps the problem is due to CRLF line endings?  My
suggestion is that you just rewrite it in Python, like

s = set()
for fname in sys.argv[1:]:
    with open(fname, 'r') as f:
        s.update((x.rstrip() for x in f
                  if x.rstrip().endswith('=y')))
print(*sorted(s), sep='\n')

and send a patch after you've tested it.

Paolo

> Meson seems to default to try a static build and enable pie, whereas a
> normal build would require --static to enable that and have pie=no



  reply	other threads:[~2020-08-21 12:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 21:32 [PULL v7 000/151] Meson-based build system Paolo Bonzini
2020-08-19 21:59 ` Eric Blake
2020-08-19 22:08   ` Paolo Bonzini
2020-08-20 10:33 ` Peter Maydell
2020-08-20 11:52   ` Paolo Bonzini
2020-08-20 14:54     ` Peter Maydell
2020-08-20 16:02       ` Paolo Bonzini
2020-08-20 16:10         ` Peter Maydell
2020-08-21  6:15 ` Howard Spoelstra
2020-08-21 10:58   ` Howard Spoelstra
2020-08-21 12:33     ` Paolo Bonzini [this message]
2020-08-21 16:11       ` Howard Spoelstra
2020-08-21 16:16         ` Paolo Bonzini
2020-08-24 16:18       ` Daniel P. Berrangé

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=dd66cee7-c6d2-a81e-2e53-eca34ed78be8@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=hsp.cat7@gmail.com \
    --cc=peter.maydell@linaro.org \
    --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).