From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id D9F6B8D9D for ; Wed, 28 Oct 2015 08:05:28 +0100 (CET) Received: by wmff134 with SMTP id f134so4425893wmf.0 for ; Wed, 28 Oct 2015 00:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mirantis.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=27Vi2NMeNdVIbrjKebTaLOIRodzVgNLEtqXJt5zVXSM=; b=aCGRog6PY1c/EQsHkpsNz19kr+0lu1c892MUIaX2blkMLSzKdAVcvf5BecrcyCTFMA fUNwiQRY2fdWOruWQk5YQekoNiQdhtOhxuiTlIZ8YYrUv7EhkAnPwO/gyVDxczIwxDji 89rvhJ8bytroFc/48UuqibRfmUj72vyB6u+4A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=27Vi2NMeNdVIbrjKebTaLOIRodzVgNLEtqXJt5zVXSM=; b=f4TBjBcgg/T8fDRHxt468Hk0isiJhoCfnmVfWZh118EqeUKuQ0M9JefiS8qka+/A5G sprwuYy/m+/W33sW3XB7N9piSL7fWtn3ev9BpYMAM+bewUE8mn2jHhRX1O3h8SWyboMe L4jD+Y3TdBby/yi0wztqZVnR6H1Bn7Af8eT+M+SPX6Zrd84cL0GJiAR1jKTSfwJstuO+ yAXsSYRLjitCzYCo0BVL0ZxAGy3BUVUF+YFBGxev/KU6CG4ibHMa1yXTxAyn8/zO78Ri ACz1WOcw9CVUYRLuM8baVyKRqadrnUhQVxElYIWQvcXEk3XJRBsr4XJ91i5dZ6UvGZLy N1Vg== X-Gm-Message-State: ALoCoQnlQc9Vcrlfdkw0OX1syTAMXDlg+mGCUTJNkfydlUj5KJJOKrsR2X7LFmaaGc/acri3adGx MIME-Version: 1.0 X-Received: by 10.28.178.210 with SMTP id b201mr625464wmf.78.1446015928669; Wed, 28 Oct 2015 00:05:28 -0700 (PDT) Received: by 10.28.129.138 with HTTP; Wed, 28 Oct 2015 00:05:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 28 Oct 2015 10:05:28 +0300 Message-ID: From: Sergey Matov To: Rajaraman Balasubramanian Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: users@dpdk.org 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 07:05:29 -0000 Hello Rajaraman. Currently I've no experience running DPDK on 32 bit machines. However all recommendation I could give to you is to check out related problems, such as http://dpdk.org/ml/archives/dev/2014-August/004695.html AFAIC it seems that using sse version 3 is kind of hard requirement for configuration you want to compile. 2015-10-28 3:18 GMT+03:00 Rajaraman Balasubramanian : > 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: >>>> expected >>>> =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 mc= a >>>> 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/nu= ll >>>> | >>>> grep SSE >>>> #define __SSE2__ 1 >>>> #define __SSE__ 1 >>>> rajabala@rajabala-desktop:/usr$ >>>> >>>> >>>> rajabala@rajabala-desktop:/usr$ gcc -dM -E -march=3Dnative - < /dev/nu= ll >>>> | >>>> 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/nu= ll >>>> | >>>> 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 >>>> cached >>>> Mem: 2893 1436 1457 138 206 >>>> 651 >>>> -/+ 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. >>>> >>> --=20 *Best Regards* *Sergey Matov* *Mirantis Inc*