<?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>topic Re: Cross_compile ISSUE in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418115#M62943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;according to the error message: "arm-linux-gnueabihf-gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together"&lt;/P&gt;&lt;P&gt;You are using both 'soft' and 'hard' floating point setting. &lt;/P&gt;&lt;P&gt;So you may use "-mfloat-abi=hard" only in the LTIB configuration. By default, the toolchain is using gcc-4.6.2. If you use a different compiler, you may need a new toolchain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2015 05:58:10 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2015-04-21T05:58:10Z</dc:date>
    <item>
      <title>Cross_compile ISSUE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418113#M62941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have the cross_compile is arm-linux-gnueabihf4.7. Now i use for LTIB to cross_compile ubuntu 12.04, now there is two error.&lt;/P&gt;&lt;P&gt;FIRST,when i carry on sudo ./ltib -c,&lt;/P&gt;&lt;P&gt;the error is :&lt;/P&gt;&lt;P&gt;+ make ARCH=arm CROSS_COMPILE= HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ oldconfig&lt;/P&gt;&lt;P&gt;scripts/kconfig/conf --oldconfig Kconfig&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# configuration written to .config&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;+ [ -f /home/znzx/Desktop/ltib/config/platform/imx/imx6_defconfig.dev ]&lt;/P&gt;&lt;P&gt;+ diff -q ./.config /home/znzx/Desktop/ltib/config/platform/imx/imx6_defconfig.dev&lt;/P&gt;&lt;P&gt;+ [ -n&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;+ grep -q VERSION = 2 Makefile&lt;/P&gt;&lt;P&gt;+ [ %{kernel_series} = 2.4 ]&lt;/P&gt;&lt;P&gt;+ make ARCH=arm CROSS_COMPILE= HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ uImage&lt;/P&gt;&lt;P&gt;scripts/kconfig/conf --silentoldconfig Kconfig&lt;/P&gt;&lt;P&gt;&amp;nbsp; CHK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; include/linux/version.h&lt;/P&gt;&lt;P&gt;&amp;nbsp; CHK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; include/generated/utsrelease.h&lt;/P&gt;&lt;P&gt;make[1]: `include/generated/mach-types.h' is up to date.&lt;/P&gt;&lt;P&gt;&amp;nbsp; CC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kernel/bounds.s&lt;/P&gt;&lt;P&gt;arm-linux-gnueabihf-gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together&lt;/P&gt;&lt;P&gt;make[1]: *** [kernel/bounds.s] Error 1&lt;/P&gt;&lt;P&gt;make: *** [prepare0] Error 2&lt;/P&gt;&lt;P&gt;make: *** Waiting for unfinished jobs....&lt;/P&gt;&lt;P&gt;&amp;nbsp; CC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scripts/mod/empty.o&lt;/P&gt;&lt;P&gt;arm-linux-gnueabihf-gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together&lt;/P&gt;&lt;P&gt;make[2]: *** [scripts/mod/empty.o] Error 1&lt;/P&gt;&lt;P&gt;make[1]: *** [scripts/mod] Error 2&lt;/P&gt;&lt;P&gt;make[1]: *** Waiting for unfinished jobs....&lt;/P&gt;&lt;P&gt;make: *** [scripts] Error 2&lt;/P&gt;&lt;P&gt;error: Bad exit status from /home/znzx/Desktop/ltib/tmp/rpm-tmp.39089 (%build)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RPM build errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bad exit status from /home/znzx/Desktop/ltib/tmp/rpm-tmp.39089 (%build)&lt;/P&gt;&lt;P&gt;Build time for kernel-3.0.35: 10 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed building kernel-3.0.35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_buildrpms() returned an error, exiting&lt;/P&gt;&lt;P&gt;traceback:&lt;/P&gt;&lt;P&gt; main:572&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Started: Fri Apr 17 14:54:31 2015&lt;/P&gt;&lt;P&gt;Ended:&amp;nbsp;&amp;nbsp; Fri Apr 17 14:55:25 2015&lt;/P&gt;&lt;P&gt;Elapsed: 54 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These packages failed to build:&lt;/P&gt;&lt;P&gt;kernel-3.0.35 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Build Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i cross_compile without build uboot and kernel .&lt;/P&gt;&lt;P&gt;there is another error:&lt;/P&gt;&lt;P&gt;+ [ -n&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;+ [ -f /home/znzx/Desktop/ltib/config/.config ]&lt;/P&gt;&lt;P&gt;+ cat /home/znzx/Desktop/ltib/config/.config&lt;/P&gt;&lt;P&gt;+ perl -ne print if m,^CONFIG_(?!PCF),&lt;/P&gt;&lt;P&gt;+ [ ! -f config/platform/imx/.config -a -f config/platform/imx/defconfig ]&lt;/P&gt;&lt;P&gt;+ [ -n&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;+ cd config/platform/imx&lt;/P&gt;&lt;P&gt;+ mconf main.lkc .config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*** End of configuration.&lt;/P&gt;&lt;P&gt;*** Check the top-level Makefile for additional configuration options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ cp .config defconfig.dev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing platform: Freescale iMX6x Based Boards&lt;/P&gt;&lt;P&gt;===================================================&lt;/P&gt;&lt;P&gt;using config/platform/imx/.config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing: fake-provides&lt;/P&gt;&lt;P&gt;===========================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing: skell&lt;/P&gt;&lt;P&gt;===================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing: base_libs&lt;/P&gt;&lt;P&gt;=======================&lt;/P&gt;&lt;P&gt;sudo /opt/freescale/ltib/usr/bin/rpm --root /home/znzx/Desktop/ltib/rootfs --dbpath /var/lib/rpm -e --allmatches --nodeps --define '_tmppath /tmp/ltib' base_libs 2&amp;gt;/dev/null&lt;/P&gt;&lt;P&gt;sudo /opt/freescale/ltib/usr/bin/rpm --root /home/znzx/Desktop/ltib/rootfs --dbpath /var/lib/rpm --prefix / --ignorearch -ivh --force --excludedocs --define '_tmppath /tmp/ltib' /home/znzx/Desktop/ltib/rpm/RPMS/arm/base_libs-1.2-1.arm.rpm&lt;/P&gt;&lt;P&gt;error: failed dependencies:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ld-linux.so.3(GLIBC_2.4)&amp;nbsp;&amp;nbsp; is needed by base_libs-1.2-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f_buildrpms() returned an error, exiting&lt;/P&gt;&lt;P&gt;traceback:&lt;/P&gt;&lt;P&gt; main:572&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Started: Fri Apr 17 14:56:45 2015&lt;/P&gt;&lt;P&gt;Ended:&amp;nbsp;&amp;nbsp; Fri Apr 17 14:56:59 2015&lt;/P&gt;&lt;P&gt;Elapsed: 14 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Build Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exiting on error or interrupt&lt;/P&gt;&lt;P&gt;znzx@ubuntu:~/Desktop/ltib$ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;someone can give some suggests?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 06:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418113#M62941</guid>
      <dc:creator>xiexp</dc:creator>
      <dc:date>2015-04-17T06:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cross_compile ISSUE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418114#M62942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is not person meet this question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2015 07:38:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418114#M62942</guid>
      <dc:creator>xiexp</dc:creator>
      <dc:date>2015-04-17T07:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cross_compile ISSUE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418115#M62943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;according to the error message: "arm-linux-gnueabihf-gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together"&lt;/P&gt;&lt;P&gt;You are using both 'soft' and 'hard' floating point setting. &lt;/P&gt;&lt;P&gt;So you may use "-mfloat-abi=hard" only in the LTIB configuration. By default, the toolchain is using gcc-4.6.2. If you use a different compiler, you may need a new toolchain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 05:58:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418115#M62943</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2015-04-21T05:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cross_compile ISSUE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418116#M62944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i get a new toolchain where is gcchf-4.7.while carry on the ./ltib -c ,it occur a problem like the arm-linux-gnueabihf-gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used togethe.&lt;/P&gt;&lt;P&gt;when i compile without kernel ,the promble whichi is ld-linux.so.3(GLIBC_2.4)&amp;nbsp;&amp;nbsp; is needed by base_libs-1.2-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 07:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418116#M62944</guid>
      <dc:creator>xiexp</dc:creator>
      <dc:date>2015-04-21T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cross_compile ISSUE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418117#M62945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you try -distclean first? or remove everything in rpm/BUILD/ ?&lt;/P&gt;&lt;P&gt;I tried to use the default toolchain gcc-4.6.2 with -mfloat-abi=hard. The build is fine without error. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 09:36:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418117#M62945</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2015-04-21T09:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cross_compile ISSUE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418118#M62946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah,when i follow the instruction without error, while when i instead of the compile ,the error is coming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 07:47:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-ISSUE/m-p/418118#M62946</guid>
      <dc:creator>xiexp</dc:creator>
      <dc:date>2015-04-22T07:47:04Z</dc:date>
    </item>
  </channel>
</rss>

