From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.43]) by mx.groups.io with SMTP id smtpd.web12.9998.1601550440764014975 for ; Thu, 01 Oct 2020 04:07:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=ZiGnzHNQ; spf=pass (domain: arm.com, ip: 40.107.14.43, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vZJgsEcF0bUR4qCjvAu57/WAClMV1vhie2UIJFjxpjo=; b=ZiGnzHNQQiEmMQTHU8kNFqRHGzCYlZJDbI6gx6hSFxaZB1AnTWotTqukwgqoUSsxK570Ykb3KFcGAO3ntenDmSqm/WRChQbK86uFpf3YyrV4oR2RuC/pr0QcyeU66Vebo5txGHXAOmAFWUYfHdaOLUJVuWjH2w4YABFbxuU0hxw= Received: from DB6PR07CA0111.eurprd07.prod.outlook.com (2603:10a6:6:2c::25) by AM0PR08MB3346.eurprd08.prod.outlook.com (2603:10a6:208:5e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32; Thu, 1 Oct 2020 11:07:18 +0000 Received: from DB5EUR03FT050.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2c:cafe::fd) by DB6PR07CA0111.outlook.office365.com (2603:10a6:6:2c::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.14 via Frontend Transport; Thu, 1 Oct 2020 11:07:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT050.mail.protection.outlook.com (10.152.21.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Thu, 1 Oct 2020 11:07:17 +0000 Received: ("Tessian outbound 34b830c8a0ef:v64"); Thu, 01 Oct 2020 11:07:17 +0000 X-CR-MTA-TID: 64aa7808 Received: from a8bb1238eacf.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3AA2BD14-8F00-4B2F-A281-72C1A78B78F6.1; Thu, 01 Oct 2020 11:07:12 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a8bb1238eacf.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 01 Oct 2020 11:07:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TDlhVh58Cm85K7De1LGgN4JPN7M6+Yz1mTV9yGT4LW2c2gUskE7imxqeOz+r4XsuFIoILLaqGEvxEIAsoKAOAEBENMAiRRW3sWfz5z18UyjGhGwii/ZKXK2G3/u5LDEhUxz4HAdWEHpA5mOrNU/S48cTtuUV5zLF1jUolxQMCNTKPs1IToHRfnqKZ2RrW0UXSWFBotf6VSMGivsIvG+czLH+rI4spB9IJ7BooYJ4++h1/Lrv79WyC60YxxaB66eBsHCHF6NAtCST2smy59gAsBBNa8UcpG5LZNElutfDbLPTWPGnQb1sOwLDsnkYZIUFgGvLt40aycZ5MfG6Q4OdTQ== 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-SenderADCheck; bh=vZJgsEcF0bUR4qCjvAu57/WAClMV1vhie2UIJFjxpjo=; b=kuaovGPU48oz6zX96fDLVDKzBZxMwnD1PoM2j4hPhkA/YhBkDBEd/4LcoNcmXFMVy/j48sKrEabsys9vr0oVquyMJ+ibmdG+gdILnzMSiYFmRPQo2gedPeG/Ku+QPFPNDMgnefdskN86+0wGJbYY0d837ATzhABXVEipuxVCI20Ae0ezEjPSWQMxAEYA+Wdg6UfehFx0CgFtWOdzVhpIC9ifJ7YGkX10p7uTDYBNLbbX7Pb1rADZJKXamRneYrTPNhNCuIQcPiwNlKkXfmLAUGpOz00BMBnbXWrntztZaZ4uXznJZ++tz7qJFkfBqRebCC31/6P20xh2CYNEIg79PA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vZJgsEcF0bUR4qCjvAu57/WAClMV1vhie2UIJFjxpjo=; b=ZiGnzHNQQiEmMQTHU8kNFqRHGzCYlZJDbI6gx6hSFxaZB1AnTWotTqukwgqoUSsxK570Ykb3KFcGAO3ntenDmSqm/WRChQbK86uFpf3YyrV4oR2RuC/pr0QcyeU66Vebo5txGHXAOmAFWUYfHdaOLUJVuWjH2w4YABFbxuU0hxw= Received: from DB7PR08MB3097.eurprd08.prod.outlook.com (2603:10a6:5:1d::27) by DB6PR0802MB2344.eurprd08.prod.outlook.com (2603:10a6:4:87::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.35; Thu, 1 Oct 2020 11:07:11 +0000 Received: from DB7PR08MB3097.eurprd08.prod.outlook.com ([fe80::897b:8573:fd4b:d06b]) by DB7PR08MB3097.eurprd08.prod.outlook.com ([fe80::897b:8573:fd4b:d06b%7]) with mapi id 15.20.3433.034; Thu, 1 Oct 2020 11:07:11 +0000 From: "Sami Mujawar" To: "devel@edk2.groups.io" , "leif@nuviainc.com" , "andrew.goodbody@linaro.org" CC: Ard Biesheuvel , Thomas Abraham , Liming Gao Subject: Re: [edk2-devel] Cannot build due to recent change Thread-Topic: [edk2-devel] Cannot build due to recent change Thread-Index: AQHWl9teQHJ6UZqP+EyW+UgJDF50gamCj7IAgAAF77A= Date: Thu, 1 Oct 2020 11:07:11 +0000 Message-ID: References: <9ed015a5-f111-d661-acad-4f97dc5f5eb1@linaro.org> <20201001104332.GG5623@vanye> In-Reply-To: <20201001104332.GG5623@vanye> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 2C85A0250E476841B9242D257D4C83A5.0 x-checkrecipientchecked: true Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; x-originating-ip: [86.177.210.215] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6cb19c9a-a181-4d2d-7641-08d865fa2922 x-ms-traffictypediagnostic: DB6PR0802MB2344:|AM0PR08MB3346: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:8273;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: VOG32U/+r7ZoTRAwKVb2hrEANVfnqA9egWvgDHbC6ddwot7Og9Od7g+adxgX4pG5JGMSk2sbh/kHhZO95UPZ+Ndfn67gtcEb+hvFgJHQ6ng8656Iur97ZK5z7m1QPRjJQI07NcZ3v+M5ixPACZz+22pRP8da91cr6Dy4FCy12MmNUuXgEyZNdznY3Xv5uuJzM0stDbMfy3aXHa2WURdrijUiUpnrBnzBofY2jT9g9toU2NemMZ1uyDCu80lYh1YWJiIxlhR/2C3tNcFYX0phlLSkLl4f0q1eKk8Ygl2IcPmM0iKfv7iF7NcmHM026WkOSUCkJ1xO2LkLOdTD1c4wB8AcrT4AfriHRk/Ok15/TnEJ7vtSc6F6BrJri4LyDGe0RlgoRY7UTsMVpxotxpY7+w== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3097.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(376002)(136003)(346002)(39850400004)(396003)(110136005)(52536014)(966005)(33656002)(54906003)(66476007)(8676002)(2906002)(76116006)(64756008)(66556008)(66446008)(66946007)(4326008)(19627235002)(8936002)(71200400001)(316002)(26005)(83080400001)(478600001)(6506007)(53546011)(86362001)(5660300002)(9686003)(55016002)(7696005)(186003)(83380400001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: 7MwIIHwILQSbPBpCCUpXdwOxmNmQNxtgrCw83oEpNq0IvlUMQbR/kQ8NEkqv9BiVXvcbTFVeVeJrfgIgUqGIGSUKICalRMWAj7poPpKGLzmPMzJRBQWzAoI9ViyDBgcs1YKsZ4GtMUHFPomVk52JzGFE/DFoXGETc87bksE5nINq0FaZPtfNioF+zRRGma4qnY2mEdcROAOU9QRPg7WMoVpV7YCMrMF9AcX+fHfwQp2IrnAiqL3ZGo/PfoXpp++j9EBcDm/OY3ykqqr+zHuNe4UsHOOyarVCli0X2Bi6Lj1mKdqENpgpBVhsMpwOkHtP8BjRxI8Fp4oGvgpsapJ1y9QT8ps2UF6xLMNN8tVWk9a3OtJ2ZjUCRUym+yVYKme1c4byrxDVmcbke+8CRMgAhZieRWJzlqqffyDtS7GFYqfR4VvUD6QIuLrXw7H6WoxRJC5xOW4T8Ud4MYPULXgo+CJgksYrSP+Uyoz97p8XVoHjSwx2AyTPuh0Iw3+i7jjvrt9Dzh14gknokNRMvRc5sJ3V8X1YiK/Edk86hClv+bwiQMO0gi3hncHD0FBbGuBDjW7bTII6zOy6+1apRPdXDUtBwJlRnYziMOu1JpFep9m08MB3KBYNYOMe8ayEoUP+Q+GjSR2Q/YgDaDHg8bNf8w== MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2344 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT050.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 519497eb-3937-401b-8f8e-08d865fa2553 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OngIlUafiLRQ2BD/H8EmBqRjpNN6lZBiaa1oIxeBnxkGs+i8wBdA5V/SWDVsh9OWz+EmqIgBUx9KCnBVYqqhLgrBEsEZ8CQApCl8QUqYdkGfHO/OiSh1+HdikFOa+9+8aleg8IA94xy11pa4XTyMxaXKrC5DeS5PX9oKnbL9CfKbOEEEYkuBN5hsw43USsnhVj+UXCqaz9tJMa8urshPDV05DXpHSrohkHHW2UyV50pkZKqYq07nn97V4m+s+bKc9d6FD/9dsro8Jrq6r6hAyhtDyLj6qFzss8sp3rImdga2sej+4D6sctMPWc3B2kssZi1/m0+8CO3N/FEX3iWGbbxZVm7TWX8DvAJDFEAZHejtPq4pD+Z8q04XurRVoG0EmiTic95q6jufZt/O6ta25PIdw+rFpyyrCQpjam6vQfjfvT3/uFJ2aSQa1723RMvmM6f4J1MdSCVIwnhNRm2PnjtFBHpjhd4tAzwmGqOfan0= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(346002)(396003)(136003)(376002)(39860400002)(46966005)(4326008)(6506007)(53546011)(26005)(186003)(55016002)(8676002)(86362001)(7696005)(8936002)(478600001)(70206006)(19627235002)(70586007)(107886003)(9686003)(52536014)(5660300002)(33656002)(336012)(110136005)(54906003)(316002)(82740400003)(966005)(2906002)(47076004)(83380400001)(82310400003)(81166007)(83080400001)(356005);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Oct 2020 11:07:17.9218 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6cb19c9a-a181-4d2d-7641-08d865fa2922 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: DB5EUR03FT050.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3346 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I am looking into this and will provide a fix shortly. Regards, Sami Mujawar -----Original Message----- From: devel@edk2.groups.io On Behalf Of Leif Lindho= lm via groups.io Sent: 01 October 2020 11:44 AM To: devel@edk2.groups.io; andrew.goodbody@linaro.org Cc: Ard Biesheuvel ; Thomas Abraham ; Liming Gao Subject: Re: [edk2-devel] Cannot build due to recent change Hi Andrew, Welcome to the list. First of all, it helps to cc maintainers of the bits you're having issues with. The GetMaintainer.py script can look these up for you automatically for a given path: python ../edk2/BaseTools/Scripts/GetMaintainer.py -l Platform/ARM/JunoPkg/= ArmJuno.dsc Platform/ARM/JunoPkg/ArmJuno.dsc Leif Lindholm Ard Biesheuvel Thomas Abraham Anyway, yes - commit b5701a4c7a0f ("CryptoPkg: OpensslLib: Use RngLib to generate entropy in rand_pool"), merged through https://github.com/tianocore/edk2/pull/938 broke EmulatorPkg, and most platforms outside the main edk2 tree. This should have been handled better. But the fix is simple - if the platform port produces EFI_RNG_PROTOCOL from some onboard hw, you can use the approach from edk2-platforms commit 1e09147a01ae ("Platforms/RaspberryPi: Fix RPi4 RngLib build error")= . Otherwise, you can use the approach used in edk2 commit 416813753726 ("ArmVirtPkg: Add RngLib based on TimerLib for CryptoPkg"). If you're just trying to build something, you can rewind your edk2 HEAD to the edk2-stable202008 tag. Best Regards, Leif On Wed, Sep 30, 2020 at 13:16:22 +0100, Andrew Goodbody wrote: > Looks like a recent change is not working for AARCH64 > > https://github.com/tianocore/edk2/commit/b5701a4c7a0fb185e0c5b9db9525939= c78664bfd > > edk2-platforms/Platform/ARM/JunoPkg/ArmJuno.dsc(...): error 4000: Instan= ce > of library class [RngLib] is not found > in [/home/andrew/src/edk2/CryptoPkg/Library/OpensslLib/OpensslLib.inf] > [AARCH64] > consumed by module [/home/andrew/src/edk2/NetworkPkg/IScsiDxe/IScsiDxe.i= nf] > > > - Failed - > Build end time: 12:56:54, Sep.30 2020 > Build total time: 00:00:01 > > Sorry but I have not found my way around here yet. Is there anyone that = can > see what the best fix is for this please? > > Thanks, > Andrew > > > > > IMPORTANT NOTICE: The contents of this email and any attachments are confi= dential and may also be privileged. If you are not the intended recipient, = please notify the sender immediately and do not disclose the contents to an= y other person, use it for any purpose, or store or copy the information in= any medium. Thank you.