Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2012 12:23:30 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Robert <traveling08@cox.net>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: Build failure xorg-drivers with Clang
Message-ID:  <4FFC02A2.8010303@FreeBSD.org>
In-Reply-To: <20120709134426.7f01dd96@dell64>
References:  <20120709134426.7f01dd96@dell64>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FFC02A2.8010303>