From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 22104DE5 for ; Mon, 3 Apr 2017 11:12:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491210741; x=1522746741; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=hkkB+Y2cYi2VXcHiNG8l11a8KFWAo3Vr/FOW2d9Ho8o=; b=dHgBSuYzKBl8OrBvFy/GMpRKYv+OfRybjP135SuIpwJZh6bI/f+JT6qn eB0xscgqh9z4ABrwYtlKa7Z5Ky82MA==; Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2017 02:12:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,269,1486454400"; d="scan'208";a="1114795279" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga001.jf.intel.com with ESMTP; 03 Apr 2017 02:12:17 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.153]) by irsmsx105.ger.corp.intel.com ([169.254.7.163]) with mapi id 14.03.0319.002; Mon, 3 Apr 2017 10:08:58 +0100 From: "Van Haaren, Harry" To: Jerin Jacob CC: "dev@dpdk.org" , "Richardson, Bruce" , "Hunt, David" Thread-Topic: [PATCH v7 17/22] test/eventdev: add SW tests for load balancing Thread-Index: AQHSqYxCPNAvDIdbfU29xIY0OW3CyaGyHtgAgAE/seA= Date: Mon, 3 Apr 2017 09:08:58 +0000 Message-ID: References: <1490829963-106807-1-git-send-email-harry.van.haaren@intel.com> <1490902250-32164-1-git-send-email-harry.van.haaren@intel.com> <1490902250-32164-18-git-send-email-harry.van.haaren@intel.com> <20170402145646.c54niqeptw6lclnc@localhost.localdomain> In-Reply-To: <20170402145646.c54niqeptw6lclnc@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWNlZTgyMTEtNjcwOC00MjhhLWEyZmUtMDI2MTE5NjgyNzlhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlIxY1AraGdMeVVMY2tYTjdUWjFENGoxNlwvUWQ4aHdURTEwVGc5a1Y5c1dRPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v7 17/22] test/eventdev: add SW tests for load balancing 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: Mon, 03 Apr 2017 09:12:21 -0000 > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Sunday, April 2, 2017 3:57 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org; Richardson, Bruce ; Hunt, D= avid > > Subject: Re: [PATCH v7 17/22] test/eventdev: add SW tests for load balanc= ing >=20 > On Thu, Mar 30, 2017 at 08:30:45PM +0100, Harry van Haaren wrote: > > This commit adds various tests for load-balancing and > > queue prioritization. > > > > Signed-off-by: Bruce Richardson > > Signed-off-by: David Hunt > > Signed-off-by: Harry van Haaren > > > > Acked-by: Anatoly Burakov >=20 >=20 > Hi Harry, >=20 > I got following build error on FreeBSD + gcc 4.9.4 combo. >=20 > $ gcc -v > Using built-in specs. > COLLECT_GCC=3Dgcc > COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc49/gcc/x86_64-portbld-freebsd= 10.3/4.9.4/lto-wrapper > Target: x86_64-portbld-freebsd10.3 > Configured with: /wrkdirs/usr/ports/lang/gcc/work/gcc-4.9.4/configure > --disable-bootstrap --disable-nls --enable-gnu-indirect-function > --libdir=3D/usr/local/lib/gcc49 --libexecdir=3D/usr/local/libexec/gcc49 > --program-suffix=3D49 --with-as=3D/usr/local/bin/as --with-gmp=3D/usr/loc= al > --with-gxx-include-dir=3D/usr/local/lib/gcc49/include/c++/ > --with-ld=3D/usr/local/bin/ld --with-pkgversion=3D'FreeBSD Ports Collecti= on' > --with-system-zlib --with-ecj-jar=3D/usr/local/share/java/ecj-4.5.jar > --enable-languages=3Dc,c++,objc,fortran,java --prefix=3D/usr/local > --localstatedir=3D/var --mandir=3D/usr/local/man > --infodir=3D/usr/local/info/gcc49 --build=3Dx86_64-portbld-freebsd10.3 > Thread model: posix > gcc version 4.9.4 (FreeBSD Ports Collection) > $ >=20 > I think it is nothing do with FreeBSD. Looks like gcc < 5 will hit this > issue. But the strange part is patchwork test report shows as compilation= success. >=20 > http://dpdk.org/ml/archives/test-report/2017-April/017005.html Can't reproduce with linux and gcc 4.8.5 here, > If you don't have any better fix, I can apply the following on pull > request. If you have something better send it as patch. >=20 > $ git diff > diff --git a/test/test/Makefile b/test/test/Makefile > index ac802e1d..104532d 100644 > --- a/test/test/Makefile > +++ b/test/test/Makefile > @@ -218,6 +218,11 @@ ifeq ($(shell test $(GCC_VERSION) -ge 44 && echo > 1), 1) > CFLAGS_test_memcpy.o +=3D -fno-var-tracking-assignments > CFLAGS_test_memcpy_perf.o +=3D -fno-var-tracking-assignments > endif > +# for older GCC versions, allow us to initialize an event using > +# designated initializers. > +ifeq ($(shell test $(GCC_VERSION) -le 50 && echo 1), 1) > +CFLAGS_test_eventdev_sw.o +=3D -Wno-missing-field-initializers > +endif > endif Thanks for investigating fix for this Jerin, please apply above yes; Acked-by: Harry van Haaren