Date: Tue, 6 Dec 2016 22:25:20 +0100 From: Emese Revfy <re.emese@...il.com> To: Andrew Donnellan <andrew.donnellan@....ibm.com> Cc: linuxppc-dev@...ts.ozlabs.org, kernel-hardening@...ts.openwall.com, keescook@...omium.org, linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org, pageexec@...email.hu, spender@...ecurity.net, mmarek@...e.com Subject: Re: [PATCH 3/3] powerpc: enable support for GCC plugins On Tue, 6 Dec 2016 17:28:00 +1100 Andrew Donnellan <andrew.donnellan@....ibm.com> wrote: > + # Various gccs between 4.5 and 5.1 have bugs on powerpc due to missing > + # header files. gcc <= 4.6 doesn't work at all, gccs from 4.8 to 5.1 have > + # issues with 64-bit targets. > + ifeq ($(ARCH),powerpc) > + ifeq ($(call cc-ifversion, -le, 0501, y), y) > + @echo "Cannot use CONFIG_GCC_PLUGINS: plugin support on gcc <= 5.1 is buggy on powerpc, please upgrade to gcc 5.2 or newer" >&2 && exit 1 > + endif > + endif Hi, What are these missing headers? Because if they aren't necessary then they can be removed from gcc-common.h. There were missing headers on arm/arm64 and these archs are supported. I think this version check is unnecessary because gcc-plugin.sh also checks the missing headers. What is the problem on gcc-4.5/gcc-4.6? -- Emese
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.