From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 5AF114CA0 for ; Wed, 7 Nov 2018 20:02:51 +0100 (CET) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wA7IwnK6072199 for ; Wed, 7 Nov 2018 14:02:50 -0500 Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by mx0a-001b2d01.pphosted.com with ESMTP id 2nm3dpped6-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 07 Nov 2018 14:02:50 -0500 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Nov 2018 19:02:49 -0000 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 7 Nov 2018 19:02:47 -0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id wA7J2jHA19071034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Nov 2018 19:02:45 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 20EA9BE04F; Wed, 7 Nov 2018 19:02:45 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6465ABE054; Wed, 7 Nov 2018 19:02:44 +0000 (GMT) Received: from ltc.linux.ibm.com (unknown [9.16.170.189]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Wed, 7 Nov 2018 19:02:44 +0000 (GMT) MIME-Version: 1.0 Date: Wed, 07 Nov 2018 11:05:24 -0800 From: dwilder To: Thomas Monjalon Cc: dev@dpdk.org, christian.ehrhardt@canonical.com, adrien.mazarguil@6wind.com, shahafs@mellanox.com, yskoh@mellanox.com, gowrishankar.m@linux.vnet.ibm.com, chaozhu@linux.vnet.ibm.com, pradeep@us.ibm.com, tyos@jp.ibm.com In-Reply-To: <20181107160028.5938-1-thomas@monjalon.net> References: <20180903092911.GU3695@6wind.com> <20181107160028.5938-1-thomas@monjalon.net> X-Sender: dwilder@us.ibm.com User-Agent: Roundcube Webmail/1.0.1 X-TM-AS-GCONF: 00 x-cbid: 18110719-0012-0000-0000-000016D6568C X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010003; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000268; SDB=6.01114090; UDB=6.00577574; IPR=6.00894190; MB=3.00024063; MTD=3.00000008; XFM=3.00000015; UTC=2018-11-07 19:02:49 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18110719-0013-0000-0000-0000550935A4 Message-Id: <30471765b219a14d31a795ea4d77eedb@linux.vnet.ibm.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-11-07_14:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811070169 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix build on PPC64 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2018 19:02:51 -0000 On 2018-11-07 08:00, Thomas Monjalon wrote: > The AltiVec header file breaks boolean type: > > error: incompatible types when initializing type > '__vector _bool int' {aka '_vector(4) __bool int'} using type 'int' > > If __APPLE_ALTIVEC__ is defined, then bool type is redefined > and conflicts with stdbool.h. > > There is no good solution to fix it for the whole project without > breaking something else, so a workaround is inserted in mlx5 PMD. > This workaround is not compatible with C++ but there is no C++ in DPDK. > > Suggested-by: Christian Ehrhardt > Suggested-by: Adrien Mazarguil > Signed-off-by: Thomas Monjalon Tested-by: David Wilder Hi Thomas Thanks for re-posting this patch. I see no build breaks on power8 or power9 with this patch. I tried both 18.11-rc1 and upstream (master).