This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] power: Fix VSCR position on ucontext
- From: Tulio Magno Quites Machado Filho <tuliom at ascii dot art dot br>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Rogerio Alves <rcardoso at linux dot ibm dot com>, "Gabriel F. T. Gomes" <gabriel at inconstante dot eti dot br>, Florian Weimer <fweimer at redhat dot com>, libc-alpha at sourceware dot org
- Cc:
- Date: Fri, 11 Jan 2019 22:50:01 -0200
- Subject: Re: [PATCH] power: Fix VSCR position on ucontext
- References: <8a619ad1-b7f2-04f8-f9a7-0a19cbf98f4c@linux.ibm.com> <87lg5va6a6.fsf@oldenburg.str.redhat.com> <20181116111825.43b60283@tereshkova.br.ibm.com> <5e1d1cab-7c91-90f8-82d2-fd38f8676f30@linux.ibm.com> <20181207162959.5e5d8933@tereshkova> <20181210153658.32b0e266@tereshkova> <87tvjl8bx7.fsf@linux.ibm.com> <ecf16bc6-c756-1147-4a72-03efbdd64ef4@linux.ibm.com> <87k1jc5lzs.fsf@linux.ibm.com> <87ef9j55vf.fsf@linux.ibm.com> <alpine.DEB.2.21.1901112347220.10344@digraph.polyomino.org.uk>
Joseph Myers <joseph@codesourcery.com> writes:
> I'm seeing the test fail to build for powerpc64-linux-gnu (big-endian)
> with my build-many-glibcs.py bots. (That's at least with GCC 7 and GCC 8;
> my GCC mainline bot hasn't yet run after that commit.)
>
> ../sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: In function 'do_test':
> ../sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:51:3: error: inconsistent operand constraints in an 'asm'
> asm volatile (".machine push;\n"
> ^~~
> /scratch/jmyers/glibc-bot/build/glibcs/powerpc64-linux-gnu/glibc/sysd-rules:933: recipe for target '/scratch/jmyers/glibc-bot/build/glibcs/powerpc64-linux-gnu/glibc/stdlib/tst-ucontext-ppc64-vscr.o' failed
I can also reproduce this with --with-cpu=power5, --with-cpu=power6 and without
--with-cpu.
--
Tulio Magno