DPDK usage discussions
 help / color / 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
Message-ID: <tencent_8974E102496460BEFF0867E0A2E28882860A@qq.com> (raw)
In-Reply-To: <tencent_337538D3A0C95D4B401B1943EFCBC218B808@qq.com>

[-- Warning: decoded text below may be mangled --]
[-- Attachment #0: 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 index

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 publically 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

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox