DPDK usage discussions
 help / color / mirror / Atom feed
From: =?gb18030?B?SHViYmxlX1podQ==?= <403975152@qq.com>
To: =?gb18030?B?dXNlcnM=?= <users@dpdk.org>
Subject: [dpdk-users] =?gb18030?q?How_to_compile_librte=5Feal_using_static_link_of_libc=A3=BF?=
Date: Wed, 24 Jun 2020 15:39:39 +0800	[thread overview]
Message-ID: <tencent_8974E102496460BEFF0867E0A2E28882860A@qq.com> (raw)
In-Reply-To: <tencent_337538D3A0C95D4B401B1943EFCBC218B808@qq.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 558 bytes --]

Hi£¬all
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;I want to compile librte_eal with static link of libc.a.
&nbsp; &nbsp; &nbsp;I have tried to add&nbsp;
&nbsp; &nbsp; &nbsp;LDLIBS += -Wl,-Bstatic -lc -Wl,-Bdynamic&nbsp; &nbsp; &nbsp;in dpdk-19.11/lib/librte_eal/linux/eal/Makefile


&nbsp; &nbsp; &nbsp;compile ok, but my program meet SIGSEGV when start.
&nbsp; &nbsp; &nbsp;core dump at getauxval()...


&nbsp; &nbsp; &nbsp;So i wanna ask how to make compile with static link of libc work.
&nbsp; &nbsp; &nbsp;Any help will be highly appreciated.

      parent reply	other threads:[~2020-06-24  7:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_EC870C8A7707616BDC619C2C50A62E382007@qq.com>
2020-04-03  1:12 ` [dpdk-users] Does dpdk support a process start as primary & secondary both ? Or is this on a roadmap? 403975152
2020-04-03 13:31   ` Cliff Burdick
2020-06-24  7:39   `  =?gb18030?B?SHViYmxlX1podQ==?= [this message]

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=tencent_8974E102496460BEFF0867E0A2E28882860A@qq.com \
    --to=403975152@qq.com \
    --cc=users@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).