Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] binutils: fix 'call8: call target out of range' xtensa ld bug
Date: Tue, 23 Sep 2014 21:57:21 +0200	[thread overview]
Message-ID: <20140923215721.214801d4@free-electrons.com> (raw)
In-Reply-To: <1411442609-24398-1-git-send-email-jcmvbkbc@gmail.com>

Dear Max Filippov,

On Tue, 23 Sep 2014 07:23:29 +0400, Max Filippov wrote:
> This fixes the following linux kernel build errors:
> 
>   LD      init/built-in.o
>   net/built-in.o: In function `raw_proc_exit':
>   (.init.text+0xe29): dangerous relocation:
> 		      call8: call target out of range: udp_proc_register
>   net/built-in.o: In function `udp_table_init':
>   (.init.text+0xf09): dangerous relocation:
> 		      call8: call target out of range: udp_proc_register
>   net/built-in.o: In function `inet_init':
>   af_inet.c:(.init.text+0x142e): dangerous relocation:
> 				 call8: call target out of range: udp4_proc_exit
>   net/built-in.o: In function `ip_auto_config':
>   ipconfig.c:(.init.text+0x28aa): dangerous relocation:
> 				  call8: call target out of range: arp_send
> 
> Backported from: 331ed1307b93d3ff77d248bdf2f7b79a20851457
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
> ---
>  ...-target-out-of-range-xtensa-ld-relaxation.patch | 79 ++++++++++++++++++++++
>  ...-target-out-of-range-xtensa-ld-relaxation.patch | 79 ++++++++++++++++++++++
>  ...-target-out-of-range-xtensa-ld-relaxation.patch | 79 ++++++++++++++++++++++
>  3 files changed, 237 insertions(+)
>  create mode 100644 package/binutils/2.22/904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch
>  create mode 100644 package/binutils/2.23.2/904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch
>  create mode 100644 package/binutils/2.24/904-Fix-call8-call-target-out-of-range-xtensa-ld-relaxation.patch

Thanks, patch applied. I have no idea what it does, but since it's an
upstream backport, and it touches only Xtensa stuff, I'm fine :)

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2014-09-23 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  3:23 [Buildroot] [PATCH] binutils: fix 'call8: call target out of range' xtensa ld bug Max Filippov
2014-09-23 19:57 ` Thomas Petazzoni [this message]

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=20140923215721.214801d4@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox