zxing-cpp rebuild failed only on s390x with the following error [1], any clue
on how to resolve this?
```
[ 21%] Building CXX object
core/CMakeFiles/ZXing.dir/src/PerspectiveTransform.cpp.o
cd
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
&& /usr/bin/g++ -DZXing_EXPORTS
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe
-Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64
-march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2
-g -DNDEBUG -std=c++17 -fPIC -DZXING_BUILD_READERS -DZXING_BUILD_WRITERS -Wall
-Wextra -Wno-missing-braces -Werror=undef -Werror=return-type -ffloat-store -MD
-MT core/CMakeFiles/ZXing.dir/src/PerspectiveTransform.cpp.o -MF
CMakeFiles/ZXing.dir/src/PerspectiveTransform.cpp.o.d -o
CMakeFiles/ZXing.dir/src/PerspectiveTransform.cpp.o -c
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src/PerspectiveTransform.cpp
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src/PerspectiveTransform.cpp:
In member function
‘ZXing::PerspectiveTransform::operator()(ZXing::PointT<double>) const’:
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src/PerspectiveTransform.cpp:79:1:
error: unrecognizable insn:
79 | }
| ^
(insn 16 15 17 2 (set (reg:V2DF 70 [ vect_p_x_26.112_35 ])
(vec_duplicate:V2DF (vec_select:DF (mem/c:V2DF (reg/f:DI 69) [69
vect_p_x_26.111+0 S16 A64])
(parallel [
(const_int 0 [0])
])))) -1
(nil))
*** WARNING *** there are active plugins, do not report this as a bug unless
you can reproduce it without enabling any plugins.
Event | Plugins
PLUGIN_FINISH_UNIT | annobin: Generate final annotations
PLUGIN_START_UNIT | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END | annobin: Register per-function end symbols
during RTL pass: vregs
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src/PerspectiveTransform.cpp:79:1:
internal compiler error: in extract_insn, at recog.cc:2812
[ 22%] Building CXX object core/CMakeFiles/ZXing.dir/src/ReadBarcode.cpp.o
cd
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
&& /usr/bin/g++ -DZXing_EXPORTS
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe
-Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64
-march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2
-g -DNDEBUG -std=c++17 -fPIC -DZXING_BUILD_READERS -DZXING_BUILD_WRITERS -Wall
-Wextra -Wno-missing-braces -Werror=undef -Werror=return-type -ffloat-store -MD
-MT core/CMakeFiles/ZXing.dir/src/ReadBarcode.cpp.o -MF
CMakeFiles/ZXing.dir/src/ReadBarcode.cpp.o.d -o
CMakeFiles/ZXing.dir/src/ReadBarcode.cpp.o -c
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src/ReadBarcode.cpp
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <http://bugzilla.redhat.com/bugzilla> for instructions.
[ 23%] Building CXX object
core/CMakeFiles/ZXing.dir/src/ReedSolomonDecoder.cpp.o
cd
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
&& /usr/bin/g++ -DZXing_EXPORTS
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe
-Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64
-march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2
-g -DNDEBUG -std=c++17 -fPIC -DZXING_BUILD_READERS -DZXING_BUILD_WRITERS -Wall
-Wextra -Wno-missing-braces -Werror=undef -Werror=return-type -ffloat-store -MD
-MT core/CMakeFiles/ZXing.dir/src/ReedSolomonDecoder.cpp.o -MF
CMakeFiles/ZXing.dir/src/ReedSolomonDecoder.cpp.o.d -o
CMakeFiles/ZXing.dir/src/ReedSolomonDecoder.cpp.o -c
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src/ReedSolomonDecoder.cpp
[ 24%] Building CXX object core/CMakeFiles/ZXing.dir/src/Result.cpp.o
cd
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
&& /usr/bin/g++ -DZXing_EXPORTS
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe
-Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64
-march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2
-g -DNDEBUG -std=c++17 -fPIC -DZXING_BUILD_READERS -DZXING_BUILD_WRITERS -Wall
-Wextra -Wno-missing-braces -Werror=undef -Werror=return-type -ffloat-store -MD
-MT core/CMakeFiles/ZXing.dir/src/Result.cpp.o -MF
CMakeFiles/ZXing.dir/src/Result.cpp.o.d -o
CMakeFiles/ZXing.dir/src/Result.cpp.o -c
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src/Result.cpp
[ 25%] Building CXX object core/CMakeFiles/ZXing.dir/src/ResultPoint.cpp.o
cd
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
&& /usr/bin/g++ -DZXing_EXPORTS
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src
-I/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build/core
-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe
-Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64
-march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2
-g -DNDEBUG -std=c++17 -fPIC -DZXING_BUILD_READERS -DZXING_BUILD_WRITERS -Wall
-Wextra -Wno-missing-braces -Werror=undef -Werror=return-type -ffloat-store -MD
-MT core/CMakeFiles/ZXing.dir/src/ResultPoint.cpp.o -MF
CMakeFiles/ZXing.dir/src/ResultPoint.cpp.o.d -o
CMakeFiles/ZXing.dir/src/ResultPoint.cpp.o -c
/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/core/src/ResultPoint.cpp
The bug is not reproducible, so it is likely a hardware or OS problem.
gmake[2]: *** [core/CMakeFiles/ZXing.dir/build.make:387:
core/CMakeFiles/ZXing.dir/src/PerspectiveTransform.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory
'/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build'
gmake[1]: Leaving directory
'/builddir/build/BUILD/zxing-cpp-2.2.1-build/zxing-cpp-2.2.1/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:119: core/CMakeFiles/ZXing.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2
```
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=118870207
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue