[pulseaudio-discuss] broken detection of vm

Daniel Mack daniel at caiaq.de
Mon Nov 9 13:54:48 PST 2009


On Mon, Nov 09, 2009 at 03:42:15PM -0600, pl bossart wrote:
> Here's the error I get with git master when compiling on an older Thinkpad X41:
> 
> pulsecore/core-util.c: In function ‘pa_running_in_vm’:
> pulsecore/core-util.c:3087: error: can't find a register in class
> ‘BREG’ while reloading ‘asm’
> pulsecore/core-util.c:3087: error: ‘asm’ operand has impossible constraints
> 
> Is this code supposed to work across all x86 versions?

Does compiling with -O1 or without -fpic solve the problem? I got
similar problems on Mac OS X. But not with the same source file.

Daniel



More information about the pulseaudio-discuss mailing list