Yesterday I built latest next version for opc2 from source (git rev 1674eb7), kernel version 4.13.5.
It boots fine and in general it seems to work, but when I tried to compile latest tvheadend from source, then gcc fails with internal error:
[ 20%] Building CXX object encoder/CMakeFiles/encoder.dir/entropy.cpp.o
/root/build/tvh/tvheadend/build.linux/ffmpeg/x265_2.4/source/encoder/entropy.cpp: In function ‘void x265::Entropy::codeCoeffNxN(const x265::CUData&, const coeff_t*, uint32_t, uint32_t, x265::TextType)’:
/root/build/tvh/tvheadend/build.linux/ffmpeg/x265_2.4/source/encoder/entropy.cpp:2186:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
encoder/CMakeFiles/encoder.dir/build.make:326: recipe for target 'encoder/CMakeFiles/encoder.dir/entropy.cpp.o' failed
When I a disable compiling x265 encoder then there will be next codec that fails with internal compiler error and so on.
But OTOH when building tvheadend on older armbian build (4.11.6-sun50iw2 #5 SMP Sat Jun 24 14:34:21 EEST), then I don't have such problems.
gcc version was 5.4.1 in both cases, also I tried gcc 7.2 and 4.9.4, same issue with latest armbian version.