I finally had some time to check out the beta and ran into the following:
[ 11%] Building CXX object
src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_muldiv.cpp.o
cd
/builddir/build/BUILD/oiio-Release-2.1.7-beta/build/linux/src/libOpenImageIO
&& /usr/bin/c++ -DEMBED_PLUGINS=1 -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1
-DUSE_DCMTK=1 -DUSE_EXTERNAL_PUGIXML=1 -DUSE_FIELD3D=1 -DUSE_GIF
-DUSE_JPEG_TURBO=1 -DUSE_LIBRAW=1 -DUSE_OCIO=1 -DUSE_OPENCOLORIO=1
-DUSE_OPENCV=1 -DUSE_OPENJPEG -DUSE_STD_REGEX -DUSE_WEBP=1
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-I/builddir/build/BUILD/oiio-Release-2.1.7-beta/build/linux/include
-I/builddir/build/BUILD/oiio-Release-2.1.7-beta/build/linux/src/include
-I/builddir/build/BUILD/oiio-Release-2.1.7-beta/src/include
-I/usr/include/OpenEXR -I/usr/include/openjpeg-2.3
-I/builddir/build/BUILD/oiio-Release-2.1.7-beta/src/libOpenImageIO/BEFORE
-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 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2
-g -DNDEBUG -fPIC -Wall -Wno-unused-local-typedefs -Wno-unused-result
-Wno-aligned-new -Wno-noexcept-type -fno-math-errno -std=c++11 -o
CMakeFiles/OpenImageIO.dir/imagebufalgo_muldiv.cpp.o -c
/builddir/build/BUILD/oiio-Release-2.1.7-beta/src/libOpenImageIO/imagebufalgo_muldiv.cpp
/builddir/build/BUILD/oiio-Release-2.1.7-beta/src/libOpenImageIO/imagebufalgo_muldiv.cpp:
In lambda function:
/builddir/build/BUILD/oiio-Release-2.1.7-beta/src/libOpenImageIO/imagebufalgo_muldiv.cpp:50:49:
error: insn with invalid code number:
50 | ImageBufAlgo::parallel_image(roi, nthreads, [&](ROI roi) {
| ^~~~~~~~~~~~~~
51 | ImageBuf::ConstIterator<Atype> a(A, roi);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52 | for (ImageBuf::Iterator<Rtype> r(R, roi); !r.done(); ++r,
++a)
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53 | for (int c = roi.chbegin; c < roi.chend; ++c)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54 | r[c] = a[c] * b[c];
| ~~~~~~~~~~~~~~~~~~~
55 | });
| ~
Helpful info from cmake:
-- CMake version is 3.15.4
-- Configuring OpenImageIO 2.1.7.0
-- CMake 3.15.4
-- CMake system = Linux-5.3.8-200.fc30.x86_64
-- CMake system name = Linux
-- Project source dir = /builddir/build/BUILD/oiio-Release-2.1.7-beta
-- Project build dir =
/builddir/build/BUILD/oiio-Release-2.1.7-beta/build/linux
-- Project install prefix = /usr
-- Configuration types =
-- Build type = RelWithDebInfo
-- Setting Namespace to: OpenImageIO_v2_1
-- CMAKE_SYSTEM_NAME = Linux
-- CMAKE_SYSTEM_VERSION = 5.3.8-200.fc30.x86_64
-- CMAKE_SYSTEM_PROCESSOR = x86_64
-- CMAKE_CXX_COMPILER = /usr/bin/c++
-- CMAKE_CXX_COMPILER_ID = GNU
-- Building for C++11
-- Using gcc 9 as the compiler
GCC 9.2.1
Thanks,
Richard
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org