Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751960AbbEZU2E (ORCPT ); Tue, 26 May 2015 16:28:04 -0400 Received: from mail-ob0-f177.google.com ([209.85.214.177]:36482 "EHLO mail-ob0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751434AbbEZU2A (ORCPT ); Tue, 26 May 2015 16:28:00 -0400 MIME-Version: 1.0 In-Reply-To: <55648193.3030003@samsung.com> References: <1431698344-28054-1-git-send-email-a.ryabinin@samsung.com> <1431698344-28054-6-git-send-email-a.ryabinin@samsung.com> <55647F57.8010008@samsung.com> <55648193.3030003@samsung.com> Date: Tue, 26 May 2015 22:28:00 +0200 Message-ID: Subject: Re: [PATCH v2 5/5] arm64: add KASan support From: Linus Walleij To: Andrey Ryabinin Cc: "linux-kernel@vger.kernel.org" , Dmitry Vyukov , Alexander Potapenko , David Keitel , Arnd Bergmann , Andrew Morton , Catalin Marinas , Will Deacon , "linux-arm-kernel@lists.infradead.org" , linux-mm@kvack.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1064 Lines: 26 On Tue, May 26, 2015 at 4:22 PM, Andrey Ryabinin wrote: > On 05/26/2015 05:12 PM, Andrey Ryabinin wrote: >> On 05/26/2015 04:35 PM, Linus Walleij wrote: >>> I wonder were the problem lies, any hints where to start looking >>> to fix this? >>> >> >> I suspect that your compiler lack -fsantize=kernel-address support. >> It seems that GCC 4.9.2 doesn't supports -fsanitize=address/kernel-address on aarch64. >> > > In that case you should get something like this, during kernel build: > scripts/Makefile.kasan:17: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is not supported by compiler Aha yep that's it when I look closer... I'm going back and rebuilding my compiler. May as well do a trunk 5.0 build and try to get KASAN_INLINE working while I'm at it. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/