From patchwork Sun Jul 31 19:04:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 73078 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp2354224qga; Sun, 31 Jul 2016 12:04:08 -0700 (PDT) X-Received: by 10.98.63.1 with SMTP id m1mr88671285pfa.14.1469991848105; Sun, 31 Jul 2016 12:04:08 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id xp2si30914957pac.150.2016.07.31.12.04.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Jul 2016 12:04:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 669501A1E04; Sun, 31 Jul 2016 12:04:07 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (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 BF3171A1DF1 for ; Sun, 31 Jul 2016 12:04:05 -0700 (PDT) Received: by mail-io0-x22b.google.com with SMTP id m101so169739389ioi.2 for ; Sun, 31 Jul 2016 12:04:05 -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=AOkhbtprQnXYQtiFolIvoIKi2Aiu0ANX/D5fW+6j66o=; b=c6UqhWPF/mx6y3ydYFqwYWm1TVyGPrP+IJX9DveSc5nkorUX2nd0KWdopNPM/4QyW2 0mHWk/C2uG1agA2aQEJu0pVj6uTf7saFHQeqJ8KEnUVnBCJf5VQdz1Xh9BZa4TV/KQkC YFjMmJtbQELzDyNOIxGJuWEWPHo3lsuONBjVk= 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=AOkhbtprQnXYQtiFolIvoIKi2Aiu0ANX/D5fW+6j66o=; b=GSyaioReHV6DpJVSZNw9tIeGU41l/n271XRMso3xMU/xil3S1bcH5QYmaHDC+cHGFu X0h3gGDcX1z1qqMgCPJb+6I1LvLoKaFFqWZwvhHU0XD50RXsaHp26Lk1QpY1kpVH2nPJ pbmPqtk++aYHbWmBSDR7uowua3rsIvfY0KLCLv3FAjoy1QnrK9CrHNioUKWBpy413/y4 zVb/U+brgkKvA6w5sBePvMF0l82pMJlsMWaXCHBiudjsGN3deU5oAGNHhL2k9OH9fexn kZq4SwV+xYRD8uDbqhXZXYAIQTCZpyBErurxzcyG1uQr9PFK2kqLsJHCqR97cGpjiXFJ ymmA== X-Gm-Message-State: AEkoouu73bdIrdnXZvLcWlJGbPI2QHQGGuVDfRzJoqZzdAzI1joxkqQsZRjbO5SchbdYbhUzQAs9ffzSrPQqBKET X-Received: by 10.107.41.67 with SMTP id p64mr50672902iop.130.1469991845085; Sun, 31 Jul 2016 12:04:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.204.195 with HTTP; Sun, 31 Jul 2016 12:04:04 -0700 (PDT) In-Reply-To: References: <1469618017-6534-1-git-send-email-ard.biesheuvel@linaro.org> <4A89E2EF3DFEDB4C8BFDE51014F606A1155E24F5@shsmsx102.ccr.corp.intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A1155E2761@shsmsx102.ccr.corp.intel.com> From: Ard Biesheuvel Date: Sun, 31 Jul 2016 21:04:04 +0200 Message-ID: To: "Gao, Liming" Subject: Re: [edk2] [PATCH v4 0/7] BaseTools: add support for GCC5 in LTO mode 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: , Cc: "Justen, Jordan L" , "edk2-devel@lists.01.org" , "leif.lindholm@linaro.org" , "lersek@redhat.com" Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" On 30 July 2016 at 16:34, Ard Biesheuvel wrote: > On 29 July 2016 at 17:18, Gao, Liming wrote: >> Ard: >> >> My gcc version 5.3.0 20151204 (Ubuntu 5.3.0-3ubuntu1~14.04). I will try >> GCC54. >> > > I cannot reproduce this with 5.3.1-14ubuntu2.1 either. @Liming: is the issue still reproducible with this change? """ """ Thanks, Ard. _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/MdePkg/Include/X64/ProcessorBind.h b/MdePkg/Include/X64/ProcessorBind.h index a4aad3e..73cf799 100644 --- a/MdePkg/Include/X64/ProcessorBind.h +++ b/MdePkg/Include/X64/ProcessorBind.h @@ -34,7 +34,7 @@ // symbols directly using relative references rather than via the GOT, which // contains absolute symbol addresses that are subject to runtime relocation. // -#pragma GCC visibility push (protected) +#pragma GCC visibility push (hidden) #endif #if defined(__INTEL_COMPILER)