| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
I added the hidden directive to the PROLOGUE macro for assembler code, and in doing so discovered that there is assembler code for
Both these functions have generic equivalents in the kernels/generics directory, and I checked on Compiler Explorer that modern compilers generate equivalent assembler to the hand-created assembler in the non-generic directories. So rather than create a special non-hidden assembler PROLOGUE macro, I set the build to use the generic C versions, which can easily be marked with the visible attribute. |
Sorry, something went wrong.
|
In the upstream PR, I defined a new PROLOGUE_EXPORT macro and used it rather than using the generic kernels for lsame and cabs. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This is a proof of concept that works to hide functions from exposing them from the shared object on posix
For me this solves numpy/numpy#30299, it no longer segfaults. Although when I look at ltrace I still see that a global openblas is overriding the function dgemm_kernel_HASWELL in the call to scipy_cblas_dgemm64_ at NumPy import.