All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Hiroshi Shimamoto <h-shimamoto-ehU+Cx/zZe18UrSeD/g0lQ@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org,
	Hayato Momma <h-momma-JhyGz2TFV9J8UrSeD/g0lQ@public.gmane.org>
Subject: Re: [PATCH] mk: fix link to combined library
Date: Wed, 17 Dec 2014 00:45:32 +0100	[thread overview]
Message-ID: <4299912.gJckj7WjkF@xps13> (raw)
In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD05DD6DFE-ZmjkEB1lVlLt6d3pZDjeaEtBU8KWyXPq@public.gmane.org>

2014-12-11 02:54, Hiroshi Shimamoto:
> From: Hiroshi Shimamoto <h-shimamoto-ehU+Cx/zZe18UrSeD/g0lQ@public.gmane.org>
> 
> The application should be linked to the single combined library in the
> condition that both of CONFIG_RTE_BUILD_COMBINE_LIB and
> CONFIG_RTE_BUILD_SHARED_LIB are enabled.
> 
> The current makefile generates an application that links to each library.
> This patch fixes to link the single library.
> 
> Before
> $ ldd x86_64-ivshmem-linuxapp-gcc/app/test
> 	linux-vdso.so.1 =>  (0x00007fff232a1000)
> 	librte_distributor.so => not found
> 	librte_kni.so => not found
> 	librte_ivshmem.so => not found
> 	librte_pipeline.so => not found
> 	librte_table.so => not found
> 	librte_port.so => not found
> 	librte_timer.so => not found
> 	librte_hash.so => not found
> 	librte_lpm.so => not found
> 	librte_power.so => not found
> 	librte_acl.so => not found
> 	librte_meter.so => not found
> 	librte_sched.so => not found
> 	libm.so.6 => /lib64/libm.so.6 (0x00007fc638020000)
> 	librt.so.1 => /lib64/librt.so.1 (0x00007fc637e18000)
> 	librte_kvargs.so => not found
> 	librte_mbuf.so => not found
> 	librte_ip_frag.so => not found
> 	libethdev.so => not found
> 	librte_malloc.so => not found
> 	librte_mempool.so => not found
> 	librte_ring.so => not found
> 	librte_eal.so => not found
> 	librte_cmdline.so => not found
> 	librte_cfgfile.so => not found
> 	librte_pmd_bond.so => not found
> 	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fc637bfe000)
> 	libdl.so.2 => /lib64/libdl.so.2 (0x00007fc6379fa000)
> 	libintel_dpdk.so => not found
> 	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc6377dd000)
> 	libc.so.6 => /lib64/libc.so.6 (0x00007fc63741c000)
> 	/lib64/ld-linux-x86-64.so.2 (0x00007fc638330000)
> 
> After
> $ ldd x86_64-ivshmem-linuxapp-gcc/app/test
> 	linux-vdso.so.1 =>  (0x00007fffb79fe000)
> 	librt.so.1 => /lib64/librt.so.1 (0x00007f0d8a971000)
> 	libm.so.6 => /lib64/libm.so.6 (0x00007f0d8a66f000)
> 	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f0d8a458000)
> 	libdl.so.2 => /lib64/libdl.so.2 (0x00007f0d8a254000)
> 	libintel_dpdk.so => not found
> 	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0d8a037000)
> 	libc.so.6 => /lib64/libc.so.6 (0x00007f0d89c76000)
> 	/lib64/ld-linux-x86-64.so.2 (0x00007f0d8ab82000)
> 
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto-ehU+Cx/zZe18UrSeD/g0lQ@public.gmane.org>
> Reviewed-by: Hayato Momma <h-momma-JhyGz2TFV9J8UrSeD/g0lQ@public.gmane.org>

It is what I suggested to Sergio:
	http://dpdk.org/ml/archives/dev/2014-December/009116.html

Acked-by: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>

Applied

Thanks
-- 
Thomas

  parent reply	other threads:[~2014-12-16 23:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11  2:54 [PATCH] mk: fix link to combined library Hiroshi Shimamoto
     [not found] ` <7F861DC0615E0C47A872E6F3C5FCDDBD05DD6DFE-ZmjkEB1lVlLt6d3pZDjeaEtBU8KWyXPq@public.gmane.org>
2014-12-16 23:45   ` Thomas Monjalon [this message]
2014-12-17 10:38     ` Bruce Richardson
2014-12-17 10:43       ` Bruce Richardson
2014-12-17 10:43       ` Thomas Monjalon
2014-12-17 10:46         ` Bruce Richardson
2014-12-17 11:07           ` Hiroshi Shimamoto

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=4299912.gJckj7WjkF@xps13 \
    --to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=h-momma-JhyGz2TFV9J8UrSeD/g0lQ@public.gmane.org \
    --cc=h-shimamoto-ehU+Cx/zZe18UrSeD/g0lQ@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.