<?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: bitbake u-boot-imx failed because undefined reference to __aeabi_d2iz</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309130#M177068</link>
    <description>&lt;P&gt;Hello Brant8484,&lt;/P&gt;
&lt;P&gt;__aeabi_d2iz lives in libgcc.a. libgcc.a must be linked *AFTER* libm.a.&lt;/P&gt;
&lt;P&gt;Adding "gcc" to the Linker | Libraries | Libraries pane after "m" fixed the problem.&lt;/P&gt;
&lt;P&gt;We had a -lgcc in the Miscellaneous Linker Flags pane, which apparently caused libgcc.a to be linked BEFORE libm.a.&lt;/P&gt;
&lt;P&gt;However please try the latest uboot is fully tested and works ok.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jul 2021 12:56:51 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2021-07-16T12:56:51Z</dc:date>
    <item>
      <title>bitbake u-boot-imx failed because undefined reference to __aeabi_d2iz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1308863#M177045</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added some code in my $UBOOT/board/freescale/mx6sabresd.c.&lt;/P&gt;&lt;P&gt;which is some calculation of double precision variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then when I build my u-boot-imx with "bitbake u-boot-imx"&lt;/P&gt;&lt;P&gt;following errors occurs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/MY-ROOT/uboot/board/freescale/mx6sabresd/mx6sabresd.c:2135: undefined reference to `__aeabi_d2iz'&lt;BR /&gt;arm-poky-linux-gnueabi-ld.bfd: /MY-ROOT/uboot/board/freescale/mx6sabresd/mx6sabresd.c:2135: undefined reference to `__aeabi_d2iz'&lt;BR /&gt;arm-poky-linux-gnueabi-ld.bfd: /MY-ROOT/uboot/board/freescale/mx6sabresd/mx6sabresd.c:2137: undefined reference to `__aeabi_dcmplt'&lt;BR /&gt;arm-poky-linux-gnueabi-ld.bfd: /MY-ROOT/uboot/board/freescale/mx6sabresd/mx6sabresd.c:2149: undefined reference to `__aeabi_dcmpgt'&lt;BR /&gt;arm-poky-linux-gnueabi-ld.bfd: /MY-ROOT/uboot/board/freescale/mx6sabresd/mx6sabresd.c:2143: undefined reference to `__aeabi_dcmplt'&lt;BR /&gt;arm-poky-linux-gnueabi-ld.bfd: /MY-ROOT/uboot/board/freescale/mx6sabresd/mx6sabresd.c:2149: undefined reference to `__aeabi_dcmpgt'&lt;BR /&gt;arm-poky-linux-gnueabi-ld.bfd: /MY-ROOT/uboot/board/freescale/mx6sabresd/mx6sabresd.c:2149: undefined reference to `__aeabi_dcmpgt'&lt;BR /&gt;make: *** [Makefile:1704: u-boot] Error 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the double precision calculation codes are copied from my earlier project in u-boot.2009.&lt;/P&gt;&lt;P&gt;and there was no problem with 2009 version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help with any suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 06:54:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1308863#M177045</guid>
      <dc:creator>TKayO</dc:creator>
      <dc:date>2021-07-16T06:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: bitbake u-boot-imx failed because undefined reference to __aeabi_d2iz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309130#M177068</link>
      <description>&lt;P&gt;Hello Brant8484,&lt;/P&gt;
