From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by dpdk.org (Postfix) with ESMTP id CE9E3312 for ; Mon, 29 Sep 2014 23:44:01 +0200 (CEST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.9/8.14.5) with ESMTP id s8TLoZ6Y000850 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 29 Sep 2014 14:50:35 -0700 (PDT) Received: from ALA-MBB.corp.ad.wrs.com ([169.254.1.18]) by ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0174.001; Mon, 29 Sep 2014 14:50:35 -0700 From: "Wiles, Roger Keith" To: "" Thread-Topic: Building current 1.8.1-rc1 with clang Thread-Index: AQHP3C9laLJio2vXnkG22/btufoEGA== Date: Mon, 29 Sep 2014 21:50:34 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.40.166] Content-Type: text/plain; charset="Windows-1252" Content-ID: <862C76D1AA61194FA251A21467FAC57F@local> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dpdk-dev] Building current 1.8.1-rc1 with clang 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: Mon, 29 Sep 2014 21:44:02 -0000 I just pulled the current repo and stated a build with =91make install T=3D= x86_64-native-linuxapp-clang=92 which produced the following error. I do no= t think I am allowed to modify this file, correct? If that is the case then= someone will have to update the original source. If you want me to submit = a patch I can, but I do not think I fully understand what needs to be done.= =20 >>From what I can tell the line: dma_addr0 =3D _mm_xor_si128(dma_addr0, dma_addr0); needs to be: dma_addr0 =3D _mm_setzero_si128(); =3D=3D Build lib/librte_pmd_ixgbe CC ixgbe_common.o CC ixgbe_82598.o CC ixgbe_82599.o CC ixgbe_x540.o CC ixgbe_phy.o CC ixgbe_api.o CC ixgbe_vf.o CC ixgbe_dcb.o CC ixgbe_dcb_82599.o CC ixgbe_dcb_82598.o CC ixgbe_mbx.o CC ixgbe_rxtx.o CC ixgbe_ethdev.o CC ixgbe_fdir.o CC ixgbe_pf.o CC ixgbe_rxtx_vec.o /home/keithw/projects/dpdk-code/org-dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_ve= c.c:67:30: error: variable 'dma_addr0' is uninitialized when used here [-Werror,-Wuninitialized] dma_addr0 =3D _mm_xor_si128(dma_addr0, dma_addr0); ^~~~~~~~~ /home/keithw/projects/dpdk-code/org-dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_ve= c.c:57:2: note: variable 'dma_addr0' is declared here __m128i dma_addr0, dma_addr1; ^ 1 error generated. make[5]: *** [ixgbe_rxtx_vec.o] Error 1 make[4]: *** [librte_pmd_ixgbe] Error 2 make[3]: *** [lib] Error 2 make[2]: *** [all] Error 2 make[1]: *** [x86_64-native-linuxapp-clang_install] Error 2 make: *** [install] Error 2 Thanks ++Keith Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-= 213-5533