[PATCH] Add build option to disable usage of scv on powerpc

Matheus Castanho msc@linux.ibm.com
Fri Jun 4 13:46:18 GMT 2021


Joseph Myers <joseph@codesourcery.com> writes:

> On Wed, 2 Jun 2021, Matheus Castanho via Libc-alpha wrote:
>
>> Commit 68ab82f566 added support for the scv syscall ABI on powerpc.  Since then
>> systems that have kernel and processor support started using scv.  However
>> adding the proper support for a new syscall ABI requires changes to several
>> other projects (e.g. qemu, valgrind, strace, kernel), which are gradually
>> receiving support.
>>
>> Meanwhile, having a way to disable scv on glibc at build time can be useful for
>> distros that may encounter conflicts with projects that still do not support the
>> scv ABI, buying time until proper support is added.
>>
>> This commit adds a --disable-scv option that disables scv support and uses sc
>> for all syscalls, just like before commit 68ab82f566.
>
> New configure options should be documented in install.texi (and INSTALL
> regenerated).

Sent v2 [1] with changes to install.texi and regenerated INSTALL.

[1] https://sourceware.org/pipermail/libc-alpha/2021-June/127182.html

--
Matheus Castanho


More information about the Libc-alpha mailing list