https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119547

--- Comment #9 from Robin Dapp <rdapp at gcc dot gnu.org> ---
> cmake --build cross-build/$BUILD_DIR-gcc --target opencv_test_core -j10
> ```
> 4. run
> ```
> export LD_LIBRARY_PATH=/xxxx/lib
> ./opencv_test_core --gtest_filter="Core_ConvertScale/ElemWiseTest.accuracy/0"
> ```

Thanks for the instructions.  While building with a recent GCC I encountered a
segfault...

opencv/3rdparty/hal_rvv/hal_rvv_1p0/dxt.hpp:25:79: internal compiler error: in
to_constant, at poly-int.h:592
   25 |     static inline void vsseg(float* a, T b, T c, size_t d) {
__riscv_vsseg2e32(a,
__riscv_vset_v_f32mf2_f32mf2x2(__riscv_vset_v_f32mf2_f32mf2x2(vfloat32mf2x2_t(),
0, b), 1, c), d); }
      |                                                             
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x2c59051 internal_error(char const*, ...)
        ../../gcc/diagnostic-global-context.cc:517                              
0x71c6f9 fancy_abort(char const*, int, char const*)
        ../../gcc/diagnostic.cc:1749                                            
0xc4d1ab poly_int<2u, unsigned short>::to_constant() const
        ../../gcc/poly-int.h:592
0xc4d1ab poly_int<2u, unsigned long>::to_constant() const
        ../../gcc/poly-int.h:590

Will need to work around that first.

Reply via email to