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

BUG: SVML lacks CET support #25642

Open
loqs opened this issue Jan 20, 2024 · 0 comments
Open

BUG: SVML lacks CET support #25642

loqs opened this issue Jan 20, 2024 · 0 comments
Labels

Comments

@loqs
Copy link

loqs commented Jan 20, 2024

Describe the issue:

SVML includes assembler that requires instrumentation / annotation to support CET. Somewhat similar to annotation for non-executable stack support numpy/SVML@dd60c04. For specific requirements see https://www.intel.com/content/dam/develop/external/us/en/documents/catc17-introduction-intel-cet-844137.pdf or the CET chapter of Intel® 64 and IA-32 Architectures Software Developer’s Manual. I did not report this on https://github.com/numpy/SVML as it has no issue tracker.

Reproduce the code example:

LDFLAGS='-Wl,-z,cet-report=error' python -m build --wheel --no-isolation -Csetup-args="-Dblas=cblas" -Csetup-args="-Dlapack=lapack"

Error message:

[497/498] Linking target numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so
FAILED: numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so 
c++  -o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/meson-generated_arraytypes.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/meson-generated_einsum.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/meson-generated_einsum_sumprod.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/meson-generated_lowlevel_strided_loops.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/meson-generated_nditer_templ.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/meson-generated_scalartypes.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/meson-generated_loops.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/meson-generated_matmul.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/meson-generated_scalarmath.c.o ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_acos_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_acos_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_acos_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_acosh_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_acosh_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_acosh_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_asin_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_asin_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_asin_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_asinh_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_asinh_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_asinh_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_atan2_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_atan2_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_atan2_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_atan_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_atan_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_atan_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_atanh_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_atanh_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_atanh_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_cbrt_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_cbrt_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_cbrt_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_cos_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_cos_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_cos_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_cosh_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_cosh_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_cosh_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_exp2_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_exp2_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_exp2_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_exp_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_exp_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_exp_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_expm1_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_expm1_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_expm1_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log10_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log10_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log10_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log1p_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log1p_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log1p_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log2_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log2_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log2_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_log_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_pow_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_pow_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_pow_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_sin_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_sin_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_sin_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_sinh_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_sinh_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_sinh_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_tan_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_tan_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_tan_d_ha.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_tanh_d_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_tanh_s_la.s ../../numpy/core/src/umath/svml/linux/avx512/svml_z0_tanh_d_ha.s numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_abstractdtypes.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_alloc.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_arrayobject.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_array_coercion.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_array_method.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_array_assign_scalar.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_array_assign_array.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_arrayfunction_override.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_buffer.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_calculation.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_compiled_base.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_common.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_common_dtype.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_convert.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_convert_datatype.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_conversion_utils.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_ctors.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_datetime.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_datetime_strings.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_datetime_busday.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_datetime_busdaycal.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_descriptor.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_dlpack.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_dtypemeta.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_dragon4.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_dtype_transfer.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_dtype_traversal.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_experimental_public_dtype_api.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_flagsobject.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_getset.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_hashdescr.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_item_selection.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_iterators.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_legacy_dtype_implementation.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_mapping.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_methods.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_multiarraymodule.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_nditer_api.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_nditer_constr.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_nditer_pywrap.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_number.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_refcount.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_sequence.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_shape.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_scalarapi.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_strfuncs.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_temp_elide.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_typeinfo.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_usertypes.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_vdot.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_npysort_quicksort.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_npysort_mergesort.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_npysort_timsort.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_npysort_heapsort.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_npysort_radixsort.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_npysort_selection.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_npysort_binsearch.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_textreading_conversions.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_textreading_field_types.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_textreading_growth.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_textreading_readtext.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_textreading_rows.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_textreading_stream_pyobject.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_textreading_str_to_int.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_multiarray_textreading_tokenize.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_npymath_arm64_exports.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_array_assign.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_mem_overlap.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_npy_argparse.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_npy_hashtable.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_npy_longdouble.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_ucsnarrow.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_ufunc_override.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_numpyos.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_npy_cpu_features.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_cblasfuncs.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_common_python_xerbla.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_ufunc_type_resolution.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_clip.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_dispatching.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_extobj.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_legacy_array_method.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_override.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_reduction.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_ufunc_object.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_umathmodule.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_string_ufuncs.cpp.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath_wrapping_array_method.c.o numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so.p/src_umath__scaled_float_dtype.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -Wl,-O1 -shared -fPIC -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-z,cet-report=error -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -Wformat -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/python-numpy/src=/usr/src/debug/python-numpy -flto=auto -ffat-lto-objects -Wl,--start-group numpy/core/libnpymath.a numpy/core/lib_multiarray_umath_mtargets.a /usr/lib/libcblas.so -Wl,--end-group
../../numpy/core/src/multiarray/experimental_public_dtype_api.c:389:1: warning: type of ‘PyUFunc_AddLoopFromSpec’ does not match original declaration [-Wlto-type-mismatch]
  389 | PyUFunc_AddLoopFromSpec(PyUFuncObject *ufunc, PyObject *info, int ignore_duplicate);
      | ^
