-
Notifications
You must be signed in to change notification settings - Fork 144
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
Always exclude ELF dynamic linker/loader #213
Conversation
Codecov Report
@@ Coverage Diff @@
## master #213 +/- ##
=========================================
- Coverage 89.25% 87.16% -2.1%
=========================================
Files 19 19
Lines 996 974 -22
Branches 215 214 -1
=========================================
- Hits 889 849 -40
- Misses 65 86 +21
+ Partials 42 39 -3
Continue to review full report at Codecov.
|
I added two integration tests for this using numpy wheels for s390x and ppc64le thanks to @wdirons in #212 -- if these aren't what we were looking for, please feel free to amend/remove my commit. Also, I think the s390x build will probably fail here due to #228, but we should probably merge this anyways. |
Tests are now passing, what do you think @mayeut? |
I'm trying to figure out how to modify the test_elfutils.py test for this instance. I have noticed, the existing testcase for ld-linux is not testing what it should as this change still passes the test:
|
7bc7c99
to
452dd83
Compare
I finally managed to get some time to find a small test case. Failures can be seen here when the fix is not here: https://travis-ci.com/github/mayeut/auditwheel/jobs/320711188 & https://travis-ci.com/github/mayeut/auditwheel/jobs/320711187 |
CI not passing but passing here https://travis-ci.com/github/mayeut/auditwheel/builds/160833993 |
s390x
/ppc64le
ELF dynamic linkers do not start withld-linux
and therefore, were not excluded from analysis.Relates to #212
Fixes pypa/manylinux#412
The tests did not reveal this issue and shall be updated. I don't know how to get this done since all symbols in the linker are private (or seem to be).
@wdirons, @st-pasha, any simple test we could include to reproduce this behavior in tests ?