This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc failed to compile glibc/alpha


"H. J. Lu" <hjl@lucon.org> writes:

> # ./xgcc -B./ -O -S /tmp/x.c
> /tmp/x.c: In function `__sigwait':
> /tmp/x.c:21: inconsistent operand constraints in an `asm'

[...]
>     __asm__("callsys # %0 %1 <= %2 %3 %4 %5 %6" : "=v"(_sc_ret), "=r"(_sc_19), "=r"(_sc_16), "=r"(_sc_17), "=r"(_sc_18) : "0"(355), "2"(_sc_16), "3"(_sc_17), "4"(_sc_18), "1"(_sc_19) : "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", "$22", "$23", "$24", "$25", "$27", "$28", "memory", "$20", "$21");

What is "=v" supposed to do? I can't find it anywhere. Using "=r"
instead makes the error go away for me.

In any case, the error message really could be improved...

-- 
	Falk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]