lkml.org 
[lkml]   [2022]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v1 1/5] powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32
    Hi!

    On Mon, Jul 11, 2022 at 04:19:29PM +0200, Christophe Leroy wrote:
    > Commit 0e00a8c9fd92 ("powerpc: Allow CPU selection also on PPC32")
    > enlarged the CPU selection logic to PPC32 by removing depend to
    > PPC64, and failed to restrict that depend to E5500_CPU and E6500_CPU.
    > Fortunately that got unnoticed because -mcpu=8540 will override the
    > -mcpu=e500mc64 or -mpcu=e6500 as they are ealier, but that's
    > fragile and may no be right in the future.

    A later -mcpu= always overrides an earlier one. This is the same as
    with all other GCC option flags, and will not change in the future.


    Segher

    \
     
     \ /
      Last update: 2022-07-11 18:44    [W:3.248 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site