DPDK patches and discussions
 help / color / mirror / Atom feed
From: Hemant Agrawal <hemant.agrawal@nxp.com>
To: Bruce Richardson <bruce.richardson@intel.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] build: clean up building kernel modules using meson
Date: Thu, 22 Feb 2018 23:34:29 +0530	[thread overview]
Message-ID: <df898fbd-3e86-d564-37ef-0fdb44d3864b@nxp.com> (raw)
In-Reply-To: <20180222173817.31872-1-bruce.richardson@intel.com>

On 2/22/2018 11:08 PM, Bruce Richardson wrote:
> The meson.build files for building the kernel modules directory could
> be improved now that it is extracted from the EAL. For example, no
> global processing is necessary inside the kernel folder, just need to
> subdir to the appropriate bsd or linux folder to do the actual work.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> NOTE: this patch depends upon patch #35336, to move kernel modules to
>    a top-level "kernel" folder.

Tested-by: Hemant Agrawal <hemant.agrawal@nxp.com>

Build was fine, but observed one error print.

b10814@freebsd:~/dpdk/build % ninja
[333/654] Generating contigmem with a custom command.
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
cc -O2 -pipe  -include rte_config.h -fno-strict-aliasing -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/home/b10814/dpdk/build 
-I/usr/home/b10814/dpdk/config -I. -I@ -I@/contrib/altq -fno-common 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx 
-mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector 
-std=iso9899:1999 -Qunused-arguments  -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality 
-Wno-error-unused-function    -c 
/usr/home/b10814/dpdk/kernel/freebsd/contigmem/contigmem.c -o contigmem.o
ld  -d -warn-common -r -d -o contigmem.ko contigmem.o
:> export_syms
awk -f /sys/conf/kmod_syms.awk contigmem.ko  export_syms | xargs -J% 
objcopy % contigmem.ko
objcopy --strip-debug contigmem.ko
[334/654] Generating nic_uio with a custom command.
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h

 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
mv: rename bus_if.h.tmp to bus_if.h: No such file or directory
makeobjops.awk: mv -f bus_if.h.tmp bus_if.h failed (1)
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

cc -O2 -pipe  -include rte_config.h -fno-strict-aliasing -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/home/b10814/dpdk/build 
-I/usr/home/b10814/dpdk/config -I. -I@ -I@/contrib/altq -fno-common 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx 
-mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector 
-std=iso9899:1999 -Qunused-arguments  -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality 
-Wno-error-unused-function    -c 
/usr/home/b10814/dpdk/kernel/freebsd/nic_uio/nic_uio.c -o nic_uio.o
ld  -d -warn-common -r -d -o nic_uio.ko nic_uio.o
:> export_syms
awk -f /sys/conf/kmod_syms.awk nic_uio.ko  export_syms | xargs -J% 
objcopy % nic_uio.ko
objcopy --strip-debug nic_uio.ko
[654/654] Linking target app/test-eventdev/dpdk-test-eventdev.


<snip>...

  reply	other threads:[~2018-02-22 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 17:38 Bruce Richardson
2018-02-22 18:04 ` Hemant Agrawal [this message]
     [not found] ` <20180404155332.87143-1-bruce.richardson@intel.com>
2018-04-04 15:57   ` [dpdk-dev] [PATCH v2] " Bruce Richardson
2018-04-04 16:47     ` Hemant Agrawal
2018-04-04 18:27       ` Bruce Richardson
2018-04-04 16:04 ` Bruce Richardson
2018-04-04 20:00   ` Bruce Richardson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=df898fbd-3e86-d564-37ef-0fdb44d3864b@nxp.com \
    --to=hemant.agrawal@nxp.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).