Trying to compile mdadm fails using x32. | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-32', 'ix86-common', 'x32-linux', 'x86_64-linux-gnux32', 'common'] | DEBUG: Executing shell function do_compile | NOTE: make -j 48 CHECK_RUN_DIR=0 | x86_64-poky-linux-gnux32-gcc -mx32 --sysroot=/home/mlopezva/poky/build/tmp/sysroots/qemux86-64 -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DUSE_PTHREADS -DBINDIR=\"/sbin\" -c -o monitor.o monitor.c | monitor.c: In function 'read_and_act': | monitor.c:263:2: error: format '%ld' expects argument of type 'long int', but argument 5 has type '__time_t' [-Werror=format=] | dprintf("%s(%d): %ld.%06ld state:%s prev:%s action:%s prev: %s start:%llu\n", | ^ | monitor.c:263:2: error: format '%ld' expects argument of type 'long int', but argument 6 has type '__suseconds_t' [-Werror=format=] | cc1: all warnings being treated as errors | make: *** [monitor.o] Error 1 | ERROR: oe_runmake failed | WARNING: /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/mdadm/3.3.2-r0/temp/run.do_compile.15008:1 exit 1 from | exit 1
Merge at, http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3732fdec0a22a6d8de7f9a9858c60b8e492d2dc0
Verified on master: 5170177719a93a69cc6c7c1218b3f26eed82d6e0