Hi, I was just about to report the same issue.
In my case, it's building kernel modules (from foo-dkms packages) that fails with the error "error: code model kernel does not support PIC mode". It also prints messages like arch/x86/Makefile:114: stack-protector enabled but compiler support broken Makefile:657: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler Andras -- Life - brief interlude between nothingness and eternity.