From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by dpdk.org (Postfix) with ESMTP id 3C034530A for ; Sat, 16 Jul 2016 10:03:31 +0200 (CEST) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u6G82ARK076319 for ; Sat, 16 Jul 2016 04:03:30 -0400 Received: from e28smtp05.in.ibm.com (e28smtp05.in.ibm.com [125.16.236.5]) by mx0b-001b2d01.pphosted.com with ESMTP id 247h2g80x6-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 16 Jul 2016 04:03:30 -0400 Received: from localhost by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 16 Jul 2016 13:33:27 +0530 Received: from d28dlp02.in.ibm.com (9.184.220.127) by e28smtp05.in.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 16 Jul 2016 13:33:24 +0530 X-IBM-Helo: d28dlp02.in.ibm.com X-IBM-MailFrom: gowrishankar.m@linux.vnet.ibm.com X-IBM-RcptTo: dev@dpdk.org Received: from d28relay10.in.ibm.com (d28relay10.in.ibm.com [9.184.220.161]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 9C895394004E for ; Sat, 16 Jul 2016 13:33:23 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay10.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u6G83NeB38404212 for ; Sat, 16 Jul 2016 13:33:23 +0530 Received: from d28av02.in.ibm.com (localhost [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u6G83Mld031756 for ; Sat, 16 Jul 2016 13:33:23 +0530 Received: from [9.124.209.153] ([9.124.209.153]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u6G83JTY031625; Sat, 16 Jul 2016 13:33:20 +0530 To: Chao Zhu , "'Dumitrescu, Cristian'" , "=?UTF-8?Q?'N=c3=a9lio_Laranjeiro'?=" References: <20160622123103.GU14221@autoinstall.dev.6wind.com> <3EB4FA525960D640B5BDFFD6A3D8912647A0C230@IRSMSX108.ger.corp.intel.com> <000001d1cdfd$bb9eedf0$32dcc9d0$@linux.vnet.ibm.com> Cc: dev@dpdk.org From: gowrishankar Date: Sat, 16 Jul 2016 13:33:19 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <000001d1cdfd$bb9eedf0$32dcc9d0$@linux.vnet.ibm.com> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16071608-0016-0000-0000-000002CCB2B3 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16071608-0017-0000-0000-000024E8B781 Message-Id: <5789EA47.2050507@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-07-16_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1607160095 Subject: Re: [dpdk-dev] librte_meter compilation fails on IBM Power8 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2016 08:03:31 -0000 I remember I came across this problem some time back (not sure on which tip of master), but certainly it is no more appearing now (atleast today tip 65965546 ..) Just an update. Thanks, Gowrishankar On Friday 24 June 2016 03:19 PM, Chao Zhu wrote: > I can repeat this problem by "export EXTRA_CFLAGS="-O0 -g"" on Power8. But > I'm not sure why this happens. The "-O3 -g" option works properly. I'll > investigate more. > > -----Original Message----- > From: Dumitrescu, Cristian [mailto:cristian.dumitrescu@intel.com] > Sent: 2016Äê6ÔÂ24ÈÕ 1:26 > To: N¨¦lio Laranjeiro ; Chao Zhu vnet.ibm.com> > Cc: dev@dpdk.org > Subject: RE: librte_meter compilation fails on IBM Power8 > > > >> -----Original Message----- >> From: N¨¦lio Laranjeiro [mailto:nelio.laranjeiro@6wind.com] >> Sent: Wednesday, June 22, 2016 1:31 PM >> To: Dumitrescu, Cristian ; Chao Zhu >> >> Cc: dev@dpdk.org >> Subject: librte_meter compilation fails on IBM Power8 >> >> Hi Cristian, Chao, >> >> I have encountered a compilation failure on IBM Power8 when compiling >> master branch with EXTRA_CFLAGS='-O0 -g': >> >> /root/nl/dpdk.org/build/lib/librte_meter.a(rte_meter.o): In function >> `rte_meter_get_tb_params': >> /root/nl/dpdk.org/lib/librte_meter/rte_meter.c:57: undefined >> reference to `ceil' >> >> Seems related to commit 43f4364d. >> >> I don't have the time to search more deeply, I hope it can help. >> >> Regards, >> >> -- >> N¨¦lio Laranjeiro >> 6WIND > I am not sure what the problem might be for IBM Power8. > > ceil() is a function defined in math library, we include math.h header file > in rte_meter.c and we also link the library properly in the Makefile by > using LDLIBS += -lm, therefore I do not see any issue in the library code. > > Thanks, > Cristian > > >