-
Notifications
You must be signed in to change notification settings - Fork 228
Open
Description
I found a bug in pyFAI when compiled on manylinux1. All library built on "manylinux1" was segfaulting on all linux distribution but "manylinux1".
The reference to the bug is: silx-kit/pyFAI#649
The core of the bug is that on manylinux1, the linker (gcc) does not try to resolve internally the names:
- One solution is to use manual name mangling, as implemented.
- another solution would be to add an extra link argument: -Wl,-Bsymbolic-functions, but I am not sure gcc4.1 from manylinux1 supports it
- The only portable options found seams to mangle the attribute of the function (attribute((visibility("hidden")))) but this is far from being intuitive.
Any opinion on this ?
Metadata
Metadata
Assignees
Labels
No labels