public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: dhowells@redhat.com, sam@ravnborg.org,
	linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org
Subject: Re: binutils 2.18.50.0.8 frv build error
Date: Tue, 15 Jul 2008 06:20:05 -0700	[thread overview]
Message-ID: <20080715132005.GA6517@lucon.org> (raw)
In-Reply-To: <20080715121327.GA24533@cs181140183.pp.htv.fi>

On Tue, Jul 15, 2008 at 03:13:27PM +0300, Adrian Bunk wrote:
> Toolchain:
> - gcc 4.3.1
> - binutils 2.18.50.0.7 and 2.18.50.0.8
> - configured for frv-linux
> - kernel 2.6.26
> 
> Builds fine when using binutils 2.18.50.0.7,
> but fails as follows with binutils 2.18.50.0.8:
> 
> <--  snip  -->
> 
> ...
>   HOSTCC  scripts/kallsyms
>   CC      init/main.o
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   CC      init/do_mounts.o
>   LD      init/mounts.o
>   CC      init/noinitramfs.o
>   LD      init/built-in.o
> frv-linux-ld: init/mounts.o: compiled with -fpic and linked with modules that use non-pic relocations
> frv-linux-ld: failed to merge target specific data of file init/mounts.o
> make[2]: *** [init/built-in.o] Error 1
> 
> <--  snip  -->
> 
> Complete verbose log below.
> 
> Any hints what's going wrong?
> 
> cu
> Adrian
> 
> 

...

>    frv-linux-ld    -r -o init/built-in.o init/main.o init/version.o init/mounts.o init/noinitramfs.o 
> frv-linux-ld: init/mounts.o: compiled with -fpic and linked with modules that use non-pic relocations
> frv-linux-ld: failed to merge target specific data of file init/mounts.o
> make[1]: *** [init/built-in.o] Error 1
> make: *** [init] Error 2

This regression was introduced between 2008-05-02 10:10am and
2008-07-09 5:45pm PDT.  Does ld from binutils 2.18.50.0.7 work
on the same init/main.o init/version.o init/mounts.o
init/noinitramfs.o? If yes, please open a bug report at

http://www.sourceware.org/bugzilla/

with those .o files. If not, please find out why.

Thanks.



H.J.

  reply	other threads:[~2008-07-15 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 12:13 binutils 2.18.50.0.8 frv build error Adrian Bunk
2008-07-15 13:20 ` H.J. Lu [this message]
2008-07-15 13:47   ` Adrian Bunk
2008-07-15 14:00     ` H.J. Lu
2008-07-15 14:23       ` Adrian Bunk

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=20080715132005.GA6517@lucon.org \
    --to=hjl.tools@gmail.com \
    --cc=bunk@kernel.org \
    --cc=dhowells@redhat.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /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