| Summary: |
mdadm fails to compile with x32 ABI |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Mariano Lopez <mariano.lopez> |
| Component: |
core | Assignee: |
Aníbal Limón <anibal.limon> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
Cristina Agurida <cristina-danielax.agurida> |
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
anibal.limon, cristina-danielax.agurida, meta.mr.watcher, meta.watcher, sgw
|
| Version: |
1.8 | |
|
| Target Milestone: |
1.9 | |
|
| Hardware: |
x86 | |
|
| OS: |
x86_64 | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
| Bug Depends on: |
|
|
|
| Bug Blocks: |
3437
|
|
|
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