diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-17 10:13:50 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-01-05 14:43:51 -0800 |
commit | 90c2a266f98fef55f73b3b89d8915b022fbf1a8a (patch) | |
tree | df61349b47b5776861148281a953417bfd896846 | |
parent | 22bec3b2606347b895adde3c154280a87e1f3f87 (diff) | |
download | meta-openembedded-90c2a266f98fef55f73b3b89d8915b022fbf1a8a.tar.gz |
libqb: Add --enable-nosection-fallback with mips64/clang
Same issue happens with clang/mips64 so extend the gold fix to cover for
this case
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit dd69fafd7f2c51fb69df66dbeae7f5a4b092580c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-extended/libqb/libqb_1.0.5.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb b/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb index b205186e0..82503a168 100644 --- a/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb +++ b/meta-oe/recipes-extended/libqb/libqb_1.0.5.bb | |||
@@ -22,9 +22,13 @@ S = "${WORKDIR}/git" | |||
22 | # WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld: error: conftest.ld: SECTIONS seen after other input files; try -T/--script | 22 | # WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld: error: conftest.ld: SECTIONS seen after other input files; try -T/--script |
23 | # WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld: internal error in write_sections, at ../../gold/reloc.cc:791 | 23 | # WORKDIR/libqb/1.0.3+gitAUTOINC+c235284b5f-r0/recipe-sysroot-native/usr/bin/i586-oe-linux/../../libexec/i586-oe-linux/gcc/i586-oe-linux/8.1.0/ld: internal error in write_sections, at ../../gold/reloc.cc:791 |
24 | # collect2: error: ld returned 1 exit status | 24 | # collect2: error: ld returned 1 exit status |
25 | EXTRA_OECONF_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' --enable-nosection-fallback', '', d)}" | 25 | NOSECTION_FALLBACK = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-nosection-fallback', '', d)}" |
26 | NOSECTION_FALLBACK_toolchain-clang_mips64 = "--enable-nosection-fallback" | ||
27 | |||
28 | EXTRA_OECONF += "${NOSECTION_FALLBACK}" | ||
26 | 29 | ||
27 | CFLAGS += "-pthread -D_REENTRANT" | 30 | CFLAGS += "-pthread -D_REENTRANT" |
31 | |||
28 | do_configure_prepend() { | 32 | do_configure_prepend() { |
29 | ( cd ${S} | 33 | ( cd ${S} |
30 | ${S}/autogen.sh ) | 34 | ${S}/autogen.sh ) |