From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B510EA0C47; Wed, 3 Nov 2021 21:01:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 795C340E0F; Wed, 3 Nov 2021 21:01:43 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by mails.dpdk.org (Postfix) with ESMTP id 6278140689 for ; Wed, 3 Nov 2021 21:01:42 +0100 (CET) Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1A3Jo4n9017893 for ; Wed, 3 Nov 2021 20:01:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=nxqa83MkqT9Ipj9b63/s/XCkYgIoJF3CbPmMbLDQcKU=; b=Pyig4gf/HoN8qSC1MpL3ZW7O4dUdr71tKBB6IbJY9fBexYmw4RYoBpY8qL6saWwGWMi2 wgShPXr74nAehM9FomvZwPcoc0T+eAmCxu5WpfJpksHU9VpPp6HgXSfi5+Ob1hKYZic2 +CNhd8xBipO8A4ArE91w88VjwHeku9MRLfsOy2lelQkqCODg3953HRvznsm+yM9dhJbH WOFKW9D+M8r0WlCV8SSBqrLQCi6xCqobSlcKf1byLpPKmQzCGMBQkxDzsADAutabBFlQ bdYbNMbxdmU9fywmthVjZMaAh1oPIcYkgH7IyTFOo7sVL42+xYz33WqOHGCnyeDxoEhH HQ== Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 3c40f1grbq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 03 Nov 2021 20:01:40 +0000 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 1A3JwkuL005424 for ; Wed, 3 Nov 2021 20:01:39 GMT Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by ppma04wdc.us.ibm.com with ESMTP id 3c0wpbs0jg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 03 Nov 2021 20:01:39 +0000 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1A3K1cSw41812356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Nov 2021 20:01:38 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A353D11206D; Wed, 3 Nov 2021 20:01:38 +0000 (GMT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8B330112067; Wed, 3 Nov 2021 20:01:38 +0000 (GMT) Received: from localhost.localdomain (unknown [9.114.224.51]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 3 Nov 2021 20:01:38 +0000 (GMT) From: David Christensen To: dev@dpdk.org Cc: thinhtr@linux.vnet.ibm.com, David Christensen Date: Wed, 3 Nov 2021 13:01:26 -0700 Message-Id: <20211103200126.1033026-1-drc@linux.vnet.ibm.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: lEr64ZoActQ6zPlEZpk_76GhXQ2hYpXF X-Proofpoint-ORIG-GUID: lEr64ZoActQ6zPlEZpk_76GhXQ2hYpXF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-03_06,2021-11-03_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 bulkscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=641 impostorscore=0 malwarescore=0 adultscore=0 priorityscore=1501 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111030105 Subject: [dpdk-dev] [PATCH] config/ppc: fix meson build failure with gcc 4.8.5 on RHEL/CENTOS7 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The POWER meson.build file incorrectly checks if the detected CPU is "greater than" POWER8 when it should actually test for "greater than or equal to" POWER8. Fixed the comparison operator. Bugzilla ID: 875 Fixes: 750196880843 ("config/ppc: select instruction set for IBM Power10") Cc: thinhtr@linux.vnet.ibm.com Signed-off-by: David Christensen --- config/ppc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ppc/meson.build b/config/ppc/meson.build index cba8222163..1cba44011f 100644 --- a/config/ppc/meson.build +++ b/config/ppc/meson.build @@ -89,7 +89,7 @@ int main() { else error('Compiler does not support POWER@0@ platform'.format(cpu)) endif - if cpu > 8 + if cpu >= 8 cpu_instruction_set = 'power'+cpu.to_string() else error('Compiler does not support POWER@0@ platform'.format(cpu)) -- 2.27.0