gcc 6.3 vs 8.2 Re: [RFC PATCH] powerpc: Enable kcov

Michael Ellerman mpe at ellerman.id.au
Wed Jan 16 16:08:55 AEDT 2019


Christophe Leroy <christophe.leroy at c-s.fr> writes:
> Le 15/01/2019 à 08:26, Mathieu Malaterre a écrit :
...
>> 
>> I did check that `custom_defconfig` is the minimal defconfig generated
>> by `savedefconfig` in both cases.
>> 
>> Hints or comments welcome, thanks much.
>
> I think you should do:
>
> make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- custom_defconfig
> make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu-

Yep, you definitely need to use the same compiler for configuring and
building.

cheers


More information about the Linuxppc-dev mailing list