Skip to contentSkip to conversation

Build failure on OS X - dynticks

Qemu-devel Luca Tettamanti 2 participants 3 messages Aug 31, 2007

lore
Share & tools
lore
#0 lore raw

Andreas Färber ha scritto:

Quoted 11 lines

Am 25.08.2007 um 09:37 schrieb Andreas F=E4rber:

Quoted 3 lines

One of the recent patches (dynticks) has broken compilation on Mac OS X v10.4. Should this work on OS X or should this have been limited to Linux?

Getting no answer on this I have prepared a quickfix which wraps all dynticks in conditional sections for __linux__, restoring compilation on OS X.
If this is the right way to fix then the conditional sections can be merged with HPET, which is already limited to __linux__.

Sorry for the late reply, I totaly missed you mail. The timers I've used are POSIX and are supported on *BSD so I guessed they would work on OSX too... cleary that's not the case.
Can you grep the headers for timer_create? Maybe the prototypes are in a different file.

Luca

Signature · 2 lines
Non sempre quello che viene dopo e` progresso.
Alessandro Manzoni
#1 lore raw

Am 31.08.2007 um 21:45 schrieb Luca Tettamanti:

Quoted 11 lines

Andreas Färber ha scritto:

Quoted 9 lines

Am 25.08.2007 um 09:37 schrieb Andreas F=E4rber:

Quoted 3 lines

One of the recent patches (dynticks) has broken compilation on Mac OS X v10.4. Should this work on OS X or should this have been limited to Linux?

Getting no answer on this I have prepared a quickfix which wraps all dynticks in conditional sections for __linux__, restoring compilation on OS X.

Quoted 5 lines

Sorry for the late reply, I totaly missed you mail. The timers I've used are POSIX and are supported on *BSD so I guessed they would work on OSX too... cleary that's not the case.
Can you grep the headers for timer_create? Maybe the prototypes are in a different file.

I had that thought myself but man had nothing on it and Spotlight didn't find anything apart from Qemu itself.

Andreas

author
#2 lore raw
Quoted 23 lines · Andreas Färber

Am 31.08.2007 um 21:45 schrieb Luca Tettamanti:

Quoted 11 lines

Andreas Färber ha scritto:

Quoted 9 lines

Am 25.08.2007 um 09:37 schrieb Andreas F=E4rber:

Quoted 3 lines

One of the recent patches (dynticks) has broken compilation on Mac OS X v10.4. Should this work on OS X or should this have been limited to Linux?

Getting no answer on this I have prepared a quickfix which wraps all dynticks in conditional sections for __linux__, restoring compilation on OS X.

Quoted 8 lines

Sorry for the late reply, I totaly missed you mail. The timers I've used
are POSIX and are supported on *BSD so I guessed they would work on OSX
too... cleary that's not the case.
Can you grep the headers for timer_create? Maybe the prototypes are in a
different file.

Quoted 2 lines

I had that thought myself but man had nothing on it and Spotlight didn't find anything apart from Qemu itself.

Oh well, your patch is fine then.

Luca