diff options
author | Jens Rehsack <sno@netbsd.org> | 2020-06-16 07:46:44 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-06-16 08:46:43 -0300 |
commit | 1225174ade0a685f58f94ba6534a19b8f64551c6 (patch) | |
tree | 00805263213ede5fd12817ef86a09e62c278e8a3 /recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb | |
parent | fa1844cc2e013240b37c6964bf6dea767ef90aa2 (diff) | |
download | meta-freescale-1225174ade0a685f58f94ba6534a19b8f64551c6.tar.gz |
u-boot-qoriq: fix bug with gcc10
Newer buildhost distributions as Fedora 32 come with GCC10+, which causes:
gcc -isystemtmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/usr/include -O2 -pipe -Ltmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/usr/lib -Ltmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/lib -Wl,-rpath,tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -o scripts/dtc/dtc scripts/dtc/dtc.o scripts/dtc/flattree.o scripts/dtc/fstree.o scripts/dtc/data.o scripts/dtc/livetree.o scripts/dtc/treesource.o scripts/dtc/srcpos.o scripts/dtc/checks.o scripts/dtc/util.o scripts/dtc/dtc-lexer.lex.o scripts/dtc/dtc-parser.tab.o
tmp/hosttools/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:106: scripts/dtc/dtc] Error 1
make[2]: *** [tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/git/scripts/Makefile.build:432: scripts/dtc] Error 2
make[1]: *** [tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/git/Makefile:528: scripts] Error 2
make[1]: Leaving directory 'tmp/work/lx2160acex7-poky-linux/u-boot-qoriq/2019.10+fslgit-r0/build/mdr_gt_tfa_defconfig
'Backporting' fix from mainline to this failure.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb b/recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb index 2fddabb8..571fadb7 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb | |||
@@ -22,6 +22,7 @@ SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;no | |||
22 | file://0001-binman-Convert-a-few-tests-to-Python-3.patch \ | 22 | file://0001-binman-Convert-a-few-tests-to-Python-3.patch \ |
23 | file://0001-binman-Move-to-use-Python-3.patch \ | 23 | file://0001-binman-Move-to-use-Python-3.patch \ |
24 | file://0001-buildman-Convert-to-Python-3.patch \ | 24 | file://0001-buildman-Convert-to-Python-3.patch \ |
25 | file://0001-Remove-redundant-YYLOC-global-declaration.patch \ | ||
25 | " | 26 | " |
26 | SRCREV= "1e55b2f9e7f56b76569089b9e950f49c1579580e" | 27 | SRCREV= "1e55b2f9e7f56b76569089b9e950f49c1579580e" |
27 | 28 | ||