From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 760715938 for ; Wed, 18 Mar 2015 11:51:08 +0100 (CET) Received: by wibdy8 with SMTP id dy8so86584402wib.0 for ; Wed, 18 Mar 2015 03:51:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=thb4hWJSLpDrCDxU8Qed/P1Bv9KI/lYFSQFfUuc0X58=; b=b0VhS3resFUDM1tz/9LbC20XJJFu+uJgxKFx6M7rSada7SBnXd+20OHhLW5qMwgs8W q9JsvtHcrAbW3dZumKUUAWHRotiAvu9GV/2G40FVA4M8Jci2ZMq3mPcrko9TVILcISKF FvGTupl3D95+iynJwiK8+FF1/qeVx4uSEKKMifQX+zi9TnzA47qgaKPtheJYDQhX6iEE w0jw6/YYS0z6qrrzLJCQJVpqiWoN5BUvpsiTlC7yuqejUHoUcsEyNtlltDs+w3iVYP66 YamL5kBjmj1TYi4yTQes3IhxKD7JQIXBcjQ+2uAgS4AZWQgjH6WfLoaMhn3ApCjfWbWd zZpQ== X-Gm-Message-State: ALoCoQmxFpC0SRrZC0fswHV3QvBWCXbgw3ODPyHfRNGIooB8HnkYhlqCiGOeF0CFxIW20wDOruwI X-Received: by 10.180.73.171 with SMTP id m11mr5539374wiv.21.1426675867171; Wed, 18 Mar 2015 03:51:07 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id r3sm23934500wjw.7.2015.03.18.03.51.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Mar 2015 03:51:06 -0700 (PDT) From: Thomas Monjalon To: Yong Liu Date: Wed, 18 Mar 2015 11:50:30 +0100 Message-ID: <9030243.H2PSOagFNB@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1426662641-24781-1-git-send-email-yong.liu@intel.com> References: <1426662641-24781-1-git-send-email-yong.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] fix build warning and failure in Suse11 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: Wed, 18 Mar 2015 10:51:08 -0000 Hi Yong, Thanks for working on these important fixes. 2015-03-18 15:10, Yong Liu: > Suse11 SP3 default gcc version is 4.3.4, some options not support on = this version. I guess some of these errors are not only specific to Suse-11? Maybe that 1 patch per issue would be easier to read and could provide = a more accurate description. > error: implicit declaration of function =E2=80=98_mm_alignr_epi8=E2=80= =99 > solution: include tmmintrin.h when enable SSE3 >=20 > error: unrecognized command line option "-Wno-unused-but-set-variable= " > solution: add version check in fm10k Makefile >=20 > error: enic_main.c:845: error: initialized field overwritten > solution: change struct initialization code >=20 > error: =E2=80=98testfn_pci_cmd=E2=80=99 defined but not used > solution: add __attribute__((unused)) before function definition Please could you explain more the problem? There are other constructors in DPDK which don't need the unused attrib= ute. >=20 > error: unrecognized command line option "-fno-var-tracking-assignment= s" > solution: add version check in app/test/Makefile >=20 > error: implicit declaration of function =E2=80=98pread=E2=80=99 > solution: add _GNU_SOURCE flag when compile eal_pci_uio and eal_inter= rupts >=20 > signed-off-by: Marvin Liu Please use -s git option to have an automatic well formatted Signed-off= . Your previous contributions were signed "Yong Liu". Do you prefer Marvi= n Liu?