Re: v3.10.107 build: 2 failures 79 warnings (v3.10.107)

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

 



On 2017-08-08 15:44 +0100, Mark Brown wrote:

> On Tue, Aug 08, 2017 at 02:17:26PM +0200, Willy Tarreau wrote:
>> On Tue, Aug 08, 2017 at 01:08:29PM +0100, Build bot for Mark Brown wrote:
>
>> > 	x86_64-allnoconfig
>> > /home/broonie/build/linux-stable/scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
>> > /home/broonie/build/linux-stable/scripts/mod/devicetable-offsets.c:1:0:
>> > error: code model kernel does not support PIC mode
>> > /home/broonie/build/linux-stable/kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
>
>> Are you sure it's not just a toolchain issue ? I can't reproduce this one
>> here, it completes correctly :
>
> It's *possible* it's related to the toolchain, it might be a new
> toolchain vs old kernel problem.  
>
>> Using gcc 4.7.4 here FWIW.
>
> This is GCC 6.3.0-18 from Debian stable which is a bit newer.

Backporting commits 8ae94224c9d72 ("kbuild: add -fno-PIE") and
c6a385539175 ("kbuild: Steal gcc's pie from the very beginning") seems
to be required to build kernels with that compiler, at least if stack
protection is enabled.

For some of the gory details, see https://bugs.debian.org/841420.

Cheers,
       Sven



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]