<?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>Layerscape中的主题 Re: flexbuild_lsdk2108 build error</title>
    <link>https://community.nxp.com/t5/Layerscape/flexbuild-lsdk2108-build-error/m-p/1369851#M9324</link>
    <description>&lt;P&gt;root@nxp:/home/user/flexbuild_lsdk2108# aarch64-linux-gnu-gcc -v&lt;BR /&gt;Using built-in specs.&lt;BR /&gt;COLLECT_GCC=aarch64-linux-gnu-gcc&lt;BR /&gt;COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/aarch64-linux-gnu/9/lto-wrapper&lt;BR /&gt;Target: aarch64-linux-gnu&lt;BR /&gt;Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --without-target-system-zlib --enable-libpth-m2 --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --includedir=/usr/aarch64-linux-gnu/include&lt;BR /&gt;Thread model: posix&lt;BR /&gt;gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2021 09:49:07 GMT</pubDate>
    <dc:creator>hongyuanz</dc:creator>
    <dc:date>2021-11-11T09:49:07Z</dc:date>
    <item>
      <title>flexbuild_lsdk2108 build error</title>
      <link>https://community.nxp.com/t5/Layerscape/flexbuild-lsdk2108-build-error/m-p/1369828#M9321</link>
      <description>&lt;P&gt;user@nxp:~/flexbuild_lsdk2108$ flex-builder -a arm64 -m ls1046ardb -b sd&lt;BR /&gt;MACHINE: ls1046ardb&lt;BR /&gt;BOOTTYPE: sd&lt;BR /&gt;MACHINE: ls1046ardb&lt;BR /&gt;BOOTTYPE: sd&lt;BR /&gt;Time of fetching repo: 2021年 11月 11日 星期四 17:11:09 CST&lt;BR /&gt;Flexbuild HEAD commit: 7cf369c Initial commit for LSDK-21.08 Release&lt;BR /&gt;Time of build: 2021年 11月 11日 星期四 17:11:09 CST&lt;BR /&gt;COMPONENT: linux-deb&lt;BR /&gt;SOCFAMILY: LS&lt;BR /&gt;make: Entering directory '/home/user/flexbuild_lsdk2108'&lt;BR /&gt;make[1]: Entering directory '/home/user/flexbuild_lsdk2108/packages/linux'&lt;BR /&gt;Building linux with LSDK-21.08&lt;BR /&gt;Compiler = aarch64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0&lt;BR /&gt;Total Config List = defconfig lsdk.config&lt;BR /&gt;make[2]: Entering directory '/home/user/flexbuild_lsdk2108/components/linux/linux'&lt;BR /&gt;make[3]: Entering directory '/home/user/flexbuild_lsdk2108/build/linux/linux/arm64/LS/output/LSDK-21.08'&lt;BR /&gt;In file included from /home/user/flexbuild_lsdk2108/components/linux/linux/include/linux/build-salt.h:4,&lt;BR /&gt;from /home/user/flexbuild_lsdk2108/components/linux/linux/init/version.c:11:&lt;BR /&gt;/home/user/flexbuild_lsdk2108/components/linux/linux/include/linux/elfnote.h:74:10: fatal error: opening dependency file init/.version.o.d: Permission denied&lt;BR /&gt;74 | struct elf##size##_note _nhdr; \&lt;BR /&gt;| ^~~&lt;BR /&gt;/home/user/flexbuild_lsdk2108/components/linux/linux/include/linux/elfnote.h:93:2: note: in expansion of macro ‘_ELFNOTE’&lt;BR /&gt;93 | _ELFNOTE(size, name, __LINE__, type, desc)&lt;BR /&gt;| ^~~~~~~~&lt;BR /&gt;/home/user/flexbuild_lsdk2108/components/linux/linux/include/linux/elfnote.h:95:37: note: in expansion of macro ‘ELFNOTE’&lt;BR /&gt;95 | #define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc)&lt;BR /&gt;| ^~~~~~~&lt;BR /&gt;/home/user/flexbuild_lsdk2108/components/linux/linux/include/linux/build-salt.h:16:8: note: in expansion of macro ‘ELFNOTE32’&lt;BR /&gt;16 | ELFNOTE32("Linux", LINUX_ELFNOTE_BUILD_SALT, CONFIG_BUILD_SALT)&lt;BR /&gt;| ^~~~~~~~~&lt;BR /&gt;/home/user/flexbuild_lsdk2108/components/linux/linux/init/version.c:55:1: note: in expansion of macro ‘BUILD_SALT’&lt;BR /&gt;55 | BUILD_SALT;&lt;BR /&gt;| ^~~~~~~~~~&lt;BR /&gt;compilation terminated.&lt;BR /&gt;make[4]: *** [/home/user/flexbuild_lsdk2108/components/linux/linux/scripts/Makefile.build:279: init/version.o] Error 1&lt;BR /&gt;make[3]: *** [/home/user/flexbuild_lsdk2108/components/linux/linux/Makefile:1821: init] Error 2&lt;BR /&gt;make[3]: *** Waiting for unfinished jobs....&lt;BR /&gt;make[3]: Leaving directory '/home/user/flexbuild_lsdk2108/build/linux/linux/arm64/LS/output/LSDK-21.08'&lt;BR /&gt;make[2]: *** [Makefile:185: __sub-make] Error 2&lt;BR /&gt;make[2]: Leaving directory '/home/user/flexbuild_lsdk2108/components/linux/linux'&lt;BR /&gt;make[1]: *** [kernel.mk:13: kernel] Error 2&lt;BR /&gt;make[1]: Leaving directory '/home/user/flexbuild_lsdk2108/packages/linux'&lt;BR /&gt;make: *** [Makefile:22: linux-deb] Error 2&lt;BR /&gt;make: Leaving directory '/home/user/flexbuild_lsdk2108'&lt;BR /&gt;user@nxp:~/flexbuild_lsdk2108$&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 09:12:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/flexbuild-lsdk2108-build-error/m-p/1369828#M9321</guid>
      <dc:creator>hongyuanz</dc:creator>
      <dc:date>2021-11-11T09:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: flexbuild_lsdk2108 build error</title>
      <link>https://community.nxp.com/t5/Layerscape/flexbuild-lsdk2108-build-error/m-p/1369841#M9322</link>
      <description>&lt;P&gt;Development environment oracle vm virtual machine ubuntu-20.04.3-desktop-amd64&lt;/P&gt;&lt;P&gt;Compile with root user and report the following error&lt;/P&gt;&lt;P&gt;root@nxp:/home/user/flexbuild_lsdk2108# source setup.env&lt;BR /&gt;root@nxp:/home/user/flexbuild_lsdk2108# flex-builder -a arm64 -m ls1046ardb -b sd&lt;BR /&gt;MACHINE: ls1046ardb&lt;BR /&gt;BOOTTYPE: sd&lt;BR /&gt;MACHINE: ls1046ardb&lt;BR /&gt;BOOTTYPE: sd&lt;BR /&gt;Time of fetching repo: 2021年 11月 11日 星期四 17:15:17 CST&lt;BR /&gt;Flexbuild HEAD commit: 7cf369c Initial commit for LSDK-21.08 Release&lt;BR /&gt;Time of build: 2021年 11月 11日 星期四 17:15:17 CST&lt;BR /&gt;COMPONENT: linux-deb&lt;BR /&gt;SOCFAMILY: LS&lt;BR /&gt;make: Entering directory '/home/user/flexbuild_lsdk2108'&lt;BR /&gt;make[1]: Entering directory '/home/user/flexbuild_lsdk2108/packages/linux'&lt;BR /&gt;Building linux with LSDK-21.08&lt;BR /&gt;Compiler = aarch64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0&lt;BR /&gt;Total Config List = defconfig lsdk.config&lt;BR /&gt;make[2]: Entering directory '/home/user/flexbuild_lsdk2108/components/linux/linux'&lt;BR /&gt;make[3]: Entering directory '/home/user/flexbuild_lsdk2108/build/linux/linux/arm64/LS/output/LSDK-21.08'&lt;BR /&gt;WARNING: modpost: EXPORT symbol "xfrm6_protocol_deregister" [vmlinux] version generation failed, symbol will not be versioned.&lt;BR /&gt;WARNING: modpost: EXPORT symbol "xfrm6_protocol_register" [vmlinux] version generation failed, symbol will not be versioned.&lt;BR /&gt;WARNING: modpost: EXPORT symbol "xfrm6_rcv_encap" [vmlinux] version generation failed, symbol will not be versioned.&lt;BR /&gt;aarch64-linux-gnu-ld: net/ipv6/xfrm6_protocol.o: relocation R_AARCH64_ABS32 against `__crc_xfrm6_rcv_encap' can not be used when making a shared object&lt;BR /&gt;net/ipv6/xfrm6_protocol.o:(.rodata+0x10): dangerous relocation: unsupported relocation&lt;BR /&gt;net/ipv6/xfrm6_protocol.o:(.rodata+0x18): dangerous relocation: unsupported relocation&lt;BR /&gt;net/ipv6/xfrm6_protocol.o:(.rodata+0x38): dangerous relocation: unsupported relocation&lt;BR /&gt;net/ipv6/xfrm6_protocol.o:(.rodata+0x40): dangerous relocation: unsupported relocation&lt;BR /&gt;net/ipv6/xfrm6_protocol.o:(.rodata+0x60): dangerous relocation: unsupported relocation&lt;BR /&gt;net/ipv6/xfrm6_protocol.o:(.rodata+0x68): dangerous relocation: unsupported relocation&lt;BR /&gt;net/ipv6/xfrm6_protocol.o:(.rodata+0xb8): dangerous relocation: unsupported relocation&lt;BR /&gt;make[3]: *** [/home/user/flexbuild_lsdk2108/components/linux/linux/Makefile:1178: vmlinux] Error 1&lt;BR /&gt;make[3]: Leaving directory '/home/user/flexbuild_lsdk2108/build/linux/linux/arm64/LS/output/LSDK-21.08'&lt;BR /&gt;make[2]: *** [Makefile:185: __sub-make] Error 2&lt;BR /&gt;make[2]: Leaving directory '/home/user/flexbuild_lsdk2108/components/linux/linux'&lt;BR /&gt;make[1]: *** [kernel.mk:13: kernel] Error 2&lt;BR /&gt;make[1]: Leaving directory '/home/user/flexbuild_lsdk2108/packages/linux'&lt;BR /&gt;make: *** [Makefile:22: linux-deb] Error 2&lt;BR /&gt;make: Leaving directory '/home/user/flexbuild_lsdk2108'&lt;BR /&gt;root@nxp:/home/user/flexbuild_lsdk2108#&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 09:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/flexbuild-lsdk2108-build-error/m-p/1369841#M9322</guid>
      <dc:creator>hongyuanz</dc:creator>
      <dc:date>2021-11-11T09:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: flexbuild_lsdk2108 build error</title>
      <link>https://community.nxp.com/t5/Layerscape/flexbuild-lsdk2108-build-error/m-p/1369851#M9324</link>
      <description>&lt;P&gt;root@nxp:/home/user/flexbuild_lsdk2108# aarch64-linux-gnu-gcc -v&lt;BR /&gt;Using built-in specs.&lt;BR /&gt;COLLECT_GCC=aarch64-linux-gnu-gcc&lt;BR /&gt;COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/aarch64-linux-gnu/9/lto-wrapper&lt;BR /&gt;Target: aarch64-linux-gnu&lt;BR /&gt;Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --without-target-system-zlib --enable-libpth-m2 --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=aarch64-linux-gnu --program-prefix=aarch64-linux-gnu- --includedir=/usr/aarch64-linux-gnu/include&lt;BR /&gt;Thread model: posix&lt;BR /&gt;gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 09:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/flexbuild-lsdk2108-build-error/m-p/1369851#M9324</guid>
      <dc:creator>hongyuanz</dc:creator>
      <dc:date>2021-11-11T09:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: flexbuild_lsdk2108 build error</title>
      <link>https://community.nxp.com/t5/Layerscape/flexbuild-lsdk2108-build-error/m-p/1369921#M9326</link>
      <description>&lt;P&gt;It looks like the LSDK 2108 is not completely installed on your Linux PC.&lt;/P&gt;
&lt;P&gt;Use the following command sequence for LSDK installing and building under Ubuntu 20:&lt;/P&gt;
&lt;P&gt;sudo apt update&lt;/P&gt;
&lt;P&gt;sudo apt -y upgrade&lt;/P&gt;
&lt;P&gt;sudo apt-get install git&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tar xvzf flexbuild_lsdk2108.tgz&lt;/P&gt;
&lt;P&gt;source setup.env&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;flex-builder -i mkrfs -a arm64&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;flex-builder -c linux -a arm64&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;flex-builder -i mkfw -m &lt;SPAN&gt;ls1046afrwy&lt;/SPAN&gt; -b sd&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 11:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/flexbuild-lsdk2108-build-error/m-p/1369921#M9326</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2021-11-11T11:53:38Z</dc:date>
    </item>
  </channel>
</rss>

