You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build failure on ppc64le related to VSX with gcc10 #16448
@sharkcz, @kwizart, #16453 should resolves this issue, @alalek my bad, just misunderstood of how PowerPC constraints work, using constraint wa will be good enough not sure yet about the benefits of using other constraints such as we(VSX3), wr etc, I still need to dive more inside gcc, since I didn't realize any changes on the generated instructions.
Activity
alalek commentedon Jan 28, 2020
/cc @seiko2plus @ChipKerchner
sharkcz commentedon Jan 28, 2020
for the record, https://github.com/opencv/opencv/blob/master/modules/core/include/opencv2/core/vsx_utils.hpp is the problematic source file
sharkcz commentedon Jan 28, 2020
preprocessed source arithm.dispatch.cpp.i.gz is compiled using
/usr/bin/c++ -DCVAPI_EXPORTS -DVK_NO_PROTOTYPES -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/opencv-4.2.0/build -I/usr/include/vulkan -I/builddir/build/BUILD/opencv-4.2.0/modules/core/include -I/builddir/build/BUILD/opencv-4.2.0/build/modules/core -I/usr/include/CL -isystem /usr/include/gdal -isystem /usr/include/eigen3 -isystem /usr/include/coin -isystem /usr/include/openblas -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,--as-needed -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mcpu=power8 -fvisibility=hidden -fvisibility-inlines-hidden -DCV_COMPILER_VSX_BROKEN_ASM -fopenmp -fPIC -std=c++11 -o CMakeFiles/opencv_core.dir/src/arithm.dispatch.cpp.o -c /builddir/build/BUILD/opencv-4.2.0/modules/core/src/arithm.dispatch.cppseiko2plus commentedon Jan 28, 2020
@sharkcz, @kwizart, #16453 should resolves this issue, @alalek my bad, just misunderstood of how PowerPC constraints work, using constraint
wawill be good enough not sure yet about the benefits of using other constraints such aswe(VSX3),wretc, I still need to dive more inside gcc, since I didn't realize any changes on the generated instructions.kwizart commentedon Jan 29, 2020
I confirm that the build has succeeded.
Thx for the quick fix.
kwizart commentedon Jan 29, 2020
Well, technically the PR isn't merged, so you might want to keep open.