Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abi-dumper hangs on a static library #10

Closed
mazimkhan opened this issue Aug 27, 2017 · 3 comments
Closed

abi-dumper hangs on a static library #10

mazimkhan opened this issue Aug 27, 2017 · 3 comments

Comments

@mazimkhan
Copy link

command abi-dumper library/libmbedtls.a -o ABI-0.dump never finishes when run with attached lib.
libmbedtls.zip

@lvc
Copy link
Owner

lvc commented Aug 29, 2017

Hello,

The ABI dumper tool is not intended to dump ABI of static libraries (archives of objects) due to intersected identifiers of DWARF sections. You can only dump ABIs of individual objects:

ar -x libmbedtls.a
abi-dumper x509_csr.o

The ABI Dumper is intended to dump ABI of shared objects:

abi-dumper libmbedtls.so

You can build the shared object by adding -DBUILD_SHARED_LIBS=ON cmake configure option when building mbed TLS.

Thank you.

@lvc lvc changed the title abi-dumper hangs abi-dumper hangs on a static library Aug 29, 2017
@lvc
Copy link
Owner

lvc commented Aug 29, 2017

See also reports for the library in the ABI Tracker project: https://abi-laboratory.pro/tracker/timeline/mbedtls/

@mazimkhan
Copy link
Author

Thanks for clarifying I will test and close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants