<?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>1402</bug_id>
          
          <creation_ts>2011-08-25 14:16:41 +0000</creation_ts>
          <short_desc>x32: valgrind fails to compile</short_desc>
          <delta_ts>2017-08-22 01:28:12 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>Future</target_milestone>
          
          <blocked>3437</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="sweeaun">swee.aun.khor</assigned_to>
          <cc>alejandro.hernandez</cc>
    
    <cc>bogdan.a.marinescu</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>dvhart</cc>
    
    <cc>hjl.tools</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kergoth</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>rebecca.swee.fun.chang</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15765</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-08-25 14:16:41 +0000</bug_when>
    <thetext>ERROR: Task 5365 (/home/nitin/prj/poky.git/meta/recipes-multimedia/gstreamer/gst-fluendo-mpegdemux_0.10.67.bb, do_configure) failed with exit code &apos;1&apos;
ERROR: Function &apos;do_configure&apos; failed (see /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/temp/log.do_configure.7953 for further information)
ERROR: Logfile of failure stored in: /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/temp/log.do_configure.7953
Log data follows:
| DEBUG: SITE files [&apos;endian-little&apos;, &apos;common-linux&apos;, &apos;common-glibc&apos;, &apos;bit-32&apos;, &apos;ix86-common&apos;, &apos;x86_64-linux-gnux32&apos;, &apos;common&apos;]
| automake (GNU automake) 1.11.1
| Copyright (C) 2009 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later &lt;http://gnu.org/licenses/gpl-2.0.html&gt;
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| 
| Written by Tom Tromey &lt;tromey@redhat.com&gt;
|        and Alexandre Duret-Lutz &lt;adl@gnu.org&gt;.
| AUTOV is 1.11
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ -I/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/
| autoreconf: Entering directory `.&apos;
| autoreconf: configure.in: not using Gettext
| autoreconf: running: aclocal -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --force --warnings=cross
| aclocal: unknown warning category `cross&apos;
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: configure.in: tracing
| configure.in:1471: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ../../lib/autoconf/general.m4:2743: AC_RUN_IFELSE is expanded from...
| ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
| ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:2026: AC_CACHE_VAL is expanded from...
| ../../lib/autoconf/general.m4:2047: AC_CACHE_CHECK is expanded from...
| configure.in:1471: the top level
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: configure.in: not using Libtool
| autoreconf: running: /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/bin/autoconf --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --force --warnings=cross
| configure.in:1471: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ../../lib/autoconf/general.m4:2743: AC_RUN_IFELSE is expanded from...
| ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
| ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:2026: AC_CACHE_VAL is expanded from...
| ../../lib/autoconf/general.m4:2047: AC_CACHE_CHECK is expanded from...
| configure.in:1471: the top level
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: running: /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/bin/autoheader --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --force --warnings=cross
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
| automake: unknown warning category `cross&apos;
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: running: gnu-configize
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: Leaving directory `.&apos;
| NOTE: Running /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/configure 		 --build=x86_64-linux   --host=x86_64-poky-linux-gnux32 		  --target=x86_64-poky-linux-gnux32 		  --prefix=/usr 		  --exec_prefix=/usr 		  --bindir=/usr/bin 		  --sbindir=/usr/sbin 		  --libexecdir=/usr/libexec 		  --datadir=/usr/share 		  --sysconfdir=/etc 		  --sharedstatedir=/com 		  --localstatedir=/var 		  --libdir=/usr/lib 		  --includedir=/usr/include 		  --oldincludedir=/usr/include 		  --infodir=/usr/share/info 		  --mandir=/usr/share/man 		  --disable-silent-rules 		  --with-libtool-sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 --enable-tls ...
| configure: WARNING: unrecognized options: --disable-silent-rules, --with-libtool-sysroot
| configure: loading site script /home/nitin/prj/poky.git/meta/site/endian-little
| configure: loading site script /home/nitin/prj/poky.git/meta/site/common-linux
| configure: loading site script /home/nitin/prj/poky.git/meta/site/common-glibc
| configure: loading site script /home/nitin/prj/poky.git/meta/site/ix86-common
| configure: loading site script /home/nitin/prj/poky.git/meta/site/common
| configure: loading site script /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64/usr/share/x86_64-poky-linux-gnux32_config_site.d/zlib_config
| configure: loading site script /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64/usr/share/x86_64-poky-linux-gnux32_config_site.d/ncurses_config
| configure: loading site script /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64/usr/share/x86_64-poky-linux-gnux32_config_site.d/glibc_config
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for x86_64-poky-linux-gnux32-strip... x86_64-poky-linux-gnux32-strip
| checking for a thread-safe mkdir -p... /bin/mkdir -p
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking whether to enable maintainer-specific portions of Makefiles... no
| checking whether ln -s works... yes
| checking for x86_64-poky-linux-gnux32-gcc... ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64
| checking whether the C compiler works... yes
| checking for C compiler default output file name... a.out
| checking for suffix of executables...
| checking whether we are cross compiling... yes
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 accepts -g... yes
| checking for ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 option to accept ISO C89... none needed
| checking for style of include used by make... GNU
| checking dependency style of ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64... gcc3
| checking whether ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 and cc understand -c and -o together... yes
| checking how to run the C preprocessor... x86_64-poky-linux-gnux32-gcc -E --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64   -mx32
| checking whether we are using the GNU C++ compiler... yes
| checking whether ccache x86_64-poky-linux-gnux32-g++   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 accepts -g... yes
| checking dependency style of ccache x86_64-poky-linux-gnux32-g++   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64... gcc3
| checking for x86_64-poky-linux-gnux32-ranlib... x86_64-poky-linux-gnux32-ranlib
| checking for a sed that does not truncate output... /bin/sed
| checking for perl... /usr/bin/perl
| checking for gdb... /usr/bin/gdb
| checking dependency style of ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64... gcc3
| checking for diff -u... yes
| checking for a supported version of gcc... ok (86)
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... x86_64-poky-linux-gnux32
| checking for a supported CPU... ok (x86_64)
| checking for a 64-bit only build... no
| checking for a 32-bit only build... no
| checking for a supported OS... ok (linux-gnux32)
| checking for the kernel version... 3 family (3.1.0-0.rc2.git0.1.fc17.x86_64)
| checking for 32 bit build support... no
| checking for a supported CPU/OS combination... ok (amd64-linux)
| checking for use as an inner Valgrind... no
| checking for grep that handles long lines and -e... /bin/grep
| checking for egrep... /bin/grep -E
| checking for ANSI C header files... (cached) yes
| checking for sys/types.h... (cached) yes
| checking for sys/stat.h... (cached) yes
| checking for stdlib.h... (cached) yes
| checking for string.h... (cached) yes
| checking for memory.h... (cached) yes
| checking for strings.h... (cached) yes
| checking for inttypes.h... (cached) yes
| checking for stdint.h... (cached) yes
| checking for unistd.h... (cached) yes
| checking for features.h... (cached) yes
| checking the GLIBC_VERSION version... unsupported version 2.14
| configure: error: Valgrind requires glibc version 2.2 - 2.13
| ERROR: oe_runconf failed
| ERROR: Function &apos;do_configure&apos; failed (see /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/temp/log.do_configure.7953 for further information)
NOTE: package valgrind-3.6.1-r1: task do_configure: Failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17450</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-12-01 10:39:54 +0000</bug_when>
    <thetext>as of 12/1
 still see the same issue, need valgrind which can work with eglibc 2.14.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17679</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-12-15 13:47:23 +0000</bug_when>
    <thetext>I tried 3.7.0 version of valgrind, which does not have the eglibc issue. But still lot of assembly lines &amp; and code needs to change to support x32. 
  Also x32 target valgrind needs x32 developer machine, which is still in the future. so we can reduce the priority for this.

Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22126</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-06-13 14:18:46 +0000</bug_when>
    <thetext>You can work with H J Ju for this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25258</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-09-14 14:14:51 +0000</bug_when>
    <thetext>Nitin or Radu, can you please retest?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25590</commentid>
    <comment_count>5</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-09-24 11:43:12 +0000</bug_when>
    <thetext>I need steps to reproduce. Nitin can you help?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25615</commentid>
    <comment_count>6</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-09-24 17:10:44 +0000</bug_when>
    <thetext>This task is lot of work. I will ping HJ if he has any update on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25745</commentid>
    <comment_count>7</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-09-26 08:18:55 +0000</bug_when>
    <thetext>Any update Nitin?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25747</commentid>
    <comment_count>8</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-09-26 08:30:30 +0000</bug_when>
    <thetext>I can&apos;t get it to compile. I need instructions to get this build started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25771</commentid>
    <comment_count>9</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-09-26 12:46:51 +0000</bug_when>
    <thetext>My setup is:

