This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: gcc failed to compile glibc/alpha
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Dzung Nguyen <dunguyen at iol dot unh dot edu>, gcc at gcc dot gnu dot org, clp at iol dot unh dot edu, GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: 23 Nov 2002 21:08:32 +0100
- Subject: Re: gcc failed to compile glibc/alpha
- References: <3DDE6B1A.5000004@iol.unh.edu> <20021123113037.A25862@lucon.org>
"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