<?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>P-SeriesのトピックRe: How to compile the (Customize)Rootfs without Stripped</title>
    <link>https://community.nxp.com/t5/P-Series/How-to-compile-the-Customize-Rootfs-without-Stripped/m-p/508191#M3161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debugging information is controlled by GCC -g flag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gcc.gnu.org/onlinedocs/gcc-4.3.1/gcc/Debugging-Options.html#Debugging-Options" title="https://gcc.gnu.org/onlinedocs/gcc-4.3.1/gcc/Debugging-Options.html#Debugging-Options"&gt;Debugging Options - Using the GNU Compiler Collection (GCC)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use CFLAGS_append or CFLAGS_prepend variable to add the flag.&lt;/P&gt;&lt;P&gt;You can probably define these variables in your local.conf&amp;nbsp; to add debug info to everything&lt;/P&gt;&lt;P&gt;in the rootfs, but this will mostly unnecessarily grow your filesystem. You can't debug everything, anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much better approach is to identify the packages you need to debug and add the variables mentioned above&lt;/P&gt;&lt;P&gt;to their recipes. More information can be found at the links below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-CFLAGS" title="http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-CFLAGS"&gt;Yocto Project Reference Manual&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#appending-and-prepending-override-style-syntax" title="https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#appending-and-prepending-override-style-syntax"&gt;https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#appending-and-prepending-override-sty…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#what-is-poky" title="https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#what-is-poky"&gt;https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#what-is-poky&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Dec 2015 17:15:03 GMT</pubDate>
    <dc:creator>bpe</dc:creator>
    <dc:date>2015-12-28T17:15:03Z</dc:date>
    <item>
      <title>How to compile the (Customize)Rootfs without Stripped</title>
      <link>https://community.nxp.com/t5/P-Series/How-to-compile-the-Customize-Rootfs-without-Stripped/m-p/508190#M3160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Freescale P1021 processor in our design, we are using SDK 1.7, I have found all the lib and bin got compiled in Rootfs are Stripped. &lt;/P&gt;&lt;P&gt;Please, let me know the procedure to compile Ustripped image [lib / bin] in Rootfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 14:38:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/How-to-compile-the-Customize-Rootfs-without-Stripped/m-p/508190#M3160</guid>
      <dc:creator>vevekvenkatesan</dc:creator>
      <dc:date>2015-12-28T14:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to compile the (Customize)Rootfs without Stripped</title>
      <link>https://community.nxp.com/t5/P-Series/How-to-compile-the-Customize-Rootfs-without-Stripped/m-p/508191#M3161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Debugging information is controlled by GCC -g flag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gcc.gnu.org/onlinedocs/gcc-4.3.1/gcc/Debugging-Options.html#Debugging-Options" title="https://gcc.gnu.org/onlinedocs/gcc-4.3.1/gcc/Debugging-Options.html#Debugging-Options"&gt;Debugging Options - Using the GNU Compiler Collection (GCC)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use CFLAGS_append or CFLAGS_prepend variable to add the flag.&lt;/P&gt;&lt;P&gt;You can probably define these variables in your local.conf&amp;nbsp; to add debug info to everything&lt;/P&gt;&lt;P&gt;in the rootfs, but this will mostly unnecessarily grow your filesystem. You can't debug everything, anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much better approach is to identify the packages you need to debug and add the variables mentioned above&lt;/P&gt;&lt;P&gt;to their recipes. More information can be found at the links below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-CFLAGS" title="http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-CFLAGS"&gt;Yocto Project Reference Manual&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#appending-and-prepending-override-style-syntax" title="https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#appending-and-prepending-override-style-syntax"&gt;https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#appending-and-prepending-override-sty…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#what-is-poky" title="https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#what-is-poky"&gt;https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#what-is-poky&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 17:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/How-to-compile-the-Customize-Rootfs-without-Stripped/m-p/508191#M3161</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2015-12-28T17:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to compile the (Customize)Rootfs without Stripped</title>
      <link>https://community.nxp.com/t5/P-Series/How-to-compile-the-Customize-Rootfs-without-Stripped/m-p/508192#M3162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Platon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for Testing, I have added the variable [ CFLAGS_append +=&amp;nbsp; " -g " ] in local.conf file under conf/ directory. Then, compiled the minimal fsl image as below,&lt;/P&gt;&lt;P&gt;"bitbake fsl-image-minimal"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still, I got the stripped binaries and libraries. &lt;/P&gt;&lt;P&gt;** 'nm' command / utility says no symbol found in the library.&lt;/P&gt;&lt;P&gt;Please let me know, If I missed any step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 10:42:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/How-to-compile-the-Customize-Rootfs-without-Stripped/m-p/508192#M3162</guid>
      <dc:creator>vevekvenkatesan</dc:creator>
      <dc:date>2015-12-29T10:42:40Z</dc:date>
    </item>
  </channel>
</rss>

