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

Bug#841533: gcc-6: versions 6.2.0-[7-9] break construction of linux kernel with -fstack-protector-xxxx

On 10/21/16 15:52, Paul Menzel wrote:

On 10/21/16 13:43, Jean-Luc Coulon (f5ibh) wrote:

Since 6.2.0-7, building the linux kernel (4.8.3 in my case) with
--fstack-protector-strong or -fstack-protector fails.

I've tested wit h 6.2.0-7 and 6.2.0-9.
The I've reverted to 6.2.0-6 and it works fine.

Since gcc-6 6.2.0-7, I am also unable to build coreboot or SeaBIOS.

$ git clone git://git.seabios.org/seabios.git
$ cd seabios
$ make menuconfig # choose coreboot
$ make -j
src/stacks.c: Assembler messages:
src/stacks.c:567: Error: found '(', expected: ')'
src/stacks.c:567: Error: junk `(%ebp))' after expression
src/stacks.c:568: Warning: indirect call without `*'
Makefile:133: recipe for target 'out/src/stacks.o' failed
make: *** [out/src/stacks.o] Error 1

I build the snapshot GCC 6-20161020 [1] from scratch, and SeaBIOS builds fine with that, so it looks like a Debian problem.

Kind regards,


[1] ftp://gcc.gnu.org/pub/gcc/snapshots/6-20161020/

Reply to: