[PATCHv3] powerpc: Automatic CPU detection in preconfigure
Paul E Murphy
murphyp@linux.ibm.com
Tue Jun 2 20:45:40 GMT 2020
Ping
On 5/11/20 5:10 PM, Paul E. Murphy via Libc-alpha wrote:
> Changes for 3:
> * update conditional to avoid running on non-ppc machines
>
> Followup from
> <https://sourceware.org/pipermail/libc-alpha/2020-May/113765.html>
>
> Changes:
> * Scan for the first instance of .machine or -mcpu= within the
> generated assembly file.
> * Don't try to be smart when guessing. Only choose valid targets.
> * Don't make any extra noise
> * Remove comment about trying to pretty print an error message, just
> fail in the usual autoconf way.
>
> Followup from <https://sourceware.org/legacy-ml/libc-alpha/2017-02/msg00164.html>
>
> ---8<---
>
> Added a check to detect the CPU value in preconfigure, so that glibc is
> built with the correct --with-cpu value. And move existing checks into
> preconfigure.ac.
>
> Co-Authored-By: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
> Co-Authored-By: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
More information about the Libc-alpha
mailing list