public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Nicolas Morey-Chaisemartin
	<NMoreyChaisemartin-l3A5Bk7waGM@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH rdma-core 2/5] buildlib: add script to dump ABI
Date: Wed, 15 Nov 2017 21:38:53 +0200	[thread overview]
Message-ID: <20171115193853.GD18825@mtr-leonro.local> (raw)
In-Reply-To: <9f40619b-bd97-ad6f-494b-c493dd3c3c21-l3A5Bk7waGM@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2053 bytes --]

On Wed, Nov 15, 2017 at 06:52:49PM +0100, Nicolas Morey-Chaisemartin wrote:
>
>
> Le 15/11/2017 à 18:37, Leon Romanovsky a écrit :
> > On Wed, Nov 15, 2017 at 06:22:33PM +0100, Nicolas Morey-Chaisemartin wrote:
> >>
> >> Le 15/11/2017 à 06:56, Leon Romanovsky a écrit :
> >>> On Tue, Nov 14, 2017 at 07:57:55PM +0100, Nicolas Morey-Chaisemartin wrote:
> >>>> Builds rdma-core in -Og/Debug mode and use abi-dumper to generate 1 xml
> >>>>  per .so.*.* file.
> >>>> Do not use .so file directly. Providers have no symbol exported
> >>>>  and cause abi-dumer to exit with an error.
> >>> mlx4/mlx5 do export.
> >>>
> >>> Thanks
> >>
> >> Yes but they also export versiones .so files
> >> $ ll build-abi/lib/libmlx*
> >> lrwxrwxrwx 1 nmorey users     17 Nov 14 19:51 build-abi/lib/libmlx4-rdmav16.so -> libmlx4.so.1.0.16
> >> lrwxrwxrwx 1 nmorey users     12 Nov 14 19:51 build-abi/lib/libmlx4.so -> libmlx4.so.1
> >> lrwxrwxrwx 1 nmorey users     17 Nov 14 19:51 build-abi/lib/libmlx4.so.1 -> libmlx4.so.1.0.16
> >> -rwxr-xr-x 1 nmorey users 276600 Nov 14 19:51 build-abi/lib/libmlx4.so.1.0.16
> >> lrwxrwxrwx 1 nmorey users     17 Nov 14 19:51 build-abi/lib/libmlx5-rdmav16.so -> libmlx5.so.1.2.16
> >> lrwxrwxrwx 1 nmorey users     12 Nov 14 19:51 build-abi/lib/libmlx5.so -> libmlx5.so.1
> >> lrwxrwxrwx 1 nmorey users     17 Nov 14 19:51 build-abi/lib/libmlx5.so.1 -> libmlx5.so.1.2.16
> >> -rwxr-xr-x 1 nmorey users 690712 Nov 14 19:51 build-abi/lib/libmlx5.so.1.2.16
> >>
> >> So the .so are ignored (specially the -rdmav16) but the standalone ones aren't
> > We are supporting static builds too (*.a and not *.so), can the script
> > be extended to check them too?
> >
> > Thanks
>
> Does that changes something ? As long as the specific build-abi build generates the .so, it should be sufficient to check the ABI.
> Wether someone build with static options or not.
> Unless there are other static libs I'm missing.

In static libraries, the functions have different signatures without stanzas.

>
> Nicolas

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-11-15 19:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-14 18:55 [PATCH rdma-core 0/5] ABI consistency check Nicolas Morey-Chaisemartin
     [not found] ` <8306e0d4-3f4f-1d06-74e1-c971fc63f7b8-l3A5Bk7waGM@public.gmane.org>
2017-11-14 18:57   ` [PATCH rdma-core 2/5] buildlib: add script to dump ABI Nicolas Morey-Chaisemartin
     [not found]     ` <8bcdf747-5613-8990-5742-8a9b6e552ac9-PVCUbA2IIkVH1sytvemUSjhD77mM7E+b@public.gmane.org>
2017-11-15  5:56       ` Leon Romanovsky
     [not found]         ` <20171115055632.GR18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-15 17:22           ` Nicolas Morey-Chaisemartin
     [not found]             ` <b36cd702-5d8e-c116-3306-39e1a1b8aaf5-l3A5Bk7waGM@public.gmane.org>
2017-11-15 17:37               ` Leon Romanovsky
     [not found]                 ` <20171115173719.GC18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-15 17:52                   ` Nicolas Morey-Chaisemartin
     [not found]                     ` <9f40619b-bd97-ad6f-494b-c493dd3c3c21-l3A5Bk7waGM@public.gmane.org>
2017-11-15 19:36                       ` Jason Gunthorpe
2017-11-15 19:38                       ` Leon Romanovsky [this message]
2017-11-14 18:58   ` [PATCH rdma-core 3/5] buildlib: add script to check ABI Nicolas Morey-Chaisemartin
2017-11-14 18:58   ` [PATCH rdma-core 4/5] buildlib: run ABI check in travis-build Nicolas Morey-Chaisemartin
     [not found]     ` <866df5d4-2a54-2014-a180-1fd0dc43d0fa-l3A5Bk7waGM@public.gmane.org>
2017-11-15  5:58       ` Leon Romanovsky
     [not found]         ` <20171115055825.GS18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-15 17:24           ` Nicolas Morey-Chaisemartin
     [not found]             ` <a6eadf81-1557-bf9c-c163-61461bc5c271-l3A5Bk7waGM@public.gmane.org>
2017-11-15 17:34               ` Leon Romanovsky
     [not found]                 ` <20171115173453.GB18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-15 17:57                   ` Nicolas Morey-Chaisemartin
2017-11-14 18:58   ` [PATCH rdma-core 5/5] Documentation: update stable doc about ABI reference generation Nicolas Morey-Chaisemartin
     [not found]     ` <4bbfedda-eab7-0320-2a37-e3ecbf1093dc-l3A5Bk7waGM@public.gmane.org>
2017-11-15  5:53       ` Leon Romanovsky
     [not found]         ` <20171115055354.GQ18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-15 17:26           ` Nicolas Morey-Chaisemartin
2017-11-14 18:59   ` [PATCH rdma-core 2/5] buildlib: add script to dump ABI Nicolas Morey-Chaisemartin
2017-11-14 18:59   ` [PATCH rdma-core 3/5] buildlib: add script to check ABI Nicolas Morey-Chaisemartin
2017-11-14 19:40   ` [PATCH rdma-core 0/5] ABI consistency check Nicolas Morey-Chaisemartin

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=20171115193853.GD18825@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=NMoreyChaisemartin-l3A5Bk7waGM@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox