<?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: Yocto Bitbake Glibc build fails</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1409854#M186703</link>
    <description>&lt;P&gt;I tried compiling glibc on another host computer. there was no error. It was compiled. Both host systems have the same version glibc package. Do you have any other recommendations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ubu@ubu-UC5:~/imx-yocto-bsp/maaxboard/build$ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1.4) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
ubu@ubu-UC5:~/imx-yocto-bsp/maaxboard/build$ ldd `which ls` | grep libc
	libc.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4dc7c38000)
ubu@ubu-UC5:~/imx-yocto-bsp/maaxboard/build$ /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1.4) stable release version 2.27.
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 7.5.0.
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
&amp;lt;https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs&amp;gt;.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 22:30:56 GMT</pubDate>
    <dc:creator>Tooght</dc:creator>
    <dc:date>2022-02-07T22:30:56Z</dc:date>
    <item>
      <title>Yocto Bitbake Glibc build fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1407182#M186508</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to build a Yocto image but the build fails when compiling glibc.&lt;BR /&gt;I ran this command:&lt;/P&gt;&lt;P&gt;bitbake lite-image&lt;/P&gt;&lt;P&gt;I get a compilation error as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;| /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/build-aarch64-poky-linux/nptl/libpthread_nonshared.a(pthread_atfork.oS): In function `__pthread_atfork':