../../numpy/core/src/umath/dispatching.c:154:1: note: type mismatch in parameter 3
  154 | PyUFunc_AddLoopFromSpec(PyObject *ufunc, PyArrayMethod_Spec *spec)
      | ^
../../numpy/core/src/umath/dispatching.c:154:1: note: type ‘void’ should match type ‘int’
../../numpy/core/src/umath/dispatching.c:154:1: note: ‘PyUFunc_AddLoopFromSpec’ was previously declared here
../../numpy/core/src/multiarray/compiled_base.h:15:1: warning: type of ‘arr_interp_complex’ does not match original declaration [-Wlto-type-mismatch]
   15 | arr_interp_complex(PyObject *, PyObject *const *, Py_ssize_t, PyObject *, PyObject *);
      | ^
../../numpy/core/src/multiarray/compiled_base.c:667:1: note: type mismatch in parameter 5
  667 | arr_interp_complex(PyObject *NPY_UNUSED(self), PyObject *const *args, Py_ssize_t len_args,
      | ^
../../numpy/core/src/multiarray/compiled_base.c:667:1: note: ‘arr_interp_complex’ was previously declared here
../../numpy/core/src/multiarray/compiled_base.h:13:1: warning: type of ‘arr_interp’ does not match original declaration [-Wlto-type-mismatch]
   13 | arr_interp(PyObject *, PyObject *const *, Py_ssize_t, PyObject *, PyObject *);
      | ^
../../numpy/core/src/multiarray/compiled_base.c:497:1: note: type mismatch in parameter 5
  497 | arr_interp(PyObject *NPY_UNUSED(self), PyObject *const *args, Py_ssize_t len_args,
      | ^
../../numpy/core/src/multiarray/compiled_base.c:497:1: note: ‘arr_interp’ was previously declared here
/usr/bin/ld: /tmp/ccdesNTJ.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc1AdOSy.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cclPkj1Q.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccPROftU.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccZcsBiE.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cchxKNoC.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc6RJeDn.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc4djqBJ.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccnjTr5k.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccWovo3i.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc6bj2ev.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccrtRE3y.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccUWVVhv.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc6zPwzb.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccF4pYxP.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccKQ7Wfm.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccVvCbmC.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccG8crii.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccekIpup.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccaFudNQ.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cclk12ZQ.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc2J849w.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc1iLD1R.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cct0Jz6v.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccRnDONn.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccbCrjVs.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccwKfhtB.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cceKWOn4.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccQgNpvd.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccNl7wUH.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccnPS8mt.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccyHBNNE.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccIv0Gp1.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccpYsIHP.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccOh9mIQ.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccxDwKHZ.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccIcXIIS.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccWdLJQV.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccrXlQKb.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccYk7ged.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cchOzA5h.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccEtSdJB.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccjpU3B8.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cchbjt8w.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccNNbOym.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccx7J5Ka.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccrCwfxe.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccbpwazx.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc8HoZ5c.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccpc4fDs.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc4geSEV.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccncpsKo.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccPqNxBH.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccKrR1eP.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cceXnMkA.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccgLeIaP.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccYOkuj5.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc4jwQ6C.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccawrqPz.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc8mrCQY.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccf6MxzS.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccT7LwbJ.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccASmgX3.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccYl0HY1.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/cc3c0DQB.o: error: missing IBT and SHSTK properties
/usr/bin/ld: /tmp/ccucSyfa.o: error: missing IBT and SHSTK properties
collect2: error: ld returned 1 exit status
[498/498] Linking target numpy/random/_generator.cpython-311-x86_64-linux-gnu.so
ninja: build stopped: subcommand failed.

Python and NumPy Versions:

>>> import sys, numpy; print(numpy.__version__); print(sys.version)
1.26.3
3.11.6 (main, Nov 14 2023, 09:36:21) [GCC 13.2.1 20230801]

Runtime Environment:

>>> import numpy; print(numpy.show_runtime())
[{'numpy_version': '1.26.3',
  'python': '3.11.6 (main, Nov 14 2023, 09:36:21) [GCC 13.2.1 20230801]',
  'uname': uname_result(system='Linux', node='arch', release='6.6.12-1-stable', version='#1 SMP Fri, 19 Jan 2024 15:03:04 +0000', machine='x86_64')},
 {'simd_extensions': {'baseline': ['SSE', 'SSE2', 'SSE3'],
                      'found': ['SSSE3',
                                'SSE41',
                                'POPCNT',
                                'SSE42',
                                'AVX',
                                'F16C',
                                'FMA3',
                                'AVX2'],
                      'not_found': ['AVX512F',
                                    'AVX512CD',
                                    'AVX512_KNL',
                                    'AVX512_KNM',
                                    'AVX512_SKX',
                                    'AVX512_CLX',
                                    'AVX512_CNL',
                                    'AVX512_ICL',
                                    'AVX512_SPR']}}]
None

Context for the issue:

Can be worked around by disabling SVML with -Csetup-args="-Ddisable-svml=true"
See also #24221 for how the issue can be produced at run time if LDFLAGS='-Wl,-z,cet-report=error' is not used to detect such issues at build time.

@loqs loqs added the 00 - Bug label Jan 20, 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