<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7422</bug_id>
          
          <creation_ts>2015-03-06 22:15:09 +0000</creation_ts>
          <short_desc>mdadm fails to compile with x32 ABI</short_desc>
          <delta_ts>2015-05-27 11:12:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          <blocked>3437</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mariano Lopez">mariano.lopez</reporter>
          <assigned_to name="Aníbal Limón">anibal.limon</assigned_to>
          <cc>anibal.limon</cc>
    
    <cc>cristina-danielax.agurida</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49280</commentid>
    <comment_count>0</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-03-06 22:15:09 +0000</bug_when>
    <thetext>Trying to compile mdadm fails using x32.

| DEBUG: SITE files [&apos;endian-little&apos;, &apos;common-linux&apos;, &apos;common-glibc&apos;, &apos;bit-32&apos;, &apos;ix86-common&apos;, &apos;x32-linux&apos;, &apos;x86_64-linux-gnux32&apos;, &apos;common&apos;]
| 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=\&quot;&quot;/usr/sbin/sendmail -t&quot;\&quot; -DCONFFILE=\&quot;/etc/mdadm.conf\&quot; -DCONFFILE2=\&quot;/etc/mdadm/mdadm.conf\&quot; -DMAP_DIR=\&quot;/run/mdadm\&quot; -DMAP_FILE=\&quot;map\&quot; -DMDMON_DIR=\&quot;/run/mdadm\&quot; -DFAILED_SLOTS_DIR=\&quot;/run/mdadm/failed-slots\&quot;   -DUSE_PTHREADS  -DBINDIR=\&quot;/sbin\&quot;  -c -o monitor.o monitor.c
| monitor.c: In function &apos;read_and_act&apos;:
| monitor.c:263:2: error: format &apos;%ld&apos; expects argument of type &apos;long int&apos;, but argument 5 has type &apos;__time_t&apos; [-Werror=format=]
|   dprintf(&quot;%s(%d): %ld.%06ld state:%s prev:%s action:%s prev: %s start:%llu\n&quot;,
|   ^
| monitor.c:263:2: error: format &apos;%ld&apos; expects argument of type &apos;long int&apos;, but argument 6 has type &apos;__suseconds_t&apos; [-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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49662</commentid>
    <comment_count>1</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-03-23 16:14:39 +0000</bug_when>
    <thetext>Merge at,

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3732fdec0a22a6d8de7f9a9858c60b8e492d2dc0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51292</commentid>
    <comment_count>2</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-05-27 11:12:22 +0000</bug_when>
    <thetext>Verified on master: 5170177719a93a69cc6c7c1218b3f26eed82d6e0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>