[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#841500: gcc-6: Unable to compile upstream kernel with previous .config



Control: forcemerge 841438 841500


Hi Eric,

Sorry to hear you ran into issues with gcc-6.

On Fri, 21 Oct 2016 10:40:47 +0200 Eric Valette
<eric2.valette@orange.com> wrote:
> [...]
> 
> Entering directory '/usr/src/linux-dell'
>   GEN     ./Makefile
> scripts/kconfig/conf  --oldconfig Kconfig
> #
> # configuration written to .config
> #
> [...]
> /usr/src/linux-4.4/scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode

This error suggests that your issue is a duplicate of #841419, which is
that the compiler enables PIE by default (which is basically a variant
of PIC).  I have merged your bug into  #841419 accordingly.

I believe it is possible to compile the kernel with gcc-5.  I hope you
will consider that an acceptable workaround for you in the interim while
we solve #841419.

Thanks,
~Niels


Reply to: