<?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: Compiling errors with gcc-5.2.0 from 4.1.15</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492016#M78985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I have tried your way, it is same.&lt;/P&gt;&lt;P&gt;The tool chain can compile one file, but it can not link more than 2 objective files together, always have link problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;/opt/poky/2.0.1/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crti.o: No such file or directory&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #51626f; font-family: inherit; font-weight: inherit;"&gt;/opt/poky/2.0.1/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld&lt;/EM&gt;: cannot find crtbeginS.o: No such file or directory&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Ivy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2016 19:34:09 GMT</pubDate>
    <dc:creator>ivyliu</dc:creator>
    <dc:date>2016-05-04T19:34:09Z</dc:date>
    <item>
      <title>Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492013#M78982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded and built Freescale release L4.1.15_1.0.0_ga&amp;nbsp; yocto project.&lt;/P&gt;&lt;P&gt;Everything works well for building kernel and uboot with gcc-5.2.0.&lt;/P&gt;&lt;P&gt;But it always reported link errors when I tried to compile a static library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;~/fsl-release-bsp/build-xwayland/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/ld: cannot find crti.o: No such file or directory&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;~/fsl-release-bsp/build-xwayland/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/ld: cannot find crtbeginS.o: No such file or directory&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cross-compile tools path is ~/fsl-release-bsp/build-xwayland/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;Is this arm-poky-linux-gnueabi-gcc 5.2.0 OK to use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ivy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 22:15:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492013#M78982</guid>
      <dc:creator>ivyliu</dc:creator>
      <dc:date>2016-05-02T22:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492014#M78983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used gcc 4.8.2 to build same library, it works fine.&lt;/P&gt;&lt;P&gt;Does gcc 5.2.0 support compiling userspace application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Ivy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 22:43:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492014#M78983</guid>
      <dc:creator>ivyliu</dc:creator>
      <dc:date>2016-05-02T22:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492015#M78984</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;&amp;nbsp; please try the following (as an example) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create the Toolchain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Build the tool chain image. It generates the toolchain that will be installed on your host&lt;/P&gt;&lt;P&gt;machine and used to build any source code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ cd workspace/yocto/imx-4.1.15-1.0.0_ga&lt;/P&gt;&lt;P&gt;$ source setup-environment build-x11&lt;/P&gt;&lt;P&gt;$ bitbake meta-toolchain&lt;/P&gt;&lt;P&gt;$ cd tmp/deploy/sdk&lt;/P&gt;&lt;P&gt;$./fsl-imx-x11-glibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-4.1.15-1.1.0.sh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Hello World.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ source /opt/fsl-imx-x11/4.1.15-1.1.0/environment-setup-cortexa9hf-vfp-neonpoky-linux-gnueabi&lt;/P&gt;&lt;P&gt;$ cd ~/test/&lt;/P&gt;&lt;P&gt;$ arm-poky-linux-gnueabi-gcc helloworld.c&lt;/P&gt;&lt;P&gt;$ ls&lt;/P&gt;&lt;P&gt;a.out helloworld.c&lt;/P&gt;&lt;P&gt;$ ./a.out&lt;/P&gt;&lt;P&gt;-bash: ./a.out: cannot execute binary file&lt;/P&gt;&lt;P&gt;$ file a.out&lt;/P&gt;&lt;P&gt;a.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked&lt;/P&gt;&lt;P&gt;(uses shared libs), for GNU/Linux 2.6.16, not stripped&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&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>Tue, 03 May 2016 03:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492015#M78984</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-05-03T03:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492016#M78985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I have tried your way, it is same.&lt;/P&gt;&lt;P&gt;The tool chain can compile one file, but it can not link more than 2 objective files together, always have link problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;/opt/poky/2.0.1/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crti.o: No such file or directory&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #51626f; font-family: inherit; font-weight: inherit;"&gt;/opt/poky/2.0.1/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld&lt;/EM&gt;: cannot find crtbeginS.o: No such file or directory&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Ivy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 19:34:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492016#M78985</guid>
      <dc:creator>ivyliu</dc:creator>
      <dc:date>2016-05-04T19:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492017#M78986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have read the Yocto document, you willl find &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html" title="http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html"&gt;Yocto Project Mega-Manual&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56790iD7B794FD5ECC8E1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 20:08:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492017#M78986</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-05-04T20:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492018#M78987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biyong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I have tried as the document mentioned.&lt;/P&gt;&lt;P&gt;But it did not work.&lt;/P&gt;&lt;P&gt;meta-toolchain does not have populate_sdk_ext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Ivy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 22:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492018#M78987</guid>
      <dc:creator>ivyliu</dc:creator>
      <dc:date>2016-05-06T22:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492019#M78988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the following ticket&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/389823"&gt;$CC  Statically compiled applications&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 May 2016 02:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492019#M78988</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-05-07T02:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492020#M78989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biyong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your step by step instructions.&lt;/P&gt;&lt;P&gt;But it still does not work.&lt;/P&gt;&lt;P&gt;I followed exactly what you did.&lt;/P&gt;&lt;P&gt;1. Building build folder&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp; #DISTRO=fsl-imx-x11 MACHINE=imx6qsabresd source fsl-setup-release.sh -b build-x11&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. Adding &lt;STRONG&gt;IMAGE_INSTALL_append = " glibc-staticdev"&lt;/STRONG&gt; to local.conf&lt;/P&gt;&lt;P&gt;3. Build the image&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;#bitbake metal-toolchain&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4. Install toolchain sdk after it is done,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #&lt;STRONG&gt; ls -l ~/IMX6-L4.1.15/fsl-release-bsp/build-x11/tmp/deploy/sdk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; total 110544&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -rw-r--r-- 1 ivyl ivyl&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9242 May&amp;nbsp; 9 11:38 fsl-imx-x11-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain- 4.1.15-1.1.0.host.manifest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -rwxr-xr-x 1 ivyl ivyl 113178725 May&amp;nbsp; 9 11:38 fsl-imx-x11-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-4.1.15-1.1.0.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -rw-r--r-- 1 ivyl ivyl&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1745 May&amp;nbsp; 9 11:37 fsl-imx-x11-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-4.1.15-1.1.0.target.manifest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; #cd tmp/deploy/sdk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; #./fsl-imx-x11-glibc-i686-meta-toolchain-cortexa9hf-vfp-neon-toolchain-4.1.15-1.1.0.sh&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;5. Setup the enviroment&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # ls -l /opt/fsl-imx-x11/4.1.15-1.1.0/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; total 60&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -rw-r--r-- 1 root root&amp;nbsp; 3305 May&amp;nbsp; 9 13:31 environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -rw-r--r-- 1 root root 47343 May&amp;nbsp; 9 13:31 site-config-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drwxr-xr-x 4 root root&amp;nbsp; 4096 May&amp;nbsp; 9 11:25 sysroots&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -rw-r--r-- 1 root root&amp;nbsp;&amp;nbsp; 135 May&amp;nbsp; 9 13:31 version-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;# source environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # echo $PATH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/bin:/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/bin/../i686-pokysdk-linux/bin:/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi:/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-uclibc:/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-musl:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And there are 3 groups cross-compile tools added&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arm-poky-linux-gnueabi-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arm-poky-linux-musl-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arm-poky-linux-uclibc-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to each of them to compile a helloworld file, all failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# arm-poky-linux-gnueabi-gcc -static -o hello hello.c -I/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/&amp;nbsp; -mfloat-abi=hard&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crt1.o: No such file or directory&lt;/P&gt;&lt;P&gt;/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crti.o: No such file or directory&lt;/P&gt;&lt;P&gt;/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crtbeginT.o: No such file or directory&lt;/P&gt;&lt;P&gt;/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find -lgcc&lt;/P&gt;&lt;P&gt;/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find -lgcc_eh&lt;/P&gt;&lt;P&gt;/opt/fsl-imx-x11/4.1.15-1.1.0/sysroots/i686-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find -lc&lt;/P&gt;&lt;P&gt;collect2: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried gcc-4.8.2 with IMX6 3.14.28 release, that one works fine.&lt;/P&gt;&lt;P&gt;Could you please help me to check what is wrong with this gcc-5.2.0?&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ivy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 22:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492020#M78989</guid>
      <dc:creator>ivyliu</dc:creator>
      <dc:date>2016-05-09T22:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492021#M78990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want it in SDK you popuated, please add the following line in the local.conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDKIMAGE_FEATURES += "staticdev-pkgs dev-pkgs"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 02:23:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492021#M78990</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-05-11T02:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492022#M78991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use SDKIMAGE_FEATURES_append also can work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_append = " eglibc-staticdev"&lt;/P&gt;&lt;P&gt;SDKIMAGE_FEATURES_append = " staticdev-pkgs"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 05:12:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492022#M78991</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-05-11T05:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492023#M78992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biyong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried both.&lt;/P&gt;&lt;P&gt;But neither works.&lt;/P&gt;&lt;P&gt;Does this version's gcc have any problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Ivy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 15:56:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492023#M78992</guid>
      <dc:creator>ivyliu</dc:creator>
      <dc:date>2016-05-13T15:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492024#M78993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have comfirmed the changes are working with 4.1.15 and gcc 5.2.0&amp;nbsp; before I replied to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; source&amp;nbsp; sdk_4_1_15/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;/P&gt;&lt;P&gt; $CC -v&lt;BR /&gt; Configured with:.......&lt;BR /&gt;...........&lt;/P&gt;&lt;P&gt;gcc version 5.2.0 (GCC)&lt;/P&gt;&lt;P&gt; $CC -static -o hello hello.c&lt;BR /&gt; file hello&lt;BR /&gt; hello: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=d9982f01435751f7e5a5ef1a9109a4d2559932f1, not stripped&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 02:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492024#M78993</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-05-16T02:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492025#M78994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biyong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply.&lt;/P&gt;&lt;P&gt;It did work!&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ivy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 17:25:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492025#M78994</guid>
      <dc:creator>ivyliu</dc:creator>
      <dc:date>2016-06-08T17:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with gcc-5.2.0 from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492026#M78995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also facing same issue with arm-poky-linux-gnueabi-gcc(5.2.0)&lt;/P&gt;&lt;P&gt;I tried the above mention procedure. Still I am facing same problem,but i am not getting this issue with arm-poky-linux-gnueabi-gcc 4.8.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/opt/sysroots/x86_64-oesdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crt1.o: No such file or directory&lt;BR /&gt;/opt/sysroots/x86_64-oesdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crti.o: No such file or directory&lt;BR /&gt;/opt/sysroots/x86_64-oesdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: cannot find crtbegin.o: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the exact procedure that you have followed, Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 12:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/492026#M78995</guid>
      <dc:creator>senthilkumar_s1</dc:creator>
      <dc:date>2016-08-31T12:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling errors with/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-  from 4.1.15</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/1196045#M166166</link>
      <description>&lt;P&gt;Hiii,&lt;/P&gt;&lt;P&gt;I followed same procedure still i am facing error like,&lt;/P&gt;&lt;P&gt;/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.2/ld: cannot find crtbegin.o: No such file or directory&lt;BR /&gt;/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/lib/libpthread.so: file not recognized: File format not recognized&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;can anyone help me out this&lt;/P&gt;&lt;P&gt;with Regards&lt;/P&gt;&lt;P&gt;pooja&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 06:07:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compiling-errors-with-gcc-5-2-0-from-4-1-15/m-p/1196045#M166166</guid>
      <dc:creator>pooja_todakar</dc:creator>
      <dc:date>2020-12-09T06:07:58Z</dc:date>
    </item>
  </channel>
</rss>

