* [Qemu-devel] [Bug 960378] [NEW] OSX 10.7 build failure
@ 2012-03-20 16:45 Hans Simer
2016-06-17 15:49 ` [Qemu-devel] [Bug 960378] " Peter Maydell
0 siblings, 1 reply; 6+ messages in thread
From: Hans Simer @ 2012-03-20 16:45 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
qemu-1.0.1
./configure --cc=/usr/bin/gcc --disable-darwin-user --disable-bsd-user --disable-guest-agent
CC bitops.o
CC migration-exec.o
CC migration-unix.o
CC migration-fd.o
CC audio/audio.o
CC audio/noaudio.o
CC audio/wavaudio.o
CC audio/mixeng.o
CC audio/coreaudio.o
audio/coreaudio.c: In function ‘isPlaying’:
audio/coreaudio.c:152: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c: In function ‘coreaudio_init_out’:
audio/coreaudio.c:310: warning: ‘AudioHardwareGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1270)
audio/coreaudio.c:326: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c:353: warning: ‘AudioDeviceSetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2675)
audio/coreaudio.c:370: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c:386: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c:403: warning: ‘AudioDeviceSetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2675)
audio/coreaudio.c:419: warning: ‘AudioDeviceAddIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2419)
audio/coreaudio.c:431: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2433)
audio/coreaudio.c: In function ‘coreaudio_fini_out’:
audio/coreaudio.c:456: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2433)
CC audio/wavcapture.o
CC ui/keymaps.o
OBJC ui/cocoa.o
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:24,
from /System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9,
from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:70,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from ui/cocoa.m:25:
/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:73: error: conflicting types for ‘uint16’
/Users/marty/extern/qemu-1.0.1/fpu/softfloat.h:60: error: previous declaration of ‘uint16’ was here
ui/cocoa.m: In function ‘-[QemuCocoaAppController applicationDidFinishLaunching:]’:
ui/cocoa.m:773: warning: ‘beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:’ is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSOpenPanel.h:49)
ui/cocoa.m: In function ‘-[QemuCocoaAppController openPanelDidEnd:returnCode:contextInfo:]’:
ui/cocoa.m:810: warning: ‘filename’ is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:276)
make: *** [ui/cocoa.o] Error 1
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/960378
Title:
OSX 10.7 build failure
Status in QEMU:
New
Bug description:
qemu-1.0.1
./configure --cc=/usr/bin/gcc --disable-darwin-user --disable-bsd-user --disable-guest-agent
CC bitops.o
CC migration-exec.o
CC migration-unix.o
CC migration-fd.o
CC audio/audio.o
CC audio/noaudio.o
CC audio/wavaudio.o
CC audio/mixeng.o
CC audio/coreaudio.o
audio/coreaudio.c: In function ‘isPlaying’:
audio/coreaudio.c:152: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c: In function ‘coreaudio_init_out’:
audio/coreaudio.c:310: warning: ‘AudioHardwareGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1270)
audio/coreaudio.c:326: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c:353: warning: ‘AudioDeviceSetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2675)
audio/coreaudio.c:370: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c:386: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c:403: warning: ‘AudioDeviceSetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2675)
audio/coreaudio.c:419: warning: ‘AudioDeviceAddIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2419)
audio/coreaudio.c:431: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2433)
audio/coreaudio.c: In function ‘coreaudio_fini_out’:
audio/coreaudio.c:456: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2433)
CC audio/wavcapture.o
CC ui/keymaps.o
OBJC ui/cocoa.o
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:24,
from /System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9,
from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:70,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from ui/cocoa.m:25:
/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:73: error: conflicting types for ‘uint16’
/Users/marty/extern/qemu-1.0.1/fpu/softfloat.h:60: error: previous declaration of ‘uint16’ was here
ui/cocoa.m: In function ‘-[QemuCocoaAppController applicationDidFinishLaunching:]’:
ui/cocoa.m:773: warning: ‘beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:’ is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSOpenPanel.h:49)
ui/cocoa.m: In function ‘-[QemuCocoaAppController openPanelDidEnd:returnCode:contextInfo:]’:
ui/cocoa.m:810: warning: ‘filename’ is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:276)
make: *** [ui/cocoa.o] Error 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/960378/+subscriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Qemu-devel] [Bug 960378] Re: OSX 10.7 build failure
2012-03-20 16:45 [Qemu-devel] [Bug 960378] [NEW] OSX 10.7 build failure Hans Simer
@ 2016-06-17 15:49 ` Peter Maydell
2016-06-18 19:09 ` [Qemu-devel] " Stefan Weil
0 siblings, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2016-06-17 15:49 UTC (permalink / raw)
To: qemu-devel
QEMU 2.6 builds without any deprecation warnings being generated.
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/960378
Title:
OSX 10.7 build failure
Status in QEMU:
Fix Released
Bug description:
qemu-1.0.1
./configure --cc=/usr/bin/gcc --disable-darwin-user --disable-bsd-user --disable-guest-agent
CC bitops.o
CC migration-exec.o
CC migration-unix.o
CC migration-fd.o
CC audio/audio.o
CC audio/noaudio.o
CC audio/wavaudio.o
CC audio/mixeng.o
CC audio/coreaudio.o
audio/coreaudio.c: In function ‘isPlaying’:
audio/coreaudio.c:152: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c: In function ‘coreaudio_init_out’:
audio/coreaudio.c:310: warning: ‘AudioHardwareGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1270)
audio/coreaudio.c:326: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c:353: warning: ‘AudioDeviceSetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2675)
audio/coreaudio.c:370: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c:386: warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2640)
audio/coreaudio.c:403: warning: ‘AudioDeviceSetProperty’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2675)
audio/coreaudio.c:419: warning: ‘AudioDeviceAddIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2419)
audio/coreaudio.c:431: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2433)
audio/coreaudio.c: In function ‘coreaudio_fini_out’:
audio/coreaudio.c:456: warning: ‘AudioDeviceRemoveIOProc’ is deprecated (declared at /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2433)
CC audio/wavcapture.o
CC ui/keymaps.o
OBJC ui/cocoa.o
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:24,
from /System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9,
from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:70,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from ui/cocoa.m:25:
/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:73: error: conflicting types for ‘uint16’
/Users/marty/extern/qemu-1.0.1/fpu/softfloat.h:60: error: previous declaration of ‘uint16’ was here
ui/cocoa.m: In function ‘-[QemuCocoaAppController applicationDidFinishLaunching:]’:
ui/cocoa.m:773: warning: ‘beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSelector:contextInfo:’ is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSOpenPanel.h:49)
ui/cocoa.m: In function ‘-[QemuCocoaAppController openPanelDidEnd:returnCode:contextInfo:]’:
ui/cocoa.m:810: warning: ‘filename’ is deprecated (declared at /System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:276)
make: *** [ui/cocoa.o] Error 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/960378/+subscriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] OSX 10.7 build failure
2016-06-17 15:49 ` [Qemu-devel] [Bug 960378] " Peter Maydell
@ 2016-06-18 19:09 ` Stefan Weil
2016-06-18 19:19 ` Stefan Weil
2016-06-18 20:51 ` Peter Maydell
0 siblings, 2 replies; 6+ messages in thread
From: Stefan Weil @ 2016-06-18 19:09 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]
Am 17.06.2016 um 17:49 schrieb Peter Maydell:
> QEMU 2.6 builds without any deprecation warnings being generated.
>
>
> ** Changed in: qemu
> Status: New => Fix Released
The deprecation warnings from
https://bugs.launchpad.net/bugs/960378 are fixed,
but I get new ones with OS X 10.11.5 and latest XCode.
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
ld: unknown option: --verbose
make:
/Users/admin/src/qemu/qemu.org/qemu/qemu-doc.texi:7: warning:
unrecognized encoding name `UTF-8'.
/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)
The complete build protocol is available from
https://qemu.weilnetz.de/test/Mac-OS-X-10.11.5.txt
The resulting binary qemu-system-x86_64 boots the BIOS with curses,
but not with cocoa which does not show any window or other output.
Regards,
Stefan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] OSX 10.7 build failure
2016-06-18 19:09 ` [Qemu-devel] " Stefan Weil
@ 2016-06-18 19:19 ` Stefan Weil
2016-06-18 20:51 ` Peter Maydell
1 sibling, 0 replies; 6+ messages in thread
From: Stefan Weil @ 2016-06-18 19:19 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
Am 18.06.2016 um 21:09 schrieb Stefan Weil:
> The resulting binary qemu-system-x86_64 boots the BIOS with curses,
> but not with cocoa which does not show any window or other output.
This problem is solved: I had used a remote shell for building on the Mac
and tried qemu-system-x86_64 as I do it when running a remote shell
on any of my Linux build machines. This works with X Window, but
Cocoa shows the output on the Mac's screen.
Stefan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] OSX 10.7 build failure
2016-06-18 19:09 ` [Qemu-devel] " Stefan Weil
2016-06-18 19:19 ` Stefan Weil
@ 2016-06-18 20:51 ` Peter Maydell
2016-06-18 21:37 ` Peter Maydell
1 sibling, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2016-06-18 20:51 UTC (permalink / raw)
To: Stefan Weil; +Cc: QEMU Developers
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] OSX 10.7 build failure
2016-06-18 20:51 ` Peter Maydell
@ 2016-06-18 21:37 ` Peter Maydell
0 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2016-06-18 21:37 UTC (permalink / raw)
To: Stefan Weil; +Cc: QEMU Developers
On 18 June 2016 at 21:51, Peter Maydell <peter.maydell@linaro.org> wrote:
> 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.
I'll put some patches together for these at least.
thanks
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-06-18 21:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-06-18 21:37 ` Peter Maydell
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).