From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by dpdk.org (Postfix) with ESMTP id 8FA6D532D for ; Tue, 11 Jun 2013 06:59:36 +0200 (CEST) Received: by mail-lb0-f174.google.com with SMTP id x10so4937710lbi.5 for ; Mon, 10 Jun 2013 21:59:45 -0700 (PDT) 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; bh=PYOn+dZduZAW/4QbgIBnQkdWMS2vGVTEd1c6RMHFFGo=; b=lyPinYLpR95csmG2JEPFT/1NZpgDTzIkNhERsrEdZyIROu77uTjUOsEUs7cVkekDG9 /03T/rKhLMx43WA6g/jiOBKmyYDhg0nUEm/u7+0NQ+jolE+mdL/b1EOwzcviYr/6wkKL wokiryHx1eB6OWBsnx41QJgO1+v9RIfMewb0XLY2FagoQT/GQ+h75mSj8FbwlIXtSFcS jjgKIOS0eoHyGae+ADfZ/lg3cHWaKhON6yMFyTldOSwDEaiqxm63083uOdDRelbvk0O4 gntmsnz0qJKZfdvCEBWl4DgYajh9lqkGOQrY1ckH/JL4B9iVHUqnCGiALJF9767YZAv9 XLbA== MIME-Version: 1.0 X-Received: by 10.152.45.65 with SMTP id k1mr6404982lam.78.1370926785127; Mon, 10 Jun 2013 21:59:45 -0700 (PDT) Received: by 10.112.61.69 with HTTP; Mon, 10 Jun 2013 21:59:45 -0700 (PDT) Date: Tue, 11 Jun 2013 12:59:45 +0800 Message-ID: From: Bo Chen To: dev@dpdk.org Content-Type: multipart/alternative; boundary=001a11c1b7ae0a69af04ded9c465 Subject: [dpdk-dev] build failed on dpdk-1.2.3r2 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: Tue, 11 Jun 2013 04:59:37 -0000 --001a11c1b7ae0a69af04ded9c465 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable When I run the make command on dpdk-1.2.3r2, it show me the following, but it works on dpdk-1.2.3r1: =3D=3D Build lib/librte_eal/linuxapp/igb_uio LD /opt/dpdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/igb_uio/built-in.o CC [M] /opt/dpdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o cc1: warnings being treated as errors /opt/dpdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c: In function =91igbuio_pci_probe=92: include/linux/slab.h:349: error: inlining failed in call to =91kzalloc.clone.0=92: --param max-inline-insns-single limit reached /opt/dpdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:267= : error: called from here make[8]: *** [/opt/dpdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o] Error 1 make[7]: *** [_module_/opt/dpdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/igb_uio] Error 2 make[6]: *** [sub-make] Error 2 make[5]: *** [igb_uio.ko] Error 2 make[4]: *** [igb_uio] Error 2 make[3]: *** [linuxapp] Error 2 make[2]: *** [librte_eal] Error 2 make[1]: *** [lib] Error 2 make: *** [all] Error 2 And I noticed there is a warning from gcc: --param max-inline-insns-single limit reached So I changed the file: lib/librte_eal/linuxapp/igb_uio/Makefile from 50 to 100. MODULE_CFLAGS +=3D -I$(SRCDIR) --param max-inline-insns-single=3D100 It works. And the question is: Is there any change on dpdk-1.2.3r2 let the parameter max-inline-insns-single not big enough, or there is something wrong at my env. Thanks & BR Bo --001a11c1b7ae0a69af04ded9c465 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
When I run the make command on dpdk-1.2.3r2, it show me th= e following, but it works on dpdk-1.2.3r1:

=3D=3D Build lib/librte_= eal/linuxapp/igb_uio
=A0 LD =A0 =A0 =A0/opt/dpdk-1.2.3r2/bui= ld/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
=A0 CC [M] =A0/opt/dpdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/ig= b_uio/igb_uio.o
cc1: warnings being treated as errors
/= opt/dpdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c: In = function =91igbuio_pci_probe=92:
include/linux/slab.h:349: error: inlining failed in call to =91kzalloc= .clone.0=92: --param max-inline-insns-single limit reached
/opt/d= pdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.c:267: erro= r: called from here
make[8]: *** [/opt/dpdk-1.2.3r2/build/build/lib/librte_eal/linuxapp/ig= b_uio/igb_uio.o] Error 1
make[7]: *** [_module_/opt/dpdk-1.2.3r2/= build/build/lib/librte_eal/linuxapp/igb_uio] Error 2
make[6]: ***= [sub-make] Error 2
make[5]: *** [igb_uio.ko] Error 2
make[4]: *** [igb_uio] Err= or 2
make[3]: *** [linuxapp] Error 2
make[2]: *** [libr= te_eal] Error 2
make[1]: *** [lib] Error 2
make: *** [a= ll] Error 2

And I noticed there is a warning from gcc: --param max-inlin= e-insns-single limit reached
So I changed the file:=A0lib/librte_= eal/linuxapp/igb_uio/Makefile from 50 to 100.
MODULE_CFLAGS += =3D -I$(SRCDIR) --param max-inline-insns-single=3D100
It works.
And the question is: Is there any change on = dpdk-1.2.3r2 let the=A0parameter max-inline-insns-single not big enough, or= there is something wrong at my env.
=A0
Thanks & B= R
Bo
--001a11c1b7ae0a69af04ded9c465--