DevHeads.net

OpenImageIO GCC 8 build problem?

A scratch build works fine on Fedora 27...

Error during build[1]:
*** 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_END | annobin: Generate per-function
annotations
In file included from /builddir/build/BUILD/oiio-Release-1.8.8/src/include/
OpenImageIO/imageio.h:59,
from /builddir/build/BUILD/oiio-Release-1.8.8/src/include/
OpenImageIO/imagebuf.h:46,
from /builddir/build/BUILD/oiio-Release-1.8.8/src/
libOpenImageIO/imagebufalgo_compare.cpp:41:
/builddir/build/BUILD/oiio-Release-1.8.8/src/libOpenImageIO/imagebufalgo_compare.cpp:
In instantiation of 'bool OpenImageIO_v1_8::color_count_(const
OpenImageIO_v1_8::ImageBuf&, OpenImageIO_v1_8::atomic_ll*, int, const
float*, const float*, OpenImageIO_v1_8::ROI, int) [with T = float;
OpenImageIO_v1_8::atomic_ll = std::atomic<long long int>]':
/builddir/build/BUILD/oiio-Release-1.8.8/src/libOpenImageIO/imagebufalgo_compare.cpp:546:5:
required from here
/builddir/build/BUILD/oiio-Release-1.8.8/src/include/OpenImageIO/platform.h:191:36:
internal compiler error: in maybe_undo_parenthesized_ref, at
cp/semantics.c:1736
#define ALLOCA(type, size) ((size) != 0 ? ((type*)alloca((size) * sizeof
(type))) : nullptr)
~~~~~~~^~~~
/builddir/build/BUILD/oiio-Release-1.8.8/src/libOpenImageIO/imagebufalgo_compare.cpp:501:24:
note: in expansion of macro 'ALLOCA'
long long *n = ALLOCA (long long, ncolors);
^~~~~~

Ideas?

Thanks,
Richard

[1] <a href="http://koji.fedoraproject.org/koji/taskinfo?taskID=24761376" title="http://koji.fedoraproject.org/koji/taskinfo?taskID=24761376">http://koji.fedoraproject.org/koji/taskinfo?taskID=24761376</a>