[question] kernel build fails with O0 gcc optimization flag
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed Nov 25 10:06:08 PST 2015
On Wed, Nov 25, 2015 at 08:12:29PM +0300, Yury Norov wrote:
> Hi all.
> I changed optimization from O2 to O0 in Makefile:
> 609 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
> 610 KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
> 611 else
> 612 KBUILD_CFLAGS += -O2 <-- here
> 613 endif
-O0 is not supported, sorry.
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel