<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Help compiling Valgrind</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275918#M30727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case you don’t mind the building system, try compiling a image with yocto, and choose 'fsl-image-gui-sdk' image, it is the most complete and has all dev tools, including valgrind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 May 2013 15:25:52 GMT</pubDate>
    <dc:creator>LeonardoSandova</dc:creator>
    <dc:date>2013-05-30T15:25:52Z</dc:date>
    <item>
      <title>Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275911#M30720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help as to the error being provided by LTIB on i.MX6:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;checking for gdb... /usr/bin/gdb&lt;/P&gt;&lt;P&gt;checking for a supported version of gcc... ok (arm-none-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) 4.6.2 20110630 (prerelease))&lt;/P&gt;&lt;P&gt;checking build system type... i686-pc-linux-gnu&lt;/P&gt;&lt;P&gt;checking host system type... arm-unknown-linux&lt;/P&gt;&lt;P&gt;checking for a supported CPU... no (arm)&lt;/P&gt;&lt;P&gt;configure: error: Unsupported host architecture. Sorry&lt;/P&gt;&lt;P&gt;error: Bad exit status from /home/tim/imx/ltib/ltib/tmp/rpm-tmp.10702 (%build)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 05:35:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275911#M30720</guid>
      <dc:creator>timothybean</dc:creator>
      <dc:date>2013-02-27T05:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275912#M30721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would you tell me which BSP are you using? which board are you using? and how to reproduce the issue? Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 06:37:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275912#M30721</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2013-03-29T06:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275913#M30722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BSP: Linux 4.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Board: Saberlite i.MXQ6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reproduce the problem:&lt;/P&gt;&lt;P&gt;./ltib -p valgrind&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Valgrind supports Arm starting from version 3.x why is it not building on ltib?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 10:27:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275913#M30722</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-05-29T10:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275914#M30723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; background-color: #ffffff;"&gt;I had to modify the configure script by replacing "armv7*" with "arm*".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; background-color: #ffffff;"&gt;T&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 11:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275914#M30723</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-05-29T11:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275915#M30724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the LTIB, the version of Valgrind is 3.3.1. The problem may due to the Valgrind version is too old. please try the latest version of Valgrind&amp;nbsp; (download from &lt;A href="http://valgrind.org/"&gt;http://valgrind.org/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Once you downloaded the latest source code from Valgrind, please save the source code package file in /opt/freescale/pkgs/.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then modify the ltib/dist/lfs-5.1/valgrind/valgrind.spec.&lt;/P&gt;&lt;P&gt;Change the version number and comment out the patches for 3.3.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the following ltib commands to build the Valgrind again.&lt;/P&gt;&lt;P&gt;./ltib -p valgrind -m prep&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (extract the source code to rpm/BUILD/)&lt;/P&gt;&lt;P&gt;./ltib -p valgrind -m scbuild&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (build the source code)&lt;/P&gt;&lt;P&gt;./ltib -p valgrind -m scdeploy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (install to rootfs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 03:44:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275915#M30724</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2013-05-30T03:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275916#M30725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I know that spec files is old. That's why I downloaded V3.8.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same problem .....!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 07:46:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275916#M30725</guid>
      <dc:creator>Tarek</dc:creator>
      <dc:date>2013-05-30T07:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275917#M30726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I search around in google. I found someone can build it.&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.galemin.com/2010/10/how-to-build-valgrind-3-6-0-for-beagleboard-xm-on-ubuntu/"&gt;http://blog.galemin.com/2010/10/how-to-build-valgrind-3-6-0-for-beagleboard-xm-on-ubuntu/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the name of arm used is "host=armv7-none-linux-gnueabi". seems it work, the configure can pass. Please try it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 09:27:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275917#M30726</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2013-05-30T09:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275918#M30727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case you don’t mind the building system, try compiling a image with yocto, and choose 'fsl-image-gui-sdk' image, it is the most complete and has all dev tools, including valgrind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 15:25:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275918#M30727</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-05-30T15:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275919#M30728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I too am interested in building -sdk &amp;amp; -dev for an imx6q sabrelite .&lt;/P&gt;&lt;P&gt;So far I only new of the existence of fsl-image-test &amp;amp; fsl-image-gui.&lt;/P&gt;&lt;P&gt;Now you mention fsl-image-gui-sdk. How can I verify if I have this recipy, because I am running:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;find . -type d -name fsl-image-gui-sdk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but I get no results back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this image equivalent to the images I mentioned before with the addition of &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN dir="ltr"&gt;EXTRA_IMAGE_FEATURES = "dbg-pkgs dev-pkgs tools-debug tools-profile tools-sdk debug-tweaks" &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN dir="ltr"&gt;in build/conf/local.conf ?&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN dir="ltr"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 14:29:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275919#M30728</guid>
      <dc:creator>synthnassizer</dc:creator>
      <dc:date>2013-05-31T14:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275920#M30729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran into the same problem. I WAS able to get it built, but had to get the latest version (at that time) of valgrind to get it to compile. I am not near it now but I can send version and my spec file if you would like. This was on LTIB-1.1.0 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to get it to compile and run properly as far as I can tell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 15:04:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275920#M30729</guid>
      <dc:creator>timothybean</dc:creator>
      <dc:date>2013-05-31T15:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275921#M30730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is on this path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it contains fsl-image-gui and extra image features as seen below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$ cat meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;include recipes-fsl/images/fsl-image-gui.bb&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IMAGE_FEATURES += " \&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dev-pkgs \&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tools-sdk \&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;EXTRA_IMAGE_FEATURES += " \&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tools-debug \&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tools-profile \&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tools-testapps \&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug-tweaks \&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;export IMAGE_BASENAME = "fsl-image-gui-sdk"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 15:30:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275921#M30730</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-05-31T15:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275922#M30731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Timothy,&lt;/P&gt;&lt;P&gt;I would be great to have version and spec file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;i.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 10:39:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275922#M30731</guid>
      <dc:creator>ieio</dc:creator>
      <dc:date>2013-12-12T10:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling Valgrind</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275923#M30732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jimmychan,&lt;BR /&gt;I followed the instructions in the link you provided. I added a case with "arm*" in the&amp;nbsp;configure file in "/LTIB/rpm/BUILD/valgrind-3.12.0/configure". I left "armv7*" in place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm*)&lt;BR /&gt; { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (${host_cpu})" &amp;gt;&amp;amp;5&lt;BR /&gt;$as_echo "ok (${host_cpu})" &amp;gt;&amp;amp;6; }&lt;BR /&gt; ARCH_MAX="arm"&lt;BR /&gt; ;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The compilation succeeded. I still have to test it in my iMX25. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maximum build arch: arm&lt;BR /&gt; Primary build arch: arm&lt;BR /&gt; Secondary build arch: &lt;BR /&gt; Build OS: linux&lt;BR /&gt; Primary build target: ARM_LINUX&lt;BR /&gt; Secondary build target: &lt;BR /&gt; Platform variant: vanilla&lt;BR /&gt; Primary -DVGPV string: -DVGPV_arm_linux_vanilla=1&lt;BR /&gt; Default supp files: exp-sgcheck.supp xfree-3.supp xfree-4.supp glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.X.supp&lt;/P&gt;&lt;P&gt;+ exit 0&lt;BR /&gt;Build time for valgrind: 18 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: The binary does not work. When it's run it says: "Illegal instruction".&amp;nbsp;:smileyconfused:&lt;/P&gt;&lt;P&gt;EDIT2: It looks like I cannot run valgrind on my iMX25 as it has no support for ARMv7 instructions:&lt;BR /&gt;&lt;A class="link-titled" href="http://stackoverflow.com/questions/4228339/valgrind-cross-compilation-for-armv5tel" title="http://stackoverflow.com/questions/4228339/valgrind-cross-compilation-for-armv5tel"&gt;embedded linux - Valgrind cross compilation for ARMv5tel - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;:smileycry:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 18:30:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Help-compiling-Valgrind/m-p/275923#M30732</guid>
      <dc:creator>SantiagoVillafu</dc:creator>
      <dc:date>2016-12-22T18:30:01Z</dc:date>
    </item>
  </channel>
</rss>

