patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Abdelfattah Chehab <abdelfattah.chehab-ext@ekinops.com>
To: David Marchand <david.marchand@redhat.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [PATCH] vmbus: get current rte_vmbus_bus struct
Date: Thu, 14 Apr 2022 09:58:26 +0000
Message-ID: <PR1P264MB2030036FA9BE5E9BDDB56E4CDFEF9@PR1P264MB2030.FRAP264.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CAJFAV8ydwVRUqoryk=ZUPr2q7iYd9ZY9Dqfgz=miv7KK7H-Y0w@mail.gmail.com>

The global variable is not accessible from libdpdk.so
I don't really see how the linker can find it in this case.

-----Original Message-----
From: David Marchand <david.marchand@redhat.com> 
Sent: 13 April 2022 10:11
To: Abdelfattah Chehab <abdelfattah.chehab-ext@ekinops.com>
Cc: dev@dpdk.org; stable@dpdk.org
Subject: Re: [PATCH] vmbus: get current rte_vmbus_bus struct

On Wed, Apr 13, 2022 at 9:32 AM Abdelfattah Chehab <abdelfattah.chehab-ext@ekinops.com> wrote:
>
> Hi All,
>
> FOREACH_DEVICE_ON_VMBUS needs rte_vmbus_bus to work on
>
> If static link to libdpdk.a : no issues
>
> If dynamic link to *.so: linker issue, global variable not found.

Not sure I really get your usecase, but this probably is a linking issue on your side.


--
David Marchand


  reply	other threads:[~2022-04-19  9:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 14:54 Abdelfattah Chehab
2022-04-13  8:10 ` David Marchand
2022-04-14  9:58   ` Abdelfattah Chehab [this message]
2022-07-09  7:54     ` David Marchand

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=PR1P264MB2030036FA9BE5E9BDDB56E4CDFEF9@PR1P264MB2030.FRAP264.PROD.OUTLOOK.COM \
    --to=abdelfattah.chehab-ext@ekinops.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=stable@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

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/stable/0 stable/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 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


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