From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c0b::232; helo=mail-it0-x232.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AC38920957B06 for ; Wed, 11 Jul 2018 00:50:35 -0700 (PDT) Received: by mail-it0-x232.google.com with SMTP id s7-v6so2319161itb.4 for ; Wed, 11 Jul 2018 00:50:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ToUo3VjF3OpvovN6xoVai21UZBPmm9wlp6MqZ5csuh4=; b=ShaxA95bBD9aBEFeglIKjfftC+kZcRExzU6pEfNQqY9w5jUx56IV0UrGDsjKou2XOg fXun2f89RvqHTYRXhp/ibHp/JFbGLRgaM+MpIAl1SS3oLxYOvZNZuA0IVb7/McxKnC1l LbmeedkovNb2IyVqNHR5ozA57lF2xrFbDqS6w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ToUo3VjF3OpvovN6xoVai21UZBPmm9wlp6MqZ5csuh4=; b=WocZZLpxQNeu8hiw9ciwRIgVdqKxPKowkvd+v8nKQn3Rw/4vTLMF+KBJkdSSEc1k4a HeS6Gb3Imr8af4a3dlN7gl4arh32GwRiUr9FmMFN5v6z6tDq5Zi3MKLnZMVEUdqfyF7d eCr3Obi4OKMkputeDHl6FPW6mt9zK2mYwlo1OI1i/ZcUGzRH3ep3gJ8YZwrLDXi3ePZS iDzCZ0BYiSQE/vEU15qpC8IRQvvrpRzJ6eIg+mHunnAlpQX9dRYx6LqcZMQFZgIhwD08 Qx4w84D2o5GxwZ0iBHyK3NvJDxAm042LZCp8i+c4UpGc6FTtvPfiyV/NHRO9+PSZP+Dw s+gQ== X-Gm-Message-State: APt69E0+9vxC9zKJ6Jzd4rf8qXSgROdnc3gkEg+l5R3Jbs1b7cBqtu7i 0x74ViZtmFOHHVCV9yO5PPhuZdl0S5uK8U0ohmL1cA== X-Google-Smtp-Source: AAOMgpfRWecZnu5JWZHKkCYf6uU+qkcgMZc9a/tEP/G+jP8gWg7xJWRQFZnmWj5154d4YVjWYoTqFEgZ869U8uufNqA= X-Received: by 2002:a24:6196:: with SMTP id s144-v6mr22099941itc.68.1531295434368; Wed, 11 Jul 2018 00:50:34 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:bbc7:0:0:0:0:0 with HTTP; Wed, 11 Jul 2018 00:50:34 -0700 (PDT) In-Reply-To: <9d0571e6-6b0d-15d7-ddde-adeec6ac4228@redhat.com> References: <9d0571e6-6b0d-15d7-ddde-adeec6ac4228@redhat.com> From: Ard Biesheuvel Date: Wed, 11 Jul 2018 09:50:34 +0200 Message-ID: To: Laszlo Ersek , Leif Lindholm Cc: "Tan, Sau Kae" , "edk2-devel@lists.01.org" Subject: Re: question about armclang support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2018 07:50:35 -0000 Content-Type: text/plain; charset="UTF-8" (+ Leif) On 10 July 2018 at 15:14, Laszlo Ersek wrote: > Hello Sau Kae, > > On 07/10/18 11:14, Tan, Sau Kae wrote: >> Hi All, >> >> May I know is armclang already supported in EDK2? >> Or only armcc is supported currently? >> Thanks. > > Looking at "BaseTools/Conf/tools_def.template", the following toolchains appear supported for both ARM and AARCH64: > - CLANG35 > - CLANG38 > > They are documented (in the same file) as: > > # CLANG35 -Linux,Windows- Requires: > # Clang v3.5 or later, and GNU binutils targeting aarch64-linux-gnu or arm-linux-gnueabi > # Optional: > # Required to build platforms or ACPI tables: > # Intel(r) ACPI Compiler from > # https://acpica.org/downloads > # CLANG38 -Linux- Requires: > # Clang v3.8, LLVMgold plugin and GNU binutils 2.26 targeting x86_64-linux-gnu, aarch64-linux-gnu or arm-linux-gnueabi > # Clang v3.9 or later, LLVMgold plugin and GNU binutils 2.28 targeting x86_64-linux-gnu, aarch64-linux-gnu or arm-linux-gnueabi > # Optional: > # Required to build platforms or ACPI tables: > # Intel(r) ACPI Compiler from > # https://acpica.org/downloads > I suppose ARMCLANG is the commercial ARM compiler based on LLVM/CLANG? In that case, could you please share your experiences with these toolchain profiles? CLANG3x support was added primarily to ensure the code base is supported by ARMCLANG but I don't know whether anyone has actually tried building it like that.