<?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>7423</bug_id>
          
          <creation_ts>2015-03-06 22:20:26 +0000</creation_ts>
          <short_desc>systemtap fails to compile with x32 ABI</short_desc>
          <delta_ts>2015-05-27 11:19:30 +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>49281</commentid>
    <comment_count>0</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-03-06 22:20:26 +0000</bug_when>
    <thetext>Trying to compile systemtap fails using x32.

| make  all-recursive
| make[1]: Entering directory `/home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/build&apos;
| Making all in .
| make[2]: Entering directory `/home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/build&apos;
| x86_64-poky-linux-gnux32-g++  -mx32 --sysroot=/home/mlopezva/poky/build/tmp/sysroots/qemux86-64 -DHAVE_CONFIG_H -I. -I/home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git  -DBINDIR=&apos;&quot;/usr/bin&quot;&apos; -DSYSCONFDIR=&apos;&quot;/etc&quot;&apos; -DPKGDATADIR=&apos;&quot;/usr/share/systemtap&quot;&apos; -DPKGLIBDIR=&apos;&quot;/usr/libx32/systemtap/systemtap&quot;&apos; -DLOCALEDIR=&apos;&quot;/usr/share/locale&quot;&apos; -I/home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/includes -I./includes/sys -DSTAP_SDT_V2     -Wall -Werror   -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden -fstack-protector-all -D_FORTIFY_SOURCE=2 -c -o stap-cache.o `test -f &apos;cache.cxx&apos; || echo &apos;/home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/&apos;`cache.cxx
| The script example index is outdated, run
|     cd /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/testsuite/systemtap.examples &amp;&amp; \
|     perl examples-index-gen.pl
| to regenerate it.
| In file included from /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/session.h:33:0,
|                  from /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/cache.cxx:10:
| /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/cache.cxx: In function &apos;void clean_cache(systemtap_session&amp;)&apos;:
| /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/util.h:43:59: error: format &apos;%lu&apos; expects argument of type &apos;long unsigned int&apos;, but argument 2 has type &apos;__time_t {aka long long int}&apos; [-Werror=format=]
|  #define _F(format, ...) autosprintf(_(format), __VA_ARGS__)
|                                                            ^
| /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/cache.cxx:297:21: note: in expansion of macro &apos;_F&apos;
|              clog &lt;&lt; _F(&quot;Cache cleaning skipped, interval not reached %lu s / %lu s.&quot;,
|                      ^
| /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/util.h:43:59: error: format &apos;%lu&apos; expects argument of type &apos;long unsigned int&apos;, but argument 2 has type &apos;__time_t {aka long long int}&apos; [-Werror=format=]
|  #define _F(format, ...) autosprintf(_(format), __VA_ARGS__)
|                                                            ^
| /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/git/cache.cxx:305:21: note: in expansion of macro &apos;_F&apos;
|              clog &lt;&lt; _F(&quot;Cleaning cache, interval reached %lu s &gt; %lu s.&quot;,
|                      ^
| cc1plus: all warnings being treated as errors
| make[2]: *** [stap-cache.o] Error 1
| make[2]: Leaving directory `/home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/build&apos;
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/build&apos;
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/mlopezva/poky/build/tmp/work/x86_64_x32-poky-linux-gnux32/systemtap/2.6+gitAUTOINC+7682e51d2e-r0/temp/run.do_compile.15087:1 exit 1 from
|   exit 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49663</commentid>
    <comment_count>1</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-03-23 16:14:59 +0000</bug_when>
    <thetext>Merge at,

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

    </bug>

</bugzilla>