From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-x244.google.com (mail-ee0-x244.google.com [IPv6:2a00:1450:4013:c00::244]) by dpdk.org (Postfix) with ESMTP id ECB1A6A68 for ; Thu, 27 Feb 2014 15:07:23 +0100 (CET) Received: by mail-ee0-f68.google.com with SMTP id t10so823348eei.3 for ; Thu, 27 Feb 2014 06:08:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=FUFrjIkHf8SZrtg66lRUITbocEjnSg9KgMA31LM6F9A=; b=nzvSPrRRWHeKWIs0Xiw5NbsLHkrlXYveI3kpvNpsZjOrq06/KpbhPVQppqsIb3RSTf 2C5rPAAO/N0bCutoj26fC/JV6cqFGVcc3sArpfzHQn5jmhmvPaA/UW6VZ4JnaDWzK9Cc rv5bZG3xoCcEiZbPUt0fUItvyk9qNGWF7o+t2gOCVmX8KqZmiz9FH4ZfYsJ3uUvTAx1m MUPMUCdyC6xNzH18W7qGOVcWE4xCaETYszUQoM6RjSRjiT7dy9QaBF00tAitwtAP5VDD Iakwj8Suw9CWMu6mt97aa1h7WW7skXhdAMdnx88E1rhx3+DNVs5eQJfn2r569KP0Wx31 uoNg== MIME-Version: 1.0 X-Received: by 10.14.246.196 with SMTP id q44mr3576526eer.45.1393510130132; Thu, 27 Feb 2014 06:08:50 -0800 (PST) Received: by 10.14.147.5 with HTTP; Thu, 27 Feb 2014 06:08:50 -0800 (PST) Date: Thu, 27 Feb 2014 15:08:50 +0100 Message-ID: From: Mats Liljegren To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] Error building using 1.6.0r1 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: Thu, 27 Feb 2014 14:07:24 -0000 I run a 64-bit host building for 32-bit DPDK, which fails with: dpdk/i686-default-linuxapp-gcc$ make =3D=3D Build scripts =3D=3D Build scripts/testhost =3D=3D Build lib =3D=3D Build lib/librte_eal =3D=3D Build lib/librte_eal/common =3D=3D Build lib/librte_eal/linuxapp =3D=3D Build lib/librte_eal/linuxapp/igb_uio Building modules, stage 2. MODPOST 1 modules =3D=3D Build lib/librte_eal/linuxapp/eal CC eal.o In file included from /home/lwrt/build/dpdk/lib/librte_eal/linuxapp/eal/eal.c:55:0: /home/lwrt/build/dpdk/lib/librte_eal/linuxapp/eal/eal.c: In function =E2=80=98eal_parse_base_virtaddr=E2=80=99: /home/lwrt/build/dpdk/i686-default-linuxapp-gcc/include/rte_common.h:133:22= : error: cast from pointer to integer of different size [-Werror=3Dpointer-to-int-cast] RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) ^ /home/lwrt/build/dpdk/i686-default-linuxapp-gcc/include/rte_common.h:115:10= : note: in definition of macro =E2=80=98RTE_PTR_ALIGN_FLOOR=E2=80=99 (typeof(ptr))rte_align_floor_int((uintptr_t)ptr, align) ^ /home/lwrt/build/dpdk/lib/librte_eal/linuxapp/eal/eal.c:566:9: note: in expansion of macro =E2=80=98RTE_PTR_ALIGN_CEIL=E2=80=99 addr =3D RTE_PTR_ALIGN_CEIL(addr, RTE_PGSIZE_2M); ^ /home/lwrt/build/dpdk/i686-default-linuxapp-gcc/include/rte_common.h:133:22= : error: cast from pointer to integer of different size [-Werror=3Dpointer-to-int-cast] RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align) ^ /home/lwrt/build/dpdk/i686-default-linuxapp-gcc/include/rte_common.h:115:46= : note: in definition of macro =E2=80=98RTE_PTR_ALIGN_FLOOR=E2=80=99 (typeof(ptr))rte_align_floor_int((uintptr_t)ptr, align) ^ /home/lwrt/build/dpdk/lib/librte_eal/linuxapp/eal/eal.c:566:9: note: in expansion of macro =E2=80=98RTE_PTR_ALIGN_CEIL=E2=80=99 addr =3D RTE_PTR_ALIGN_CEIL(addr, RTE_PGSIZE_2M); ^ cc1: all warnings being treated as errors make[6]: *** [eal.o] Error 1 make[5]: *** [eal] Error 2 make[4]: *** [linuxapp] Error 2 make[3]: *** [librte_eal] Error 2 make[2]: *** [lib] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 Is this a known problem? Best regards Mats Liljegren