Alpha arch development list
 help / color / mirror / Atom feed
From: Bob Tracy <rct@gherkin.frus.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Helge Deller <deller@gmx.de>, Matt Turner <mattst88@gmail.com>,
	linux-alpha <linux-alpha@vger.kernel.org>,
	Debian Alpha Mailing List <debian-alpha@lists.debian.org>,
	Michael Cree <mcree@orcon.net.nz>,
	Richard Henderson <rth@twiddle.net>
Subject: Re: [BUG] 4.9.0 build error on Alpha
Date: Sat, 31 Dec 2016 09:20:37 -0600	[thread overview]
Message-ID: <20161231152037.GA4896@gherkin.frus.com> (raw)
In-Reply-To: <alpine.LFD.2.20.1612310907560.1811@eddie.linux-mips.org>

On Sat, Dec 31, 2016 at 10:11:45AM +0000, Maciej W. Rozycki wrote:
> (...) 
>  You need to keep the `*(.alphalib)' line only, i.e. drop the first and 
> the last line added by the patch, as the output section statement and its 
> curly braces surrounding input section specifiers are already produced 
> elsewhere.
> (...)

Thought to try this, but, bad news.

With '.section .alphalib,"ax"' added to the top of "arch/alpha/lib/*.S"
(below opening comment block, if present, but prior to any include directives),
and the modified patch to "arch/alpha/kernel/vmlinux.lds.S", I now get
multiple relocation errors as follows:

  LD      init/built-in.o
arch/alpha/lib/lib.a(strcat.o): In function `strcat':
(.text+0x60): relocation truncated to fit: BRADDR against symbol `__stxcpy' defined in .text section in arch/alpha/lib/lib.a(stxcpy.o)
arch/alpha/lib/lib.a(strncat.o): In function `strncat':
(.text+0x60): relocation truncated to fit: BRADDR against symbol `__stxncpy' defined in .text section in arch/alpha/lib/lib.a(stxncpy.o)
drivers/built-in.o: In function `radeon_cs_parser_init.part.4':
drivers/gpu/drm/radeon/radeon_cs.o:(.text+0x119bd0): relocation truncated to fit: BRSGP against symbol `__copy_user' defined in .alphalib section in arch/alpha/lib/lib.a(copy_user.o)
drivers/gpu/drm/radeon/radeon_cs.o:(.text+0x119cd8): relocation truncated to fit: BRSGP against symbol `__copy_user' defined in .alphalib section in arch/alpha/lib/lib.a(copy_user.o)
drivers/gpu/drm/radeon/radeon_cs.o:(.text+0x119db4): relocation truncated to fit: BRSGP against symbol `__copy_user' defined in .alphalib section in arch/alpha/lib/lib.a(copy_user.o)
drivers/built-in.o: In function `radeon_cs_ioctl':
(.text+0x11aa28): relocation truncated to fit: BRSGP against symbol `__copy_user' defined in .alphalib section in arch/alpha/lib/lib.a(copy_user.o)
drivers/built-in.o: In function `radeon_cs_ioctl':
(.text+0x11aaf8): relocation truncated to fit: BRSGP against symbol `__copy_user' defined in .alphalib section in arch/alpha/lib/lib.a(copy_user.o)
drivers/built-in.o: In function `vga_arb_read':
drivers/gpu/vga/.tmp_vgaarb.o:(.text+0x215844): relocation truncated to fit: BRSGP against symbol `__copy_user' defined in .alphalib section in arch/alpha/lib/lib.a(copy_user.o)
drivers/built-in.o: In function `vga_arb_write':
drivers/gpu/vga/.tmp_vgaarb.o:(.text+0x2162c4): relocation truncated to fit: BRSGP against symbol `__copy_user' defined in .alphalib section in arch/alpha/lib/lib.a(copy_user.o)
drivers/built-in.o: In function `dma_buf_ioctl':
drivers/dma-buf/.tmp_dma-buf.o:(.text+0x233998): relocation truncated to fit: BRSGP against symbol `__copy_user' defined in .alphalib section in arch/alpha/lib/lib.a(copy_user.o)
drivers/built-in.o: In function `generic_ide_ioctl':
(.text+0x237c64): additional relocation overflows omitted from the output
Makefile:969: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

--Bob

  reply	other threads:[~2016-12-31 15:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-30  3:08 [BUG] 4.9.0 build error on Alpha Bob Tracy
2016-12-30  3:23 ` Matt Turner
2016-12-30  3:37   ` Bob Tracy
2016-12-30 16:02     ` Maciej W. Rozycki
2016-12-30 21:07       ` Helge Deller
2016-12-31  6:43         ` Bob Tracy
2016-12-31  7:20           ` Bob Tracy
2016-12-31 10:11             ` Maciej W. Rozycki
2016-12-31 15:20               ` Bob Tracy [this message]
2016-12-31 19:38                 ` Michael Cree
2016-12-31 21:09                   ` Bob Tracy
2017-01-01  1:23                 ` Maciej W. Rozycki
2017-01-01  3:32                   ` Bob Tracy
2017-01-01 20:29                     ` Bob Tracy
2017-01-03  0:15                       ` Bob Tracy
2017-01-12 12:52                         ` Maciej W. Rozycki

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=20161231152037.GA4896@gherkin.frus.com \
    --to=rct@gherkin.frus.com \
    --cc=debian-alpha@lists.debian.org \
    --cc=deller@gmx.de \
    --cc=linux-alpha@vger.kernel.org \
    --cc=macro@linux-mips.org \
    --cc=mattst88@gmail.com \
    --cc=mcree@orcon.net.nz \
    --cc=rth@twiddle.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