Compilation failed on current HEAD
Lars Knoll
lars at trolltech.com
Wed Jul 13 00:42:06 PDT 2005
Hi,
On Tuesday 12 July 2005 23:23, Peter Zijlstra wrote:
> Hi,
>
> I tried to build current HEAD; I needed the following patch to make it
> work.
thanks for noting. I applied a slightly different patch (renaming uint back to
unsigned int).
> Index: programs/Xserver/fb/fbmmx.c
> ===================================================================
> RCS file: /cvs/xorg/xc/programs/Xserver/fb/fbmmx.c,v
> retrieving revision 1.11
> diff -u -r1.11 fbmmx.c
> --- programs/Xserver/fb/fbmmx.c 12 Jul 2005 10:02:10 -0000 1.11
> +++ programs/Xserver/fb/fbmmx.c 12 Jul 2005 21:22:03 -0000
...
> - : "%eax", "%ebx", "%ecx", "%edx"
> + : "%eax", "%ecx", "%edx"
do you really need to remove "%ebx" in this line to get it to compile? The
reason I'm asking is that the assembler clobbers %ebx, so leaving it out
might lead to gcc generating wrong code.
Best regards,
Lars
More information about the xorg
mailing list