On the normal Trusty cubieboard2 image I can install minios-xen fine, but on Vivid I get an error:
$ opam install minios-xen
[ERROR] The compilation of minios-xen failed at "make debug=n".
...
### stderr ###
# dtc/libfdt/fdt_ro.c:453:6: error: ânodedepthâ may be used uninitialized in this function [-Werror=maybe-uninitialized]
# [...]
# /home/mirage/.opam/4.02.1/build/minios-xen.0.7/include/libfdt.h: In function âfdt_parent_offsetâ:
# dtc/libfdt/fdt_ro.c:468:9: error: ânodedepthâ may be used uninitialized in this function [-Werror=maybe-uninitialized]
# return fdt_supernode_atdepth_offset(fdt, nodeoffset,
# ^
# dtc/libfdt/fdt_ro.c:453:6: note: ânodedepthâ was declared here
# int nodedepth;
# ^
# cc1: all warnings being treated as errors
# make: *** [/home/mirage/.opam/4.02.1/build/minios-xen.0.7/dtc/libfdt/fdt_ro.o] Error 1
mirage-xen-minios.0.7.0 was OK because of:
I'm guessing that the difference in this image is that it has GCC-4.9.2 instead of 4.8.x, but I'm not certain.