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

FAIL: shared-rpath.sh #563

Open
zhangm365 opened this issue Jul 30, 2024 · 0 comments
Open

FAIL: shared-rpath.sh #563

zhangm365 opened this issue Jul 30, 2024 · 0 comments
Labels

Comments

@zhangm365
Copy link

zhangm365 commented Jul 30, 2024

Describe the bug

I build the master source code in centos7, and run make check, it occurs the error: FAIL: shared-rpath.sh

Steps To Reproduce

make check
the error is FAIL: shared-rpath.sh

Expected behavior

How to fix it? The patchelf is installed althrough the error is as above.

patchelf --version output
patchelf --version
patchelf 0.14.3

Additional context

vim patchelf/tests/test-suite.log

FAIL: shared-rpath.sh

0000000000003804 B a_symbol_name

Number of a_symbol_name strings in the library: 4

Rename the rpath to something larger than the original

patching ELF file '/home/root/zfrFiles/JointInternationalResearchLaboratory/patchelf/tests/libshared-rpath.so'
Number of rpath references: 1
Tainting old rpath with Xs
new rpath is 'a_very_big_rpath_that_is_larger_than_original'
rpath is too long or shared, resizing...
replacing section '.dynstr' with size 175
this is a dynamic library
last page is 0x4000
first page is 0x0
needed space is 416
rewriting section '.note.gnu.build-id' from offset 0x270 (size 24) to offset 0x2000 (size 24)
rewriting section '.dynsym' from offset 0x288 (size 216) to offset 0x2018 (size 216)
rewriting section '.dynstr' from offset 0x38c (size 129) to offset 0x20f0 (size 175)
rewriting symbol table section 25
rewriting symbol table section 29
writing liblarge-rpath.so

Checking symbol is still there

0000000000003804 B a_symbol_name

Checking there are no Xs

@zhangm365 zhangm365 added the bug label Jul 30, 2024
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