From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756243AbdKCSWL (ORCPT ); Fri, 3 Nov 2017 14:22:11 -0400 Received: from mail-io0-f175.google.com ([209.85.223.175]:56512 "EHLO mail-io0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755992AbdKCSWK (ORCPT ); Fri, 3 Nov 2017 14:22:10 -0400 X-Google-Smtp-Source: ABhQp+TAh/xnHcWQiSmoIA6E8qgAoSkwFpMTLxvihfvd5e9xsfk9YbDckLiHHvcB0Mq+1AkaZHMsmg== Date: Fri, 3 Nov 2017 11:22:06 -0700 From: Sami Tolvanen To: Mark Rutland Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Matthias Kaehlcke , Nick Desaulniers , Kees Cook , Greg Hackmann Subject: Re: [PATCH 00/15] Add support for clang LTO Message-ID: <20171103182206.GA117212@samitolvanen.mtv.corp.google.com> References: <20171103171203.107569-1-samitolvanen@google.com> <20171103175156.f44o7kuxgzym3pbt@lakrids.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171103175156.f44o7kuxgzym3pbt@lakrids.cambridge.arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 03, 2017 at 05:51:56PM +0000, Mark Rutland wrote: > Which tree are you testing with? I've tested that this builds on top of Linus' current tree. > I had to create an aarch64-linux-gnu-clang wrapper, too. I'm not sure if > there's build system help to avoid needing that? This appears to depend on how your toolchain was built as Nick mentioned in an earlier message. I compiled clang from the unified LLVM git repo using this configuration: $ make -G Ninja ../llvm-project/llvm \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_PIC=1 \ -DLLVM_BINUTILS_INCDIR=/path/to/binutils-2.27/include \ -DLLVM_TARGETS_TO_BUILD="X86;AArch64" && \ ninja Sami