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

Every alteration increases size a bit, effect is additive #370

Open
alexey-pelykh opened this issue Mar 25, 2022 · 0 comments
Open

Every alteration increases size a bit, effect is additive #370

alexey-pelykh opened this issue Mar 25, 2022 · 0 comments
Labels

Comments

@alexey-pelykh
Copy link

alexey-pelykh commented Mar 25, 2022

Describe the bug

After altering an SO, it increases in size after every change, the effect is additive.

Steps To Reproduce

# cp libusd_usd.so libusd_usd-test.so ; ls -lA libusd_usd-test.so
-rwxr-xr-x 1 root root 9684968 Mar 25 17:08 libusd_usd-test.so
# patchelf --replace-needed libusd_kind.so libusd_kind-test.so libusd_usd-test.so ; ls -lA libusd_usd-test.so
-rwxr-xr-x 1 root root 11090424 Mar 25 17:08 libusd_usd-test.so
# patchelf --replace-needed libusd_pcp.so libusd_pcp-test.so libusd_usd-test.so ; ls -lA libusd_usd-test.so
-rwxr-xr-x 1 root root 12418920 Mar 25 17:08 libusd_usd-test.so
# patchelf --replace-needed libusd_sdf.so libusd_sdf-test.so libusd_usd-test.so ; ls -lA libusd_usd-test.so
-rwxr-xr-x 1 root root 13746048 Mar 25 17:08 libusd_usd-test.so
# patchelf --replace-needed libusd_ar.so libusd_ar-test.so libusd_usd-test.so ; ls -lA libusd_usd-test.so
-rwxr-xr-x 1 root root 15073168 Mar 25 17:08 libusd_usd-test.so

Expected behavior

Size is not to be affected that much it total and is not increased with every change.

patchelf --version output

patchelf 0.14.5

and

patchelf 0.12

Additional context

libusd_usd.so.zip

PixarAnimationStudios/OpenUSD#1814

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

No branches or pull requests

1 participant