Subject: Re: [arm64:for-next/kernel-ptrauth 16/18] aarch64-linux-objdump: warning: fs/squashfs/decompressor_multi.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000

From: Catalin Marinas <[email-masked]>
Date: Tue, 24 Mar 2020 17:00:28 +0000

On Tue, Mar 24, 2020 at 10:02:16PM +0530, Amit Kachhap wrote:
> On 3/24/20 9:45 PM, Catalin Marinas wrote:
> > > On 3/23/20 5:18 PM, Catalin Marinas wrote:
> > > > Just to make sure I understand the cause of this warning: gcc generates
> > > > a .note.gnu.property when PAC is enabled for the kernel but binutils
> > > > doesn't understand it. Is there a way to check for this via the Kconfig
> > > > options?
[...]
> > If there isn't a way to silence the linker or objdump, could we align
> > the compiler version we know that generates this note with a minimum
> > binutils? Something like:
> > 
> > 	depends on (GCC_VERSION < X) || (LD_VERSION >= 233...)
> 
> Yes this is possible.

Note that LD_VERSION does not exist for kconfig. Please put together a
couple of patches here (and include clang versions as well) on top of
the arm64 for-next/kernel-ptrauth branch. They are not critical, we can
merge them after 5.7-rc1.

Thanks.

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel