From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.7233.1654180459958121788 for ; Thu, 02 Jun 2022 07:34:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=WSGWacL7; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0152249982=daniel.schaefer@hpe.com) Received: from pps.filterd (m0134422.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 252BJYFA025368; Thu, 2 Jun 2022 14:34:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=pps0720; bh=qtc8lvn+w5FjWXpSYKXM+rCDgrnk2ypNR/ee6yxqztU=; b=WSGWacL7tAv2R2KJiESZY+b74t5xNJ8enaR8PXyMSYCPvovsGV1NBbTBbcjE5UzQ9okU iy3NKHUoJvMcApmtuMIjPKXFkkzd805KcbXX2z5tKS0c9xA2Ok5ziNpZFJ9IEOvQ49kr mVVSOdn5J6DuZdhFvwIf5KSXJghdYxf7l5N2AhwqkMuvm43O1GOPOeLoELEtAgXJG8w4 Pjh+uzp7PxW2s0rNLh2BKuSO1RKZIh2HRzpzOJwLvIJfqX/76dciiUmSvQGLx+X8LiV7 7H0MZ2sxUUNC1YWKvHvuyFRv2PtVo6E33gHrG4qUwV5OfFv3A7KgSBsNmxKpgcIDX2RA XA== Received: from p1lg14878.it.hpe.com (p1lg14878.it.hpe.com [16.230.97.204]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3gev7u9txp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Jun 2022 14:34:19 +0000 Received: from p1wg14923.americas.hpqcorp.net (unknown [10.119.18.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by p1lg14878.it.hpe.com (Postfix) with ESMTPS id ADBD91305B; Thu, 2 Jun 2022 14:34:18 +0000 (UTC) Received: from p1wg14927.americas.hpqcorp.net (10.119.18.117) by p1wg14923.americas.hpqcorp.net (10.119.18.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Thu, 2 Jun 2022 02:34:18 -1200 Received: from p1wg14923.americas.hpqcorp.net (10.119.18.111) by p1wg14927.americas.hpqcorp.net (10.119.18.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Thu, 2 Jun 2022 02:34:18 -1200 Received: from p1wg14921.americas.hpqcorp.net (16.230.19.124) by p1wg14923.americas.hpqcorp.net (10.119.18.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15 via Frontend Transport; Thu, 2 Jun 2022 02:34:18 -1200 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (192.58.206.38) by edge.it.hpe.com (16.230.19.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Thu, 2 Jun 2022 02:34:17 -1200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fTkdLqrGhf8/j7K+1ttaCGJaEDRG+aiRyDcWiXwyk1QNnTJOy8Q6RH7i8DGJMCncSxeJGR41a+0FQlHkxzmExDp5HNYISAmXtIm4Al3iFGY2NTWmanSM+dMhm65cmKpKruBUxllaoWxa9sw/LqPo6+GWWLWwq02jHW012UPbloSkhXZZmg3hy/WlM4Jih6aiWjg0DLhPsv/0PIEQUwD9YZyhUlfl3C4Nqq1gb9R2+EoV9oITXHj7od2yB69GpMKW6CotcNB8foha5LTtDYgbLk4qWH9rWSVZb85GDdJ8PVwOQYZhdj0cU120SNTFo4JmrpvSW5U3y4B8c+uDEYjZXQ== 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=TRzgYVtLB5lZdfaH23/ZNQHGr15e1Px1WhawQ3vaP3I=; b=UhpdyqnbAIkqSc/7FoswpiN9rK5eKNZkuPN31+y/UgShUvEb55ga87TcINH3RVQdyZ/zqo/m3L7T/WYRgN7X7pgCaAwvCae72pZy1irx4/TLKjczonxPy/Bpa207QDNe1vwWubel3XLQcVw8/rNhQVIXEBb0rYNCiTFjRXXO+fhUv0qtgrte5y00qeojEA77Uivwb++vbH5HivWlICmgal/zrO6ez8I3b+M7L/7xk+7gohZcCKUJJGmAE4w+Tlq/yN33dBqeoAgQCja5guIlIjw+hYQGHmj8q4ozh7WGRIi3VrAPDTcWkUq8hi5L0C7Qncob5AEoKmGZn/0ayj5Lyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from SJ0PR84MB1505.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:a03:381::14) by MW4PR84MB1514.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:303:1a5::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13; Thu, 2 Jun 2022 14:34:16 +0000 Received: from SJ0PR84MB1505.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c10a:fa0b:5735:b8cd]) by SJ0PR84MB1505.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c10a:fa0b:5735:b8cd%6]) with mapi id 15.20.5314.013; Thu, 2 Jun 2022 14:34:16 +0000 From: "Daniel Schaefer" To: "devel@edk2.groups.io" , "osteffen@redhat.com" CC: "Chang, Abner (HPS SW/FW Technologist)" Subject: Re: [edk2-devel] gcc 12, RiscV64 fence.i instruction missing Thread-Topic: [edk2-devel] gcc 12, RiscV64 fence.i instruction missing Thread-Index: AQHYdofVs54+YQ46iU+1Oki07C3MYK08Lk/l Date: Thu, 2 Jun 2022 14:34:16 +0000 Message-ID: References: <20220602135034.xdauyepsbbjrpu3k@osteffen-laptop> In-Reply-To: <20220602135034.xdauyepsbbjrpu3k@osteffen-laptop> Accept-Language: en-US, de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0ceb1e46-969e-46be-d801-08da44a4f8d1 x-ms-traffictypediagnostic: MW4PR84MB1514:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nA0+4mkVDXD4F4P6c43BbgdiNnJS+F4h5x2WPmZ7/tdQMXgGvQPT9bzO6zF4tMCTwfIps2n35E4iSxYlDxQi1EVDnCixYHkVqqGT4/6qDd8r2F0rlPtrzdwQdVAYepqP5D7zKxINE9cTauNFD1v2D9RCOlKYBjj2CwI8wKAnBVCitIwT2ro6MSVsWMD75WsoFs4w1HcO3rgICxEydmQ7pAjKyRlyKp7Js0lB5b4khRbTRY9L4hd9vYu4RzlzqOJGiKkqWvvAh6fuXfhTSqTFI2pUwUjCBs1FxJhrXu9fDL7q0Xzusdxmu64U7GTrA7zkqWDKyufV0N+kFAx4RAsLA0kXnC6SfPJHtvxcqrcfjKl/wOQUv94uReCQOh1A46DsVan8xXcwjbPwQqg0MoWn/r47Ef4S9ZT6hZf3D65iCLeiZt8gd9EIwln29SlVSMB9+CPBuRo86xycZBPjBVHoVRY5L/Wd7r+Rd1ShTU3Xe79a9pBW6m2Nlg762cu7/1djDCaKu0oHjf4wC2EpjnjVkmrh/C24Bkq6+J4lhH6r95S0wtod0itHOz0J5w4gi4JiUq3EiWqTUW82YaYD1XynRsBeMst/JSEbNJrEW6jCZd2y5MNvzNetYT4zBbBXAv0OFmQYvFI9+YcAAIBG/58sTZSEb7VcVEah6a6R1fpTZQ9eGtSNpBe6UncaBkSrY/1G3J9F95bXpKKVEKZnHNjY1YcEPwTWSNmc4VIFQMzlUlCrbUE37xL/KDCN8+3pwTnkPtEG+sL2/sVkjZrjY9GDx6dU+8prcFmCltVGyikMbjgPgJh42g3ZeWD/8M7sActGLSHLSzxNkrFWYd4LU7ZZKw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR84MB1505.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230001)(366004)(33656002)(9686003)(76116006)(91956017)(82960400001)(122000001)(110136005)(19627405001)(2906002)(186003)(26005)(83380400001)(316002)(53546011)(38070700005)(38100700002)(7696005)(166002)(8676002)(86362001)(4326008)(71200400001)(508600001)(966005)(55016003)(6506007)(66476007)(8936002)(52536014)(66446008)(66946007)(64756008)(5660300002)(66556008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?VcHlGIE9U1z3u+/641hP18J9Z2Xv/EWGyig5lgeoBOCKuzpx6fwH6WfuJioD?= =?us-ascii?Q?EXZSYWRJxStWRUN50Nu1lUW4DKAdV/Ax8188+t7xUufp09QkRLdsQd7owr6J?= =?us-ascii?Q?pHSZgZqKsysrehpOsB2evMbg0NwtxhQJpo9W27Ollg8XHaYLuN+4umoJaCPw?= =?us-ascii?Q?QNMI2dE1+OzGggXyeCdgc/bvYG7icFPjgpjfa4FDYAl0jGl2JoZOkCWOWn74?= =?us-ascii?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5AnGBzLGWwgpHuBoJXjsRl?= =?us-ascii?Q?TPXu8awKlDankKKhmfXUI3A0t1j8b0OiJQ7WobYnPYSo8HHvBa9OjWDk7gAc?= =?us-ascii?Q?2p1vN49tCrLDVOcaufvcVgdiSIFskZCgUDY5IUrf3VWJ7X2eMz7LAizspOEA?= =?us-ascii?Q?UZqEz3voahjusXiAox97JOa8U98MEYupiXu60YmRdVDJjExsXczITcvnMKiC?= =?us-ascii?Q?XGnG8Kaupxtm5cev9ZsXElDO15ZcCGwIMmEcxKtA1pmxAMZ6nGfWjZ8T0Xa9?= =?us-ascii?Q?4ECBP7itgjw/xsWTZzxCN7riNCZ/dUqAoQOqT03zTniz2NaVEQRqD46ZDgH4?= =?us-ascii?Q?NI1DUpXC7bsdAtz5q3B68NNp48+/mmLaAnS1q+Wh++HLKgUY7R6a0111b0ft?= =?us-ascii?Q?EzNpjxooTJosnL8IDXG0VqCH/Ldm5No6Hx7S0Dbzp46ag/RHieMe+6crT5jX?= =?us-ascii?Q?tkA+hfNWSi25zcgZGg0V9ASV7MO36Kt5qLWueOv6Uf3AOEL2nXJwq69T3M3H?= =?us-ascii?Q?Lci/hGCggU5VT0nbRoSFE9hgd4pdkaYl8ltpXr/3kRdY1zi90ZAqOC833GrA?= =?us-ascii?Q?d971DT1wiBSRduSIaRn/p2+Ej0gfmEcbY2kSMGdgXiHqmts1sXl6NaJWgIlJ?= =?us-ascii?Q?g/pkC9+INg=3D=3D?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR84MB1505.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 0ceb1e46-969e-46be-d801-08da44a4f8d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jun 2022 14:34:16.5861 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: H2dVFp9YJ9kSY7xJz8p+DZK+UkxfgJRp/TwDUn9Lf37s3JnNB426RyvMo2ZXKPX/T1GOBv9bzdarUOjEndBWzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR84MB1514 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: yks2439bwYuImpkEyCZ19EOL1aJqbJxi X-Proofpoint-ORIG-GUID: yks2439bwYuImpkEyCZ19EOL1aJqbJxi X-Proofpoint-UnRewURL: 12 URL's were un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-02_03,2022-06-02_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 impostorscore=0 mlxlogscore=999 spamscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 bulkscore=0 mlxscore=0 suspectscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206020063 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_SJ0PR84MB1505DA28F967FCA89A0DA763E0DE9SJ0PR84MB1505NAMP_" --_000_SJ0PR84MB1505DA28F967FCA89A0DA763E0DE9SJ0PR84MB1505NAMP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Steffen, No, I don't think we've tried GCC12 yet. Hm, I don't quite understand the bug report but it sounds like something th= at'll be fixed by GCC? Thanks, Daniel ________________________________ From: devel@edk2.groups.io on behalf of Oliver Steff= en Sent: Thursday, June 2, 2022 21:50 To: devel@edk2.groups.io Cc: Chang, Abner (HPS SW/FW Technologist) Subject: [edk2-devel] gcc 12, RiscV64 fence.i instruction missing Hi, has anyone tied building EDK2 (e.g. MdePkg) for RiscV64 with gcc 12? I get: /edk2/Build/Mde/DEBUG_GCC5/RISCV64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/Ri= scV64/FlushCache.iiii:16: Error: unrecognized opcode `fence.i' I found this gcc bug: Bug 104853 - [RISC-V] -march=3Drv64g not including extension Zifencei https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104853 I was working on getting gcc 12 into the CI. Thanks, Oliver --_000_SJ0PR84MB1505DA28F967FCA89A0DA763E0DE9SJ0PR84MB1505NAMP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi Steffen,

No, I don't think we've tried GCC12 yet.
Hm, I don't quite understand the bug report but it sounds like something th= at'll be fixed by GCC?

Thanks,
Daniel

From: devel@edk2.groups.io = <devel@edk2.groups.io> on behalf of Oliver Steffen <osteffen@redha= t.com>
Sent: Thursday, June 2, 2022 21:50
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>= ;
Subject: [edk2-devel] gcc 12, RiscV64 fence.i instruction missing
 
Hi,
has anyone tied building EDK2 (e.g. MdePkg) for RiscV64 with gcc 12?
I get:

/edk2/Build/Mde/DEBUG_GCC5/RISCV64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/Ri= scV64/FlushCache.iiii:16: Error: unrecognized opcode `fence.i'

I found this gcc bug:
Bug 104853 - [RISC-V] -march=3Drv64g not including extension Zifencei
https://g= cc.gnu.org/bugzilla/show_bug.cgi?id=3D104853

I was working on getting gcc 12 into the CI.

Thanks,
  Oliver






--_000_SJ0PR84MB1505DA28F967FCA89A0DA763E0DE9SJ0PR84MB1505NAMP_--