DPDK patches and discussions
 help / color / mirror / Atom feed
From: Michael Lekar <MichaelLe@Radware.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: RE: dpdk-22.07
Date: Wed, 24 Aug 2022 08:32:34 +0000	[thread overview]
Message-ID: <DU2PR01MB8328F7A585E40569C00B9241AD739@DU2PR01MB8328.eurprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <YwXcF7B3tOVV/eWo@bricha3-MOBL.ger.corp.intel.com>

Thanks a lot for your answer. We need fully statically application, because we want to run it on device with older kernel, than building one.

Regards,
Michael

-----Original Message-----
From: Bruce Richardson <bruce.richardson@intel.com> 
Sent: Wednesday, August 24, 2022 11:07 AM
To: Michael Lekar <MichaelLe@Radware.com>
Cc: dev@dpdk.org
Subject: Re: dpdk-22.07

On Mon, Aug 22, 2022 at 03:02:38PM +0000, Michael Lekar wrote:
>    Hi All,
> 
> 
>    My name is Michaele and I work in Radware Ltd . Currently we use
>    17.11.3 version of dpdk in our product.  Now we want to evaluate 22.07
>    version of dpdk.  We want to build statically linkage dpdk-test
>    application and run it on our device. We use 7.5 version of gcc. By
>    default, dpdk-test uses shared library, and we don’t find how to
>    configure meson for build these test application static. We will be
>    very applicate for any help with issue.
> 
> 
> 
>    [ulp-ng]# ldd dpdk-test
> 
>    ./dpdk-test: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not
>    found (required by ./dpdk-test)
> 
>    ./dpdk-test: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not
>    found (required by ./dpdk-test)
> 
>    ./dpdk-test: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not
>    found (required by ./dpdk-test)
> 
>    ./dpdk-test: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not
>    found (required by ./dpdk-test)
> 
>            linux-vdso.so.1 =>  (0x00007ffff7ffd000)
> 
>            libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
>    (0x00007ffff7cfd000)
> 
>            libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2
>    (0x00007ffff7af9000)
> 
>            libnuma.so.1 => /usr/lib/libnuma.so.1 (0x00007ffff78ed000)
> 
>            libpcap.so.1 => /usr/lib/libpcap.so.1 (0x00007ffff76ac000)
> 
>            libatomic.so.1 => /usr/lib/libatomic.so.1 
> (0x00007ffff74a4000)
> 
>            libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
>    (0x00007ffff7286000)
> 
>            libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
>    (0x00007ffff6ec9000)
> 
>            /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
> 
>    [ulp-ng]#
> 

This is not something we have ever looked to do with DPDK builds. Normally, we consider static builds to be builds where we link in all the DPDK libraries statically, but don't consider OS-libs for static linking. Is there a particular reason why you need a fully-static version of the code - can you compile and run on the same system, or build on a system with the same OS version as you intend running the code on?

/Bruce

  reply	other threads:[~2022-08-24  9:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 15:02 dpdk-22.07 Michael Lekar
2022-08-24  8:06 ` dpdk-22.07 Bruce Richardson
2022-08-24  8:32   ` Michael Lekar [this message]
2022-08-24  8:45     ` dpdk-22.07 Bruce Richardson
2022-08-24  8:59       ` dpdk-22.07 Michael Lekar
2022-08-24 14:28 ` dpdk-22.07 Stephen Hemminger
2022-08-25  8:50   ` dpdk-22.07 Michael Lekar

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=DU2PR01MB8328F7A585E40569C00B9241AD739@DU2PR01MB8328.eurprd01.prod.exchangelabs.com \
    --to=michaelle@radware.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).