All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH 2/3] libqb: Add --enable-nosection-fallback with mips64/clang
Date: Wed, 18 Dec 2019 05:23:42 +0200	[thread overview]
Message-ID: <20191218032342.GB1997@localhost> (raw)
In-Reply-To: <20191218024810.2874990-2-raj.khem@gmail.com>

On Tue, Dec 17, 2019 at 06:48:09PM -0800, Khem Raj wrote:
> 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>
> ---
>  meta-oe/recipes-extended/libqb/libqb_1.0.5.bb | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> 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 b205186e0b..82503a168b 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"
>  # 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
>  # 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
>  # collect2: error: ld returned 1 exit status
> -EXTRA_OECONF_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' --enable-nosection-fallback', '', d)}"
> +NOSECTION_FALLBACK = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-nosection-fallback', '', d)}"
> +NOSECTION_FALLBACK_toolchain-clang_mips64 = "--enable-nosection-fallback"
>...

Removing these fragile linker tricks is the main change in the 1.9.0 
(pre-)release, upgrading might be a better option than collecting more
cases where the removed code broke.

cu
Adrian


  reply	other threads:[~2019-12-18  3:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18  2:48 [meta-multimedia][PATCH 1/3] tinyalsa: fix installation libdir path to match multilibs Khem Raj
2019-12-18  2:48 ` [meta-oe][PATCH 2/3] libqb: Add --enable-nosection-fallback with mips64/clang Khem Raj
2019-12-18  3:23   ` Adrian Bunk [this message]
2019-12-18  6:20     ` Khem Raj
2019-12-18  2:48 ` [meta-oe][PATCH 3/3] lcdproc: Upgrade to latest top of tree Khem Raj
2019-12-18 10:13 ` [meta-multimedia][PATCH 1/3] tinyalsa: fix installation libdir path to match multilibs Andreas Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191218032342.GB1997@localhost \
    --to=bunk@stusta.de \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.