Re: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6")

2018-09-10 Thread Luc Van Oostenryck
On Mon, Sep 10, 2018 at 04:05:34PM +0200, Christophe LEROY wrote: > > This time it works, thanks for your help. You're welcome. > Should we find a may to automate that in the Makefile when > CROSS_COMPILE is defined ? The situation here with an old gcc is really an oddity. I was instead thinki

Re: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6")

2018-09-10 Thread Christophe LEROY
Le 10/09/2018 à 15:56, Luc Van Oostenryck a écrit : On Mon, Sep 10, 2018 at 01:19:07PM +, Christophe Leroy wrote: On 09/10/2018 11:34 AM, Luc Van Oostenryck wrote: On Mon, Sep 10, 2018 at 09:56:33AM +, Christophe Leroy wrote: # export REAL_CC=ppc-linux-gcc # make CHECK="cgcc -tar

Re: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6")

2018-09-10 Thread Luc Van Oostenryck
On Mon, Sep 10, 2018 at 01:19:07PM +, Christophe Leroy wrote: > > > On 09/10/2018 11:34 AM, Luc Van Oostenryck wrote: > > On Mon, Sep 10, 2018 at 09:56:33AM +, Christophe Leroy wrote: > > > > > > # export REAL_CC=ppc-linux-gcc > > > # make CHECK="cgcc -target=ppc -D_CALL_ELF=2 -D__GCC__=

Re: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6")

2018-09-10 Thread Christophe Leroy
On 09/10/2018 11:34 AM, Luc Van Oostenryck wrote: On Mon, Sep 10, 2018 at 09:56:33AM +, Christophe Leroy wrote: # export REAL_CC=ppc-linux-gcc # make CHECK="cgcc -target=ppc -D_CALL_ELF=2 -D__GCC__=5 -D__GCC_MINOR__=4" C=2 arch/powerpc/kernel/process.o scripts/kconfig/conf --syncconfig

Re: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6")

2018-09-10 Thread Luc Van Oostenryck
On Mon, Sep 10, 2018 at 09:56:33AM +, Christophe Leroy wrote: > > # export REAL_CC=ppc-linux-gcc > # make CHECK="cgcc -target=ppc -D_CALL_ELF=2 -D__GCC__=5 > -D__GCC_MINOR__=4" C=2 arch/powerpc/kernel/process.o > scripts/kconfig/conf --syncconfig Kconfig > # > # configuration written to .conf

Re: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6")

2018-09-10 Thread Christophe Leroy
On 09/10/2018 09:28 AM, Luc Van Oostenryck wrote: On Mon, Sep 10, 2018 at 08:49:07AM +0200, Christophe LEROY wrote: Le 07/09/2018 à 20:19, Nick Desaulniers a écrit : On Fri, Sep 7, 2018 at 11:13 AM Luc Van Oostenryck wrote: Sparse expand these macros to the same version than the compiler u