From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.3.68; helo=eur03-am5-obe.outbound.protection.outlook.com; envelope-from=supreeth.venkatesh@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30068.outbound.protection.outlook.com [40.107.3.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 1ABF1211DF259 for ; Tue, 19 Mar 2019 06:14:25 -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=ydVJ0yIIV6ApmAh9+ZQYdLhFoOg77q7k8TV+fVagJPY=; b=BAPj5aJEcfyBiBI2Yyt8gqJlJ9VCM7bkLDhOl7Qp/KdaA1n0AQNj8ljMNzBpHDC90nRWLTIGHpTMCyTfEtDTkRGiwQOtiqCWCbIB8DorpCvQxxlcO527momi5t7fnFu1E5SN2yt2EqcpMLhFf8tYizrfmEF1xj9sb8EmXCKma7s= Received: from AM4PR08MB2788.eurprd08.prod.outlook.com (10.170.126.27) by AM4PR08MB2867.eurprd08.prod.outlook.com (10.171.190.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 13:14:23 +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; Tue, 19 Mar 2019 13:14:23 +0000 From: Supreeth Venkatesh To: Meenakshi Aggarwal , "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/fHJhwPRvdgAbueIgABBpXeA= Date: Tue, 19 Mar 2019 13:14:23 +0000 Message-ID: References: In-Reply-To: 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: [99.185.131.209] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8daca532-0ed0-458c-a9a7-08d6ac6ccdf8 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:AM4PR08MB2867; x-ms-traffictypediagnostic: AM4PR08MB2867: x-ms-exchange-purlcount: 4 x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(136003)(346002)(376002)(39860400002)(40434004)(199004)(189003)(6436002)(110136005)(606006)(53936002)(54896002)(6306002)(55016002)(7736002)(236005)(9686003)(2906002)(74316002)(5024004)(478600001)(446003)(11346002)(476003)(256004)(14454004)(486006)(72206003)(2501003)(71200400001)(966005)(6246003)(71190400001)(4326008)(186003)(26005)(25786009)(33656002)(76176011)(53546011)(68736007)(5660300002)(6506007)(105586002)(8936002)(19627235002)(99286004)(14444005)(7696005)(52536014)(3846002)(790700001)(6116002)(81166006)(81156014)(229853002)(54906003)(97736004)(106356001)(86362001)(316002)(8676002)(66066001)(102836004)(40753002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR08MB2867; H:AM4PR08MB2788.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: GzNeluTbBBfF+wth/WvRwEIvGuUpl5is85srGnY0IrHf98XwLoQjXVU4vLYWm++ydiRUerjfF51tkXPOUQ8G6tTCOZ7BqPd3ybhLbWU/tCU7zjf0iPSvsDjIZABn2wBcihChRQwK75rWwwlKJwNiar+xasIDJY8retZZY/s54CklfwgZNtxSjrkhTjqn/5//e3Bj+GPHzCs8fngU9Yvmi0shF99tRx3eq/dE1pUXFgOIaMOyFFsYozXht0l45e/gMlQV17k5jQT655t0VHSDL/6SxIqVhaDIAvPkbJn5r45baGax0QNKXRZeuC068HR2yi4JyZzcoN8+mA5Ng1K+YfZdSoOCRNAD6Pj9UqBd+iRsS2MKC7ARoPwfUK0uZ2PxwlAkGBNSEKMoGAlUgwbHcflwoBKUVqJZ6v4iAH4juS4= MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8daca532-0ed0-458c-a9a7-08d6ac6ccdf8 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 13:14:23.0804 (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: AM4PR08MB2867 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 13:14:26 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sorry, I had to make a few changes to get uefi-sct working with edk2-stable= 201903 tag. I will update the instructions after posting those patches. Please let me know which versions of edk2 and edk2-test are you using, so t= hat I can look into that first and let you know. Thanks, Supreeth From: Meenakshi Aggarwal Sent: Tuesday, March 19, 2019 12:19 AM To: Supreeth Venkatesh ; edk2-devel@lists.01.or= g Cc: Dong Wei ; Jin, Eric ; Udit Kumar= ; Varun Sethi Subject: RE: [edk2-test] SctPkg compilation is failing 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.org 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. 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.