Build failure xorg-drivers with Clang

Dimitry Andric dim at FreeBSD.org
Tue Jul 10 10:23:33 UTC 2012


On 2012-07-09 22:44, Robert wrote:
> I am trying to build a 9.0 Stable system and am getting this error when
> building xorg meta port. I have clang set up as follows
...
> The error:
> 
> In file included from xf86Helper.c:54:
> In file included from ../../../hw/xfree86/os-support/xf86_OSlib.h:451:
> ./compiler.h:1104:24: error: invalid operand in inline asm: 'in${0:B}
> ($1)' __asm__ __volatile__("in%B0 (%1)" :
>                        ^
> ./compiler.h:1104:24: error: unknown use of instruction mnemonic
> without a size suffix
> <inline asm>:1:2: note: instantiated into assembly here
>         in (%dx)
>         ^

Are you sure this is a failure in xorg-drivers?  This looks more like
xorg-server code.  Also, are you using WITH_NEW_XORG or not?  Last but
not least, what does "clang -v" print?

In any case, it would be enlightening if you post the full build log
somewhere.


More information about the freebsd-stable mailing list