From: "Andreas Färber" <andreas.faerber@web.de>
To: Peter Bartoli <peter@bartoli.org>, qemu-devel <qemu-devel@nongnu.org>
Cc: Kevin Wolf <kwolf@redhat.com>,
Peter Maydell <peter.maydell@linaro.org>,
Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] OS X compile fix
Date: Sun, 18 May 2014 10:50:14 +0200 [thread overview]
Message-ID: <53787446.4070600@web.de> (raw)
In-Reply-To: <B0F10CD9-253D-4AF8-8A3D-623DEEABF759@bartoli.org>
Hi,
Am 18.05.2014 01:14, schrieb Peter Bartoli:
>
> At the recommendation of Mark Cave-Ayland, I'm sending this patch in to
> remedy a long-time Mac OS X compile issue.
Define "long-time"? 2.0 compiled just fine for me on v10.5.8 with
gcc-4.2. I see a number of deprecation and possibly-used-uninitialized
warnings but no breakage. What OSX version and what compiler are you
using, and what error or warning are you seeing without your patch?
Right now on qemu.git I have a different build issue: In scripts/qapi.py
"except IOError as e" needs to be "except IOError, e". But
block/raw-posix.c still builds fine here.
> The offsets are a way off in
> this diff, but it still works.
Offsets are not the only issue with this "patch", see
http://wiki.qemu-project.org/Contribute/SubmitAPatch
* HTML format
* No Signed-off-by
* No [PATCH]
* Block maintainers not CC'ed (not so important here)
* Insufficient description of what is being fixed
Regards,
Andreas
> --- block/raw-posix.c.orig 2012-12-03 11:37:05.000000000 -0800
> +++ block/raw-posix.c 2012-12-03 18:24:47.000000000 -0800
> @@ -914,11 +914,11 @@
> size = 0;
> }
> if (size == 0)
> #endif
> #if defined(__APPLE__) && defined(__MACH__)
> - size = LONG_LONG_MAX;
> + size = LLONG_MAX;
> #else
> size = lseek(fd, 0LL, SEEK_END);
> #endif
> #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
> switch(s->type) {
next prev parent reply other threads:[~2014-05-18 8:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-17 23:14 [Qemu-devel] OS X compile fix Peter Bartoli
2014-05-18 8:50 ` Andreas Färber [this message]
2014-05-18 11:40 ` Peter Maydell
2014-05-18 22:45 ` Peter Bartoli
2014-05-18 23:09 ` Peter Maydell
2014-05-19 0:06 ` Peter Bartoli
2014-05-19 8:19 ` Peter Maydell
2014-05-19 13:41 ` Aggeler Fabian
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=53787446.4070600@web.de \
--to=andreas.faerber@web.de \
--cc=kwolf@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=peter.maydell@linaro.org \
--cc=peter@bartoli.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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).