Skip to content

Many test failures on powerpc64le with qemu #26785

@mshabunin

Description

@mshabunin

System Information

  • OpenCV @ 4.x (Jan 16, 2024) (1d701d1)
  • ubuntu 22.04 with g++-powerpc64le-linux-gnu and qemu-user packages

Detailed description

Many tests fail when running core test on qemu for powerpc64le

Steps to reproduce

Build using toolchain file:

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR powerpc64le)
set(CMAKE_C_COMPILER   /usr/bin/powerpc64le-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER /usr/bin/powerpc64le-linux-gnu-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)

Run:

OPENCV_TEST_DATA_PATH=/opencv_extra/testdata \
qemu-ppc64le \
  -L /usr/powerpc64le-linux-gnu/ \
./bin/opencv_test_core

Result: 307 test failed

failures.txt

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions