| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The fix in numpy/meson#12 for ASIMD*(32-bit) compile-time feature detection revealed a new build error on aarch32 platforms: ImportError: /numpy/build-install/usr/lib/python3/dist-packages/numpy/_core/ _multiarray_umath.cpython-310-arm-linux-gnueabihf.so: undefined symbol: _ZN2np7highway10qsort_simd11QSort_ASIMDIjEEvPT_i This patch prevents platform detection constants of Highway from being exposed across translation units with different compiler flags (baseline). This approach eliminates detection mismatches that were causing symbol resolution failures in the Highway QSort implementation.
There was a problem hiding this comment.
It's a bit unfortunate to have the extra levels of indirection, but I think fixing the symbol issue takes precedence 😸
Sorry, something went wrong.
Thanks for review. Agreed. Ideally we'd avoid dispatching when VQSORT_ENABLED is false, but the current fix still lets the compiler optimize better than the baseline flags. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The fix in numpy/meson#12 for ASIMD*(32-bit) compile-time feature detection revealed a new
build error on aarch32 platforms:
This patch prevents platform detection constants of Highway from being exposed across
translation units with different compiler flags (baseline). This approach
eliminates detection mismatches that were causing symbol resolution failures
in the Highway QSort implementation.
relates numpy/meson#12