| /usr/src/debug/glibc/2.27-r0/git/nptl/pthread_atfork.c:51: undefined reference to `__dso_handle'
| /usr/src/debug/glibc/2.27-r0/git/nptl/pthread_atfork.c:51: undefined reference to `__dso_handle'
| /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld: /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/build-aarch64-poky-linux/rt/librt.so: hidden symbol `__dso_handle' isn't defined
| /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
| ../Makerules:599: recipe for target '/media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/build-aarch64-poky-linux/rt/librt.so' failed
| make[2]: *** [/media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/build-aarch64-poky-linux/rt/librt.so] Error 1
| make[2]: Leaving directory '/media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/git/rt'
| Makefile:235: recipe for target 'rt/others' failed
| make[1]: *** [rt/others] Error 2
| make[1]: Leaving directory '/media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/git'
| Makefile:9: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /media/ubu/LocalDisk/yocto-test/maaxboard/build/tmp/work/aarch64-poky-linux/glibc/2.27-r0/temp/log.do_compile.9024)
ERROR: Task (/media/ubu/LocalDisk/yocto-test/sources/poky/meta/recipes-core/glibc/glibc_2.27.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 431 tasks of which 428 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /media/ubu/LocalDisk/yocto-test/sources/poky/meta/recipes-core/glibc/glibc_2.27.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Build Configuration:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "maaxboard-ddr4-2g-sdcard"
DISTRO               = "fsl-imx-wayland-lite"
DISTRO_VERSION       = "4.14-sumo"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta                 
meta-poky            = "HEAD:5ddf7fff992b065ee512878d2fe65f3e35d818cf"
meta-oe              
meta-multimedia      = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale       = "HEAD:86772601e7f6ea188dfaf64097edafc05e15aef3"
meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-maaxboard       = "sumo:c3e7f70181888748ded4c20d3bda6a947d639fe7"
meta-bsp             
meta-sdk             = "HEAD:1cbae2bed5b31eedcc96aec462fd3c66f42aeef6"
meta-browser         = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-networking      
meta-python          
meta-filesystems     = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-qt5             = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions?&lt;/P&gt;&lt;P&gt;I have already carried out some solutions as follows:&lt;/P&gt;&lt;P&gt;clean&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bitbake -c clean glibc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Compile the recipe&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bitbake -f -c compile glibc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;but this still produced the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 20:03:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1407182#M186508</guid>
      <dc:creator>Tooght</dc:creator>
      <dc:date>2022-02-01T20:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Bitbake Glibc build fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1407610#M186545</link>
      <description>&lt;P&gt;Hello Tooght,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like you have to fix the gibc in your host, since if you are making bitbake with libgc it takes the 64bit form toolchain, so lets fix it from the host.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 14:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1407610#M186545</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-02-01T14:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Bitbake Glibc build fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1407715#M186554</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;,&amp;nbsp; thanks for your quick reply. I still haven't caught what is the problem? Do you have any instructions or suggestions to fix it? What point should I focus on exactly?&lt;/P&gt;&lt;P&gt;I have installed the host yocto env. on my host comp. as the official board distributor&amp;nbsp;described.&lt;/P&gt;&lt;P&gt;Warm Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 18:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1407715#M186554</guid>
      <dc:creator>Tooght</dc:creator>
      <dc:date>2022-02-01T18:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Bitbake Glibc build fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1409854#M186703</link>
      <description>&lt;P&gt;I tried compiling glibc on another host computer. there was no error. It was compiled. Both host systems have the same version glibc package. Do you have any other recommendations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ubu@ubu-UC5:~/imx-yocto-bsp/maaxboard/build$ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1.4) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
ubu@ubu-UC5:~/imx-yocto-bsp/maaxboard/build$ ldd `which ls` | grep libc
	libc.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4dc7c38000)
ubu@ubu-UC5:~/imx-yocto-bsp/maaxboard/build$ /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1.4) stable release version 2.27.
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 7.5.0.
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
&amp;lt;https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs&amp;gt;.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 22:30:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1409854#M186703</guid>
      <dc:creator>Tooght</dc:creator>
      <dc:date>2022-02-07T22:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Bitbake Glibc build fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1433766#M188597</link>
      <description>&lt;P&gt;Hello Tooght,&lt;/P&gt;&lt;P&gt;I have the same problem.&amp;nbsp;&lt;SPAN&gt;I solved the problem by running&lt;/SPAN&gt;&lt;SPAN&gt; the build on an &lt;/SPAN&gt;&lt;SPAN&gt;ext4 &lt;/SPAN&gt;&lt;SPAN&gt;filesystem&lt;/SPAN&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I don't know why, but building glibc on &lt;/SPAN&gt;&lt;SPAN&gt;an NTFS filesystem&lt;/SPAN&gt;&lt;SPAN&gt; seems to cause the problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 02:14:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1433766#M188597</guid>
      <dc:creator>dfujita</dc:creator>
      <dc:date>2022-03-25T02:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Bitbake Glibc build fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1434410#M188644</link>
      <description>&lt;P&gt;Hi, that's great advice. I'll try it asap and reply you with results&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2022 11:42:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1434410#M188644</guid>
      <dc:creator>Tooght</dc:creator>
      <dc:date>2022-03-26T11:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Bitbake Glibc build fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1434810#M188677</link>
      <description>&lt;P&gt;Thanks for your great and helpful advice, yes it worked, I used to keep this project oe-source and sstate-cache files on the external hdd disk and its filesystem was ntfs, so firstly I changed its filesystem format from ntfs to ext4 and then run but it didn't work. After that, I changed the main yocto project location and built it on ext4 filesystem and worked,&lt;/P&gt;&lt;P&gt;Thanks a lot again. have a great day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 10:27:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1434810#M188677</guid>
      <dc:creator>Tooght</dc:creator>
      <dc:date>2022-04-05T10:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Bitbake Glibc build fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1434922#M188690</link>
      <description>&lt;P&gt;Thank you for the result. Honestly I'm not sure what solved the problem. I'm sorry I couldn't be helpful for you.&lt;/P&gt;&lt;P&gt;P.S. Glad to hear the problem is now solved.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 07:42:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1434922#M188690</guid>
      <dc:creator>dfujita</dc:creator>
      <dc:date>2022-05-19T07:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto Bitbake Glibc build fails</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1545540#M196967</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;&amp;nbsp; i am working on imx8mguf arm a53 core, when I try making the build there comes a glibc compilation error. No matter what I do , I have tried cleaning the glibc. And Ultimately I tried a classic yocto clean. but in vain..&lt;BR /&gt;&lt;BR /&gt;do you have any idea what might be the reason? My build is in ext4 partition and I cannot switch PCs. not a chance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stay Blessed.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 07:23:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Bitbake-Glibc-build-fails/m-p/1545540#M196967</guid>
      <dc:creator>umarFarooq-emb</dc:creator>
      <dc:date>2022-10-28T07:23:47Z</dc:date>
    </item>
  </channel>
</rss>

