qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Stefan Weil <sw@weilnetz.de>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] OSX 10.7 build failure
Date: Sat, 18 Jun 2016 21:51:11 +0100	[thread overview]
Message-ID: <CAFEAcA_XCOeOPPyOfof1zm6g-s2YbjFvXcarppDHL8BCTFEsHA@mail.gmail.com> (raw)
In-Reply-To: <57659C87.1030307@weilnetz.de>

On 18 June 2016 at 20:09, Stefan Weil <sw@weilnetz.de> wrote:
> Here is a list of problems which I noticed:
>
> configure:
>
>     readelf: Error: Not an ELF file - it has the wrong magic bytes at
> the start

We should make our configure test correctly send stderr
to /dev/null, since "not an ELF file" is OK and just
means "test should not pass".

>     ld: unknown option: --verbose

This whole test should be 'only if doing linux-user or
bsd-user builds' I guess, since it's only for those.

> make:
>
>     /Users/admin/src/qemu/qemu.org/qemu/qemu-doc.texi:7: warning:
> unrecognized encoding name `UTF-8'.

This is because OSX's texinfo is ancient.

None of the three things above cause build failures, though,
even with warnings-as-errors.

>     /Users/admin/src/qemu/qemu.org/qemu/hw/audio/fmopl.c:1082:39:
> warning: shifting a negative signed value is undefined
> [-Wshift-negative-value]
>     /Users/admin/src/qemu/qemu.org/qemu/ui/vnc.c:3766:20: warning:
> 'sasl_server_init' is deprecated: first deprecated in OS X 10.11
> [-Wdeprecated-declarations]
>     (more sasl related deprecation warnings follow)
>     /Users/admin/src/qemu/qemu.org/qemu/target-mips/op_helper.c:1326:68:
> warning: shifting a negative signed value is undefined
> [-Wshift-negative-value]
>     (more similar warnings follow)

Hmm. I don't get any warnings about shifting negative values,
so they're presumably new with the clang from 10.11.
We really should figure out what we're doing about those
and get our compiler flags and/or code in line accordingly.

I'm still on 10.10.5 so I don't see the sasl_server_init()
deprecation.

thanks
-- PMM

  parent reply	other threads:[~2016-06-18 20:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 16:45 [Qemu-devel] [Bug 960378] [NEW] OSX 10.7 build failure Hans Simer
2016-06-17 15:49 ` [Qemu-devel] [Bug 960378] " Peter Maydell
2016-06-18 19:09   ` [Qemu-devel] " Stefan Weil
2016-06-18 19:19     ` Stefan Weil
2016-06-18 20:51     ` Peter Maydell [this message]
2016-06-18 21:37       ` Peter Maydell

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=CAFEAcA_XCOeOPPyOfof1zm6g-s2YbjFvXcarppDHL8BCTFEsHA@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /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).