From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 3C75A1A1DF5 for ; Wed, 3 Aug 2016 06:46:53 -0700 (PDT) Received: by mail-io0-x236.google.com with SMTP id 38so243428847iol.0 for ; Wed, 03 Aug 2016 06:46:53 -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=3Y7SojSbjAzjC9AUAhCyjvtyYhquHYVIuix0cc5hcxQ=; b=OeSOae2CxN/vdIx8ABjqPgj/eokSkC8snjeGsP6zN4BsRKKzzFbgn//Mcd4WdRMoVC GpkkS+99G9cHWgYzENrYt3xqHjYYY0KCwHw4MbsGcejXP8aCEg/AK2KdfKjD7hieHaFb 409quGH/0Mipn0vyX+GzoL8NybiAojDeLKeJ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3Y7SojSbjAzjC9AUAhCyjvtyYhquHYVIuix0cc5hcxQ=; b=NRrTzXf0JRvg8awF2kAVcX+JvOnE4YwDUdKYDWk0hHRikvGP6kKcF0qDGl8ngvkfo6 Dbs9Yidj2b1GjwrTbxssVzEtJcsCVuPiX7HZPmZ/p2HMRHyWtJhuaoHV9YHw2AKVXaz3 XyFVEdrQCLAZxpADqByJ+DrAs2julVNXeR8ASckCngCMcWUZn4UiGDt5aoHyxTdPvxtQ EfRlohtfw4+rtPOJh0xf1N/WIWp0zucqqexcBxspJyEhwbuiVqDh4irOrjy84V3dGZqs nF7LvxI2pXHBnLa3Dqwnh/YesLzcQuQ88r4UjPdPrw9I58QKzWnlz0kE/6y2asJx5LBx TjIA== X-Gm-Message-State: AEkoouu1jX4HySkJPpc77RNIGuVOXP4UtWw6NdoJlvCaptQe5g+JSkaasUdXkgS9RVP9vvAMQwgCGLM2IdcjcXPF X-Received: by 10.107.135.22 with SMTP id j22mr77126636iod.56.1470232012389; Wed, 03 Aug 2016 06:46:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.204.195 with HTTP; Wed, 3 Aug 2016 06:46:51 -0700 (PDT) In-Reply-To: <1470212464-28071-1-git-send-email-ard.biesheuvel@linaro.org> References: <1470212464-28071-1-git-send-email-ard.biesheuvel@linaro.org> From: Ard Biesheuvel Date: Wed, 3 Aug 2016 15:46:51 +0200 Message-ID: To: edk2-devel-01 , Leif Lindholm , Laszlo Ersek Cc: Ard Biesheuvel Subject: Re: [PATCH 0/2] ArmVirtPkg EmbeddedPkg: fix build for CLANG35/ARM X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 13:46:53 -0000 Content-Type: text/plain; charset=UTF-8 On 3 August 2016 at 10:21, Ard Biesheuvel wrote: > Currently, the ArmVirtQemuKernel and ArmVirtXen platforms will not build > for ARM when using CLANG35, due to the fact that the compiler emits > MOVT/MOVW pairs into objects that are used by the relocatable PrePi, and > such instruction pairs are not runtime relocatable in ELF (i.e., there are > no dynamic relocation types to describe them) > > So fix this by selectively inhibiting the use of these pairs when building > these platforms for ARM using CLANG35 > Pushed as f846969796d3 EmbeddedPkg: make PrePiMemoryAllocationLib a SEC type library 87ee6390cbeb ArmVirtPkg ARM: make relocatable PrePi users build with CLANG35 with Laszlo's suggested commit log change to #2 Thanks all