-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Build failure on ppc64le related to VSX with gcc10 #16448
Copy link
Copy link
Closed
Description
System information (version)
- OpenCV => 4.2
- Operating System / Platform => GNU/Linux (Fedora 32)
- Compiler => gcc10
Detailed description
Full build.log from Fedora infra task:
https://koji.fedoraproject.org/koji/taskinfo?taskID=41111238
/builddir/build/BUILD/opencv-4.2.0/modules/core/include/opencv2/core/vsx_utils.hpp: In function 'void cv::hal::cpu_baseline::scalar_loop(const T1*, size_t, T1*, size_t, int, int, const T2*) [with OP = cv::hal::cpu_baseline::op_recip; T1 = int; T2 = float; Tvec = cv::hal_baseline::v_int32x4]':
/builddir/build/BUILD/opencv-4.2.0/modules/core/include/opencv2/core/vsx_utils.hpp:115:10: error: impossible constraint in 'asm'
115 | { rt rs; __asm__ __volatile__(#opc" %x0,%x1" : "="#rto (rs) : #rgo (a)); return rs; }
| ^~~~~~~
/builddir/build/BUILD/opencv-4.2.0/modules/core/include/opencv2/core/vsx_utils.hpp:270:1: note: in expansion of macro 'VSX_IMPL_1RG'
270 | VSX_IMPL_1RG(vec_float4, wf, vec_int4, wa, xvcvsxwsp, vec_ctf)
| ^~~~~~~~~~~~
/builddir/build/BUILD/opencv-4.2.0/modules/core/include/opencv2/core/vsx_utils.hpp:115:10: error: impossible constraint in 'asm'
115 | { rt rs; __asm__ __volatile__(#opc" %x0,%x1" : "="#rto (rs) : #rgo (a)); return rs; }
Steps to reproduce
Build OpenCV 4.2 on ppc64le with VSX as baseline and Dispatched code generation: VSX3
The build uses -DCV_COMPILER_VSX_BROKEN_ASM
Reactions are currently unavailable