Build Configuration:
BB_VERSION        = &quot;1.15.3&quot;
TARGET_ARCH       = &quot;x86_64&quot;
TARGET_OS         = &quot;linux-gnux32&quot;
MACHINE           = &quot;qemux86-64&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.2+snapshot-20120926&quot;
TUNE_FEATURES     = &quot;mx32&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;master:e8738b83b70eb794c5509ec7706bf64c68249af1&quot;

Please correct me if not appropriate in some way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25774</commentid>
    <comment_count>10</comment_count>
    <who name="Radu Moisan">radu.moisan</who>
    <bug_when>2012-09-26 12:54:30 +0000</bug_when>
    <thetext>tried core-image-minimal and core-image-lsb but in both cases the build blows up when eglibc is compiled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25797</commentid>
    <comment_count>11</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-09-26 16:00:57 +0000</bug_when>
    <thetext>Radu,
  HJ Lu is on sabbatical now, so I could not get latest update from him on this, and AFAIK valgrind is not ported to x32 yet. To work on this task, you will need to understand the x32 ABI, the pdf is here: https://sites.google.com/site/x32abi/documents/x32-abi-1.0.pdf?attredirects=0&amp;d=1 . And also you will need to understand valgrind source code. And as per the x32 EFI specifications you will need to add x32 support in valgrind. It is a not a quick task, and requires understanding of x32 EFI specifications, and inner-working of valgrind.

Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25798</commentid>
    <comment_count>12</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-09-26 16:01:45 +0000</bug_when>
    <thetext>(In reply to comment #10)
&gt; tried core-image-minimal and core-image-lsb but in both cases the build
&gt; blows up when eglibc is compiled.

Radu, Check with Saul, he was able to build x32 image lately.
- Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25817</commentid>
    <comment_count>13</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-09-27 00:31:58 +0000</bug_when>
    <thetext>Radu,
  Are you building with the meta-x32 layer? FYI That layer is not needed anymore as it is collapsed into poky layer.

Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26003</commentid>
    <comment_count>14</comment_count>
    <who name="Song Liu">song.liu</who>
    <bug_when>2012-10-01 19:44:14 +0000</bug_when>
    <thetext>Moved to 1.4 as this seems to be too much an effort for 1.3 stabilization.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30178</commentid>
    <comment_count>15</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-02-27 15:37:06 +0000</bug_when>
    <thetext>@Nitin: Can you please provide Radu with the necessary steps to test this issue? Example: how did you get to that error output?

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31390</commentid>
    <comment_count>16</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-04-02 19:30:16 +0000</bug_when>
    <thetext>Here are the steps I took for this:

Add the requisite x32 enablers to your local.conf:

 DEFAULTTUNE = &quot;x86-64-x32&quot;
baselib = &quot;${@d.getVar(&apos;BASE_LIB_tune-&apos; + (d.getVar(&apos;DEFAULTTUNE&apos;, True) or &apos;INVALID&apos;), True) or &apos;lib&apos;}&quot;

bitbake valgrind

wait for it to fail!

I am getting a different failure than the configuration failure below, I am now seeing to get into the compile phase and fail with a missing file:

grind/3.8.1-r8/valgrind-3.8.1/coregrind/m_debugger.c:33:
| /srv/hdd/builds/x32/build/tmp/sysroots/qemux86-64/usr/include/gnu/stubs.h:10:27: fatal error: gnu/stubs-64.h: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34754</commentid>
    <comment_count>17</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-07-22 14:50:54 +0000</bug_when>
    <thetext>Should have the information to reproduce the failure now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71453</commentid>
    <comment_count>18</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2017-03-20 16:49:22 +0000</bug_when>
    <thetext>Please verify this is still an issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71465</commentid>
    <comment_count>19</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2017-03-20 17:36:35 +0000</bug_when>
    <thetext>Valgrind still does not seem to support x32:

| checking for diff -u... yes
| checking for a supported version of gcc... ok (6.2.0)
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... x86_64-oe-linux-gnux32
| checking for a supported CPU... ok (x86_64)
| checking for a 64-bit only build... no
| checking for a 32-bit only build... yes
| checking for a supported OS... ok (linux-gnux32)
| checking for the kernel version... 2.6 or later (3.13.0-24-generic)
| checking for 32 bit build support... no
| configure: error: --enable-only32bit was specified but system does not support 32 bit builds
| ERROR: Function failed: do_configure (log file is located at /data/kergoth/mel/yocto/memory-profiling/build/tmp-glibc/work/core2-64-x32-oe-linux-gnux32/valgrind/3.12.0-r0/temp/log.do_configure.18181)
ERROR: Task (/data/kergoth/mel/yocto/memory-profiling/oe-core/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb:do_configure) failed with exit code &apos;1&apos;

That said, I&apos;m not sure adding support for it to the upstream project lies in our area of responsibility. We already have a COMPATIBLE_HOST so it&apos;s seen as unbuildable for x32. I&apos;m inclined to say we close this as resolved wontfix until such time as upstream supports it, or someone inclined to add such support shows up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76044</commentid>
    <comment_count>20</comment_count>
    <who name="sweeaun">swee.aun.khor</who>
    <bug_when>2017-08-22 01:28:12 +0000</bug_when>
    <thetext>Adding change to disable x32 build for musl library build. Closed this bug as wontfix for now. 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d654f4934d9c877167c69216aabb80ff75beff40</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>