From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) by dpdk.org (Postfix) with ESMTP id 4C2A92A5F for ; Wed, 28 Oct 2015 01:18:47 +0100 (CET) Received: by igdg1 with SMTP id g1so95684943igd.1 for ; Tue, 27 Oct 2015 17:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=bjWCMu6uYA7WRF5KZFoMrF3VIj6RdkJzl3CdA49uRDM=; b=iFC+X2XLLMITstWXHr5g8YdEYjKHAbxjDio6+BgFiuwUF59XtYWELgs6JABptoyPF0 iFSjuWnZ/Be0j0uz9e1+GhSZYw0QsCB6Ilev8KWkJQA8YhiMIPgS+iQHQUISHly+ZCCG FevTXcXlONZT5FaeBHNSWJLL3IUAQsOmHewW2P6zbq03RC5D6F8qo3D9CNGJyKuLLDGZ kJi8yyTQTT/+vBjbP230qRAM3zXINIzIfvajp1oxzmdzJR0LvY4NGQkBOXTcc6eXq5R8 usvsjvKr3UXQdwEFwqt73bp3EqJf3rZcQuiH9JWeS5u2Sdc5IkifbCQMrzqndf/5SJdu lHow== MIME-Version: 1.0 X-Received: by 10.50.60.104 with SMTP id g8mr28966726igr.89.1445991526713; Tue, 27 Oct 2015 17:18:46 -0700 (PDT) Received: by 10.79.24.195 with HTTP; Tue, 27 Oct 2015 17:18:46 -0700 (PDT) In-Reply-To: References: Date: Wed, 28 Oct 2015 05:48:46 +0530 Message-ID: From: Rajaraman Balasubramanian To: Sergey Matov , users@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Fwd: FW: DPDK Compilation Error X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2015 00:18:47 -0000 Hi Sergey, Thanks for your reply. In my small lab, I don't have SSE3 based CPU. I have only SSE2 based CPU. I just want to know whether it is mentioned somewhere in the dpdk website for 32 bit machines ?? Also, how can i do it in SSE2 based CPU ?? Thanks, Rajaram. On Mon, Oct 26, 2015 at 7:16 PM, Sergey Matov wrote: > >> Hello. >> >> Try to build on platform supported *Streaming SIMD Extensions 3 (sse3)* >> see >> #egrep 'sse' /proc/cpuinfo >> to make sure your CPU support this instructions >> >> 2015-10-26 16:03 GMT+03:00 Rajaraman Balasubramanian < >> rajaramanb20@gmail.com>: >> >>> Hi, >>> >>> I am getting following compile time error. Herewith attaching >>> build.log >>> file for your debugging. >>> >>> >>> /home/rajabala/ipaugenblick/ipaugenblick-master/dpdk-2.1.0/i686-native-= linuxapp-gcc/include/rte_memcpy.h:625:2: >>> error: incompatible type for argument 2 of =E2=80=98_mm_storeu_si128=E2= =80=99 >>> MOVEUNALIGNED_LEFT47(dst, src, n, srcofs); >>> >>> dpdk-2.1.0/lib/librte_eal/linuxapp/eal/eal_pci.c:39: >>> /usr/lib/gcc/i686-linux-gnu/4.8/include/emmintrin.h:700:1: note: expect= ed >>> =E2=80=98__m128i=E2=80=99 but argument is of type =E2=80=98int=E2=80=99 >>> _mm_storeu_si128 (__m128i *__P, __m128i __B) >>> >>> I have following configuration details. >>> >>> GCC - 4.8.2 >>> GLIBC - 2.19 >>> TARGET- i686-native-linuxapp-gcc >>> >>> rajabala@rajabala-desktop:/usr$ cat /proc/cpuinfo >>> processor : 0 >>> vendor_id : GenuineIntel >>> cpu family : 15 >>> model : 2 >>> model name : Intel(R) Pentium(R) 4 CPU 2.00GHz >>> stepping : 4 >>> microcode : 0x1e >>> cpu MHz : 2000.227 >>> cache size : 512 KB >>> physical id : 0 >>> siblings : 1 >>> core id : 0 >>> cpu cores : 1 >>> apicid : 0 >>> initial apicid : 0 >>> fdiv_bug : no >>> f00f_bug : no >>> coma_bug : no >>> fpu : yes >>> fpu_exception : yes >>> cpuid level : 2 >>> wp : yes >>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca >>> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pebs bts >>> bogomips : 4000.45 >>> clflush size : 64 >>> cache_alignment : 128 >>> address sizes : 36 bits physical, 32 bits virtual >>> power management: >>> >>> rajabala@rajabala-desktop:/usr$ >>> >>> >>> rajabala@rajabala-desktop:/usr$ cat /proc/meminfo >>> MemTotal: 2963304 kB >>> MemFree: 1501568 kB >>> Buffers: 211472 kB >>> Cached: 668608 kB >>> SwapCached: 0 kB >>> Active: 687632 kB >>> Inactive: 689756 kB >>> Active(anon): 498104 kB >>> Inactive(anon): 143004 kB >>> Active(file): 189528 kB >>> Inactive(file): 546752 kB >>> Unevictable: 32 kB >>> Mlocked: 32 kB >>> HighTotal: 2224072 kB >>> HighFree: 1257848 kB >>> LowTotal: 739232 kB >>> LowFree: 243720 kB >>> SwapTotal: 2086904 kB >>> SwapFree: 2086904 kB >>> Dirty: 96 kB >>> Writeback: 0 kB >>> AnonPages: 497336 kB >>> Mapped: 118800 kB >>> Shmem: 143804 kB >>> Slab: 55168 kB >>> SReclaimable: 41316 kB >>> SUnreclaim: 13852 kB >>> KernelStack: 3440 kB >>> PageTables: 7400 kB >>> NFS_Unstable: 0 kB >>> Bounce: 0 kB >>> WritebackTmp: 0 kB >>> CommitLimit: 3568556 kB >>> Committed_AS: 3128368 kB >>> VmallocTotal: 122880 kB >>> VmallocUsed: 9404 kB >>> VmallocChunk: 110416 kB >>> HardwareCorrupted: 0 kB >>> AnonHugePages: 157696 kB >>> HugePages_Total: 0 >>> HugePages_Free: 0 >>> HugePages_Rsvd: 0 >>> HugePages_Surp: 0 >>> Hugepagesize: 2048 kB >>> DirectMap4k: 18424 kB >>> DirectMap2M: 894976 kB >>> rajabala@rajabala-desktop:/usr$ >>> >>> >>> rajabala@rajabala-desktop:/usr$ gcc -dM -E -march=3Dnative - < /dev/nul= l | >>> grep SSE >>> #define __SSE2__ 1 >>> #define __SSE__ 1 >>> rajabala@rajabala-desktop:/usr$ >>> >>> >>> rajabala@rajabala-desktop:/usr$ gcc -dM -E -march=3Dnative - < /dev/nul= l | >>> grep GNU >>> #define __GNUC_PATCHLEVEL__ 2 >>> #define __GNUC__ 4 >>> #define __GNUC_MINOR__ 8 >>> #define __GNUC_GNU_INLINE__ 1 >>> rajabala@rajabala-desktop:/usr$ >>> >>> >>> rajabala@rajabala-desktop:/usr$ uname -a >>> Linux rajabala-desktop 3.13.0-53-generic #89-Ubuntu SMP Wed May 20 >>> 10:34:28 >>> UTC 2015 i686 i686 i686 GNU/Linux >>> rajabala@rajabala-desktop:/usr$ >>> >>> >>> rajabala@rajabala-desktop:/usr$ gcc -dM -E -march=3Dnative - < /dev/nul= l | >>> grep linux >>> #define __linux 1 >>> #define __linux__ 1 >>> #define __gnu_linux__ 1 >>> #define linux 1 >>> rajabala@rajabala-desktop:/usr$ >>> >>> rajabala@rajabala-desktop:/usr$ swapon -s >>> Filename Type Size Used Priority >>> /dev/sda5 partition 1038332 0 -1 >>> /swapfile1 file 1048572 0 -2 >>> rajabala@rajabala-desktop:/usr$ >>> rajabala@rajabala-desktop:/usr$ >>> rajabala@rajabala-desktop:/usr$ free -m >>> total used free shared buffers cach= ed >>> Mem: 2893 1436 1457 138 206 6= 51 >>> -/+ buffers/cache: 578 2315 >>> Swap: 2037 0 2037 >>> rajabala@rajabala-desktop:/usr$ >>> >>> >>> if you need more info, please ping me so that I can send you quickly. I >>> tried mutiple ways to resolve this issue, but i could not resolve it. >>> >>> Please tell me how to resolve this issue. >>> >>> Thanks, >>> Rajaram. >>> >>