&lt;P&gt;__aeabi_d2iz lives in libgcc.a. libgcc.a must be linked *AFTER* libm.a.&lt;/P&gt;
&lt;P&gt;Adding "gcc" to the Linker | Libraries | Libraries pane after "m" fixed the problem.&lt;/P&gt;
&lt;P&gt;We had a -lgcc in the Miscellaneous Linker Flags pane, which apparently caused libgcc.a to be linked BEFORE libm.a.&lt;/P&gt;
&lt;P&gt;However please try the latest uboot is fully tested and works ok.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:56:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309130#M177068</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2021-07-16T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: bitbake u-boot-imx failed because undefined reference to __aeabi_d2iz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309447#M177105</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I'm working with u-boot version lf_v2020.04.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added my Makefile (board/freescale/mx6sabresd/Makefile) like below,&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;LDFLAGS_mc6sabresd.o&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;:=&amp;nbsp;-lgcc&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;obj-y&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;:=&amp;nbsp;mx6sabresd.o&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;and there's no differences.&lt;/DIV&gt;&lt;DIV&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;&amp;nbsp;Can you help me with exact file name and modification point?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Jul 2021 05:06:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309447#M177105</guid>
      <dc:creator>TKayO</dc:creator>
      <dc:date>2021-07-19T05:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: bitbake u-boot-imx failed because undefined reference to __aeabi_d2iz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309530#M177112</link>
      <description>&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/how-to-use-float-operation-in-uboot-codes/m-p/1071182" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/how-to-use-float-operation-in-uboot-codes/m-p/1071182&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this topic says no floating point supported in u-boot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;also double precision?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 05:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309530#M177112</guid>
      <dc:creator>TKayO</dc:creator>
      <dc:date>2021-07-19T05:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: bitbake u-boot-imx failed because undefined reference to __aeabi_d2iz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309551#M177115</link>
      <description>&lt;P&gt;modified defconfig with&lt;/P&gt;&lt;P&gt;"# CONFIG_USE_PRIVATE_LIBGCC is not set"&lt;/P&gt;&lt;P&gt;then&amp;nbsp;&lt;/P&gt;&lt;P&gt;arm-poky-linux-gnueabi-ld.bfd: error: /home/brant/work/imx/bld-imx6dlsabresd-xwayland-full/_local/tool/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/10.2.0/libgcc.a(_udivmoddi4.o) uses VFP register arguments, u-boot does not&lt;BR /&gt;arm-poky-linux-gnueabi-ld.bfd: warning: /home/brant/work/imx/bld-imx6dlsabresd-xwayland-full/_local/tool/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/10.2.0/libgcc.a(_udivmoddi4.o) uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail&lt;BR /&gt;arm-poky-linux-gnueabi-ld.bfd: failed to merge target specific data of file /home/brant/work/imx/bld-imx6dlsabresd-xwayland-full/_local/tool/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/10.2.0/libgcc.a(_udivmoddi4.o)&lt;BR /&gt;make: *** [Makefile:1704: u-boot] Error 1&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 05:52:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309551#M177115</guid>
      <dc:creator>TKayO</dc:creator>
      <dc:date>2021-07-19T05:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: bitbake u-boot-imx failed because undefined reference to __aeabi_d2iz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309592#M177121</link>
      <description>&lt;P&gt;added "&lt;SPAN&gt;-mfpu=vfpv3&amp;nbsp;-mfloat-abi=hard"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;to&amp;nbsp;&lt;SPAN&gt;PLATFORM_RELFLAGS in config.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and now I have a warning..&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"arm-poky-linux-gnueabi-ld.bfd: warning: /home/brant/work/imx/bld-imx6dlsabresd-xwayland-full/_local/tool/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/10.2.0/libgcc.a(_udivmoddi4.o) uses 4-byte wchar_t yet the output is to use 2-byte wchar_t; use of wchar_t values across objects may fail"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Jul 2021 06:30:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1309592#M177121</guid>
      <dc:creator>TKayO</dc:creator>
      <dc:date>2021-07-19T06:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: bitbake u-boot-imx failed because undefined reference to __aeabi_d2iz</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1310122#M177165</link>
      <description>&lt;P&gt;Here's solution..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in arch/arm/config.mk&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# added the bold text part&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PLATFORM_RELFLAGS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;+=&amp;nbsp;-ffunction-sections&amp;nbsp;-fdata-sections&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-fno-common&amp;nbsp;-ffixed-r9&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-mfpu=neon&amp;nbsp;-mfloat-abi=hard&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;# and removed the bold text part&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PLATFORM_RELFLAGS&amp;nbsp;+=&amp;nbsp;&lt;STRONG&gt;$(call&amp;nbsp;cc-option,&amp;nbsp;-msoft-float)&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;$(&lt;/SPAN&gt;&lt;SPAN&gt;call&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;cc-option,-mshort-load-bytes,$(&lt;/SPAN&gt;&lt;SPAN&gt;call&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;cc-option,-malignment-traps,))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;in my defconfig&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;added below&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# CONFIG_USE_PRIVATE_LIBGCC is not set&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;this option effects the Makefile&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#&amp;nbsp;Add&amp;nbsp;GCC&amp;nbsp;lib&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ifeq&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN&gt;$(&lt;/SPAN&gt;&lt;SPAN&gt;CONFIG_USE_PRIVATE_LIBGCC&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;,y)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PLATFORM_LIBGCC&lt;/SPAN&gt;&lt;SPAN&gt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ubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bitbake-u-boot-imx-failed-because-undefined-reference-to-aeabi/m-p/1310122#M177165</guid>
      <dc:creator>TKayO</dc:creator>
      <dc:date>2021-07-20T02:15:31Z</dc:date>
    </item>
  </channel>
</rss>

