From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id C75A794157F for ; Mon, 8 Jan 2024 10:50:12 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=C/5EPsP7/6SGBq6IDM2CFImHA3AP/4298KQnxZR/E1U=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Authentication-Results-Original:Message-ID:Date:User-Agent:Subject:To:Cc:References:From:In-Reply-To:MIME-Version:NoDisclaimer:Original-Authentication-Results:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1704711011; v=1; b=fesZpqKSw3KR02EZNJr5hUTH/PrhqyPG+sOcsN9dlwO+VNI8VQR0rHhWMJ1HrelCx5Q7aREW 5qVHSjraF5hEVWPANIIFBa7AgzjquaNwkQtbWw6+c2o9LnlPeOVU0ns9GA608RVh0Ye3k38FCcC Te8CIXaCEzgPrHmAn/dB1Fgg= X-Received: by 127.0.0.2 with SMTP id rj3eYY7687511xZ1Gz7ydpj3; Mon, 08 Jan 2024 02:50:11 -0800 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.48]) by mx.groups.io with SMTP id smtpd.web11.4120.1704711010015091477 for ; Mon, 08 Jan 2024 02:50:10 -0800 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=ZnlKImizHJWioDfl3iGk34eAd9rDt+NdAMEDaYcoEXd1398N6WbpoyjUtE+M6IGQ99j71+FevBPRl0Y6pUFcl3G9RHYanhQ4Fvjy4uJx+2dqgQtMgm8HOgpy4hHj98Q4CMuxc1qnZOr2FTHUb9daL7/UsOm6SD6leQz9BLEYyn+r+Oj4z9iPRE8fkGGYYEBDJb3J9v94aePErUgsl+RUhQsdFh/7eKfVELknHqu84ZgPNpQzS58t0BH3lKu3d8or51h0b/uStzyjDypq+GlsPlQxrVEaMIIEfcEZkBHON+FevHEG8BdDypIkA1SKb/k+jRwTu69/TRUnmTdRouwsvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Hz4C+G3JCxoq2dybh+I6Y4k8uv1PhwvawjyDFmvrq4k=; b=kvBRoxcxrFQdFoUbMEntQ7NBKKcAGR0ZHe8vYbYzGhUFEVJvNiQcdg9Aacoc1CaFLSGgWw2OBZf9qhqsBEqXnDlltOAERRIbFeVqCkzws6QF3b1woxNnw/8iKd3LDWVwikuMgwm8+O4smMIlN8HiLUHPz8FJBZNqNhi3uT8lnU4xWbdAdTSrKgZ1flJQQ+38bXwHY3U8rr+R4VEDCqLp5hbWd9v4KwYBVyyCQWug+qxRKo9BHber+RacFSTfn4LqozgAqky4of+I+fJwrN6mCTksihbpgKamanLYJg3xQSIGrhS9hxxaPpGn7idk4fAeQzsuKbQh7dIChyzCzQsJ4g== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) X-Received: from AM0PR02CA0100.eurprd02.prod.outlook.com (2603:10a6:208:154::41) by GV1PR08MB8282.eurprd08.prod.outlook.com (2603:10a6:150:a3::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Mon, 8 Jan 2024 10:50:06 +0000 X-Received: from AM1PEPF000252E0.eurprd07.prod.outlook.com (2603:10a6:208:154:cafe::23) by AM0PR02CA0100.outlook.office365.com (2603:10a6:208:154::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21 via Frontend Transport; Mon, 8 Jan 2024 10:50:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM1PEPF000252E0.mail.protection.outlook.com (10.167.16.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.12 via Frontend Transport; Mon, 8 Jan 2024 10:50:06 +0000 X-Received: ("Tessian outbound 968ce956f8b7:v239"); Mon, 08 Jan 2024 10:50:06 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 452d7436d3036511 X-CR-MTA-TID: 64aa7808 X-Received: from 111fc7964c89.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5BA325F7-9823-454A-AABD-A7152830A88B.1; Mon, 08 Jan 2024 10:49:55 +0000 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 111fc7964c89.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 08 Jan 2024 10:49:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ia7PhfUP0SIynKkV3D8bnyWw2NtpVl0b7yUv7u9YuD9jxayBksPpmxHX3JwEGVqchvzDUxcicGwxdvnua43S1O+aBvRtSFh0iSoyC6tB7QpYXaUJa0muBkOIBTkjY88bPVlksN6V4yfQUnmY+ChBbjOfUsAeDRTgL/qiXETnuqU5uuBoo7Lcz0Ch/ExYC6C2qBqKTpJAIaORpJPhST5pM3qVL84oim3VrhDR0CUApjxBDEwaisidNiKIB+KKUQUlKLEFbTTyJvzgZvnumnBBWmIif4zosX8zpv+OvfJqkcWyK7vKwjbKg29tFu9IbuFjaosmiC4B70f8odLi3iT3+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Hz4C+G3JCxoq2dybh+I6Y4k8uv1PhwvawjyDFmvrq4k=; b=Xt4MpVJwqJUedVUbic1a9iyuF4KwJI75D+HIeBSrgR1APAnRck8Pl57g5Up/sP4RoJ7yZ/kwl3nDTWWGtToAZ0cLFN4wVeQ0i8zM9NtooNv9wjP9Q308W76oFXizVjLLejw4nbp8Fz1KW1rD1MOsf56rITEfwWqzwI1Q+UbsD8fUCsruQfzpCeO4VtqsYwzQuysdvKVvRxCQiZC5tqQlDiyGu8KgIIs5+ZKf2OA8Oiy4DwObBFSemCFF3S5PCLTvEevh7e982aChZIR7+syY12H91SVwgXrJGW6Zg1Un2aniMedIf6HIBVy6iD2k/KbaGzkEVKTgxVEB+IFeYOw5nw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-Received: from AM0PR08MB4289.eurprd08.prod.outlook.com (2603:10a6:208:148::12) by DB4PR08MB8128.eurprd08.prod.outlook.com (2603:10a6:10:381::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.21; Mon, 8 Jan 2024 10:49:51 +0000 X-Received: from AM0PR08MB4289.eurprd08.prod.outlook.com ([fe80::50d8:8f44:8189:811f]) by AM0PR08MB4289.eurprd08.prod.outlook.com ([fe80::50d8:8f44:8189:811f%7]) with mapi id 15.20.7159.020; Mon, 8 Jan 2024 10:49:51 +0000 Message-ID: <7f986b7d-d116-48ae-a828-788c12c95194@arm.com> Date: Mon, 8 Jan 2024 10:49:49 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [edk2-platforms][PATCH v2 2/7] Platform/Sgi: add no-stack-protector flag for StMM builds To: devel@edk2.groups.io, prabin.ca@arm.com Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar References: <20240105153814.427009-1-prabin.ca@arm.com> <20240105153814.427009-3-prabin.ca@arm.com> From: "levi.yun" In-Reply-To: <20240105153814.427009-3-prabin.ca@arm.com> X-ClientProxiedBy: LO2P265CA0365.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a3::17) To AM0PR08MB4289.eurprd08.prod.outlook.com (2603:10a6:208:148::12) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: AM0PR08MB4289:EE_|DB4PR08MB8128:EE_|AM1PEPF000252E0:EE_|GV1PR08MB8282:EE_ X-MS-Office365-Filtering-Correlation-Id: 3ddbf642-61bb-4a0b-46ba-08dc103793a2 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: /61R4p0iHEWwO+fAUEc8wtJlxv3yIF8ys74eU4RgRmv7B8615I1okvjg94QUVjCI3HeR6ZkwqrZsr1N/CQSlAFQm0umXqjhw7OWISR7TGylGZZPhHd2nKSpVwO/0D/sf1lOYSinqFcZO/wodquo+SohKiXqTrt0KuNlNzcqtamLSMNHdYsQ6PJ1bwyZpqn3f/XkZouIJJHCQz7VO0kKcGwe80TJYn6ns3z5DFUthsr5WnQA74CO1fE1YKAJ2B/XKeGKErzlTj98GT8LVEmj6MbipjBKxVwyjqbiroMfAbUbIef4P7oDSIsTDH7jkxMT4c/EZbJZDGH2HucmqDTcRLeKIfbSoDHJxqVm42eWFUWj5E4LfL0hG6XJSHXQSGJDdhvc83MSwTRe5h4IceJ9s/w/2kT4Lk4alpKoi3hSSUhGxUGSaXTl9pwDnnKgP/0EsXv3hXHU+n3JQT1Q8B90Js/BeuTsR2hi/cVzB0i3/QzaVkOO9FliFPy3o+r7AltQ4pwVS7v0b/qsUh0cs1P3d38xLTMzWPjR13+hmgUACdQCxgaooq4fh5U60rIzKOn9/quUfla7wulbcXfS/as/vlObZ3K2Axo91JjcLJENNTHho87AlI9lVzrtbHMUcQJx/inKiIgJ5JBzW0zCWrkozxQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR08MB4289.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(376002)(396003)(346002)(366004)(39850400004)(230922051799003)(1800799012)(451199024)(186009)(64100799003)(6486002)(53546011)(2616005)(26005)(478600001)(6506007)(6512007)(83380400001)(2906002)(4744005)(41300700001)(66476007)(66556008)(66946007)(4326008)(54906003)(6636002)(316002)(8936002)(8676002)(5660300002)(38100700002)(31696002)(36756003)(86362001)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR08MB8128 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM1PEPF000252E0.eurprd07.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 08455aca-3acf-4b06-6a6f-08dc10378a78 X-Microsoft-Antispam-Message-Info: 3DOIDPrxC0Z3LpzlykH7VCttKOymnLrJ+WUdu1yY+VNYaePh2GCGUvO3jJW9/AB9fNiYQR03pBiz7ex9jq+kurnpRnYGEMUyXc1X+WBOk9TK37psvN8UW1IlJc7KVP89hgwgRALKhI5r5O1iQnCRzNXU+5JbG8H9z7j6qHNlTw2HjbYhr3H8lJ9mBqW+b+FrIJ6r+JF1X5bbseXY8Wmp4SvmLW6KAVEt5SMR+mRnsqhfEheHhUJQD/UbbHGDedgG1Wv5a/77pM/SYAWkm0ceXVJe0ZVz2Qn5PixvNhC8CukerpzznjQvSGclOaKL9em6ei/iAvIjUjF7SQfyj8jIrfmbJbfnOCI4IQ6gZYUjW1lWcqlvxGNdcDD5dDEpIfshOe7f8g4j70suCd6UaOFDYZh5WOgoru1YvTRW/y1IQYaZMsDeQJ1PnFXYV+x2Ir3Va0WK8BnjJ73KoFFXfR3GIuqHZaTop4HjJtEA65C8HLEXge9qnJ049xXeyI8VJFAlZTWo3/wDO6ILpTLkfzeOuZUWTjjLH3Z4WnlzST3cRw9xm8MMYCGynso4lljfmV15oD9gmC9BWXF865E3KdpsvwcoZGneGMQn+sEh+mzRNy3vaYP28aldkODAWqI7I48oU5qO9+3YJ2/X9OzJE/pBYL1Iz2M6+6K1HCEuhx1DMwM8UWIuLoEnF8WpsqP6JTJCJKejF+1ItsfYUhulTkOtyEEEMimxrryTXN33kzdp+5zCs7YslkcOkgDAka0+a2glszHFT5a82wi1Y59+bH5a9Q== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 10:50:06.5274 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3ddbf642-61bb-4a0b-46ba-08dc103793a2 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM1PEPF000252E0.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB8282 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,yeoreum.yun@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: hAwlCQPuj5eC0SoubXa1sQpMx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=fesZpqKS; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Hi. Parabin On 05/01/2024 15:38, Prabin CA via groups.io wrote: > Add the no-stack-protector compiler flag to allow StandaloneMM builds > on both AArch64 and x86 host. Without this flag, the link stage fails > with the following errors on multiple files when built with gcc > (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0: > As Sami's suggestion, Is it much better to add below libraray? MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf Thanks. IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113374): https://edk2.groups.io/g/devel/message/113374 Mute This Topic: https://groups.io/mt/103544564/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-