From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a01:111:f400:fe0a::628; helo=eur03-db5-obe.outbound.protection.outlook.com; envelope-from=supreeth.venkatesh@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0628.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::628]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BDCA321A07093 for ; Mon, 18 Mar 2019 09:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Kge+u0uLKUVxyKVEaHvH5XJimz96SvoNIEp1XcuvVwY=; b=KlpEwzFdM9mNFyi8xempKyrKJu20mBOMOquZ4GTHDUNF5bXDDzZ2EfdWVCwhjrzhscYJKlyon6yKV6ZLQwe3n0oaKgQKDQwIrc/CFGuS02MzvNPNYCyh1DfWhft0GL+dz4ffzsIfUaE60iGDhy/dbIHCSc2owbm6QrzsapAwC5s= Received: from AM4PR08MB2788.eurprd08.prod.outlook.com (10.170.126.27) by AM4PR08MB2882.eurprd08.prod.outlook.com (10.171.190.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Mon, 18 Mar 2019 16:06:30 +0000 Received: from AM4PR08MB2788.eurprd08.prod.outlook.com ([fe80::cc1a:f5ec:27c6:4136]) by AM4PR08MB2788.eurprd08.prod.outlook.com ([fe80::cc1a:f5ec:27c6:4136%2]) with mapi id 15.20.1709.015; Mon, 18 Mar 2019 16:06:30 +0000 From: Supreeth Venkatesh To: Meenakshi Aggarwal , "edk2-devel@lists.01.org" CC: Dong Wei , "Jin, Eric" Thread-Topic: [edk2-test] SctPkg compilation is failing Thread-Index: AdTdo9p0NeVXEA8PSaK/fHJhwPRvdg== Date: Mon, 18 Mar 2019 16:06:30 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Supreeth.Venkatesh@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 16a7c267-af20-49e4-f5c9-08d6abbbaf6a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM4PR08MB2882; x-ms-traffictypediagnostic: AM4PR08MB2882: x-ms-exchange-purlcount: 3 x-microsoft-antispam-prvs: x-forefront-prvs: 098076C36C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(366004)(39860400002)(346002)(376002)(40434004)(189003)(199004)(6506007)(256004)(86362001)(2501003)(53546011)(8676002)(790700001)(6116002)(8936002)(81166006)(66066001)(81156014)(19627235002)(476003)(105586002)(5024004)(3846002)(7696005)(97736004)(102836004)(74316002)(6436002)(7736002)(5660300002)(52536014)(71200400001)(71190400001)(99286004)(54896002)(26005)(53936002)(33656002)(478600001)(486006)(606006)(186003)(236005)(68736007)(9686003)(6306002)(110136005)(2906002)(14454004)(55016002)(72206003)(106356001)(966005)(25786009)(54906003)(4326008)(316002)(14444005)(40753002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR08MB2882; H:AM4PR08MB2788.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Xmty6BZxVdFFWZ66cYxkg7VRXzcdNrn7+gh3nnCVZkretyt/USegdGIUzAHGUoUCcMNr+sdlwFVgkt0hfYuJyU2JVMpooCcxEo8UCPO4bhua0MByXBhFd+DhYlAB88c5gkD0b1ZFcNQAaQzbujT9ZLgtwWS2/79ZycCZ+FxS7jJL5YZgUtl2PZzre5gZYMb8f/wy66JPfct5GECHiH6qqsdG0txCL/RF/WGcotU+2iy2wAQ/60AsQSUluYIWeIWG9rzieI3lWXlzHb2u7OsU0BjBXSdrEVtW1RJvmbTGhLSy7g/KklmOn2uniXdioE34HsfYR3wuXX7wQEOqLQdDHyGc/b6cYxqNjTIsAz97binatlPta+yBF9X99alL+rZ6KpLghdY8abufEAT1SkEQCAPIifpIftmvZ3o3rhi26rU= MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 16a7c267-af20-49e4-f5c9-08d6abbbaf6a X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2019 16:06:30.9079 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR08MB2882 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: Mon, 18 Mar 2019 16:06:35 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 Venkatesh 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.