From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.14.85; helo=eur01-ve1-obe.outbound.protection.outlook.com; envelope-from=meenakshi.aggarwal@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140085.outbound.protection.outlook.com [40.107.14.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 230CC211D9418 for ; Mon, 18 Mar 2019 22:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U+wbQi6gMaizuCVOkUR93bqZwBtjEN0cp44GzZufWb0=; b=sGu8NkoIWV+HyCiXP8ZH1u9C4dvUbJZRpNRyqv0oHoCoMBT/gL/3OQbLjVXyywAyvskFXTbhPrmLDJexxXqcqIwbnheWsiWZNXAMLxb30B+qCx2g0hvwiO/qE1DIF8n2kg2qqBSaOQfuV/Noq+vjd8O7j1PU7SUTRNtP+yvZ+VU= Received: from VI1PR04MB4685.eurprd04.prod.outlook.com (20.177.56.77) by VI1PR04MB4638.eurprd04.prod.outlook.com (20.177.56.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Tue, 19 Mar 2019 05:18:30 +0000 Received: from VI1PR04MB4685.eurprd04.prod.outlook.com ([fe80::782f:3b19:d90c:5416]) by VI1PR04MB4685.eurprd04.prod.outlook.com ([fe80::782f:3b19:d90c:5416%3]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 05:18:30 +0000 From: Meenakshi Aggarwal To: Supreeth Venkatesh , "edk2-devel@lists.01.org" CC: Dong Wei , "Jin, Eric" , Udit Kumar , Varun Sethi Thread-Topic: [edk2-test] SctPkg compilation is failing Thread-Index: AdTdo9p0NeVXEA8PSaK/fHJhwPRvdgAbueIg Date: Tue, 19 Mar 2019 05:18:30 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=meenakshi.aggarwal@nxp.com; x-originating-ip: [92.120.0.3] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8e9ac676-0779-4326-25ff-08d6ac2a536b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4638; x-ms-traffictypediagnostic: VI1PR04MB4638: x-ms-exchange-purlcount: 3 x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(39860400002)(376002)(136003)(346002)(189003)(199004)(40434004)(44832011)(25786009)(8676002)(316002)(26005)(68736007)(256004)(71190400001)(86362001)(790700001)(6116002)(71200400001)(97736004)(2906002)(54906003)(3846002)(110136005)(4326008)(74316002)(7736002)(606006)(66066001)(52536014)(81156014)(105586002)(9326002)(106356001)(486006)(14454004)(81166006)(6306002)(54896002)(476003)(53936002)(8936002)(6246003)(7696005)(76176011)(11346002)(55016002)(5660300002)(446003)(478600001)(236005)(9686003)(966005)(2501003)(186003)(33656002)(6436002)(99286004)(19627235002)(6506007)(14444005)(53546011)(229853002)(5024004)(102836004)(40753002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4638; H:VI1PR04MB4685.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: YhjLSVqAoKlVGEZxzSmT2LPrOjQ7LEGW+1bv9r2Nx4JE1/sbZ9uc4tz+BBnxxo+Wyaottz5hE/x2LqFXFcaupjFjTRIjl78kEItshy6HLRPCLa3tLv1tGNpLu0PzekZ/LUC65y+pu6kt6QPEzqxg4/nrZRvQ6Fv0x1Kv2NvyslhtPdf7uSDEkGsO+zHz9ITRTZaThyqLkLGxJ8Pun8YqDmvvZ5Xu59ZKdNkTNDJge++06AouiTgZV+4lu4o9rGzwTlnsKcxtR0DeTl6Fa64WH5djBfJHYfEXnimborSQm/Ywrs+u87byeEAjUKHpB/8mi2kaylmdirIigP5nxVmioEYCwerGICABchGk6FobupLG73NxZxYYUN6f2BhAjhdrj+X1sAqXJQRL7CTmsycsGfKiQsrOhwKKX1ldnCMaZqU= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e9ac676-0779-4326-25ff-08d6ac2a536b X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 05:18:30.6738 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4638 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [edk2-test] SctPkg compilation is failing X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2019 05:18:37 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Supreeth, I tried the step suggested by you, but still facing error: meenakshi@uefi-OptiPlex-790:~/SCT/edk2/SctPkg$ export EDK_TOOLS_PATH=3D"/ho= me/meenakshi/SCT/edk2/BaseTools" meenakshi@uefi-OptiPlex-790:~/SCT/edk2/SctPkg$ rm -f $EDK_TOOLS_PATH/Source= /C/bin/GenBin meenakshi@uefi-OptiPlex-790:~/SCT/edk2/SctPkg$ cd .. meenakshi@uefi-OptiPlex-790:~/SCT/edk2$ ./SctPkg/build.sh AARCH64 GCC Target: AARCH64 Build: other TOOLCHAIN is GCC49 Toolchain prefix: GCC49_AARCH64_PREFIX=3Daarch64-linux-gnu- Building from: /home/meenakshi/SCT/edk2 using prebuilt tools Building GenBin make: Entering directory `/home/meenakshi/SCT/edk2-test/uefi-sct/SctPkg/Too= ls/Source/GenBin' make: *** No rule to make target `../Include/Common/BuildVersion.h', needed= by `GenBin.o'. Stop. make: Leaving directory `/home/meenakshi/SCT/edk2-test/uefi-sct/SctPkg/Tool= s/Source/GenBin' Error while building GenBin Also, i can't see any update in compilation steps in edk2-test repository. Please update latest steps. Thanks, Meenakshi From: Supreeth Venkatesh Sent: Monday, March 18, 2019 9:37 PM To: Meenakshi Aggarwal ; edk2-devel@lists.01.or= g Cc: Dong Wei ; Jin, Eric Subject: RE:[edk2-test] SctPkg compilation is failing Changing Subject line to append [edk2-test]. If the source code for edk2 and/or edk2-test is stale, this may happen, as GenBin is no longer a pre-built binary but it is getting built from the = source. Please try this with the existing build and recompile. rm -f $EDK_TOOLS_PATH/Source/C/bin/GenBin Also, Build instructions need update, since UTWG decided to use edk2 stable relea= ses tag. I will update the instructions today. Thanks, Supreeth From: Meenakshi Aggarwal > Sent: Monday, March 18, 2019 1:42 AM To: edk2-devel@lists.01.org; Supreeth Venka= tesh > Subject: SctPkg compilation is failing Hi, I followed below steps to compile SctPkg: Refer to SctPkg/Tools/Source/GenBin/HowTo.txt to gen the GenBin and copy it= to Home/Dev/SctWorkspace/Bin/BaseTools/BinWrappers/PosixLike Build Instructions for UEFI SCTII AARCH64 (Linux) 1) mkdir "sct_workspace" 2) cd sct_workspace 3) git clone https://github.com/tianocore/edk2-test.git 4) git clone https://github.com/tianocore/edk2 5) cd edk2 6) git checkout UDK2017 7) ln -s ../edk2-test/uefi-sct/SctPkg SctPkg 8) cd .. 9) mkdir -p "tools/gcc" 10) cd "tools/gcc" 11) wget -nv "https://releases.linaro.org/components/toolchain/binaries/4= .9-2016.02/aarch64-linux-gnu/gcc-linaro-4.9-2016.02-x86_64_aarch64-linux-gn= u.tar.xz" 12) tar -xf gcc-linaro-4.9-2016.02-x86_64_aarch64-linux-gnu.tar.xz 13) cd ../.. 14) export PATH=3D$PATH:"$PWD/tools/gcc/gcc-linaro-4.9-2016.02-x86_64_aar= ch64-linux-gnu/bin" 15) export CROSS_COMPILE=3D"$PWD/tools/gcc/gcc-linaro-4.9-2016.02-x86_64_= aarch64-linux-gnu/bin/aarch64-linux-gnu-" 16) ./SctPkg/build.sh AARCH64 GCC But I am facing below error: meenakshi@uefi-OptiPlex-790:~/SCT/edk2$ ./SctPkg/build.sh AARCH64 GCC Target: AARCH64 Build: other TOOLCHAIN is GCC49 Toolchain prefix: GCC49_AARCH64_PREFIX=3Daarch64-linux-gnu- Building from: /home/meenakshi/SCT/edk2 using prebuilt tools Building GenBin make: Entering directory `/home/meenakshi/SCT/edk2-test/uefi-sct/SctPkg/Too= ls/Source/GenBin' make: *** No rule to make target `../Include/Common/BuildVersion.h', needed= by `GenBin.o'. Stop. make: Leaving directory `/home/meenakshi/SCT/edk2-test/uefi-sct/SctPkg/Tool= s/Source/GenBin' Error while building GenBin Please help in compiling SctPkg. Thanks, Meenakshi 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.