All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Wilson <wilson@specifix.com>
To: Claus Herrmann <claus.herrmann@cybits.de>
Cc: linux-mips@linux-mips.org
Subject: Re: Building a cross kernel for the IP27/Origin System
Date: Thu, 10 May 2007 12:00:35 -0700	[thread overview]
Message-ID: <1178823635.2740.6.camel@localhost.localdomain> (raw)
In-Reply-To: <4640911A.4080801@cybits.de>

On Tue, 2007-05-08 at 17:02 +0200, Claus Herrmann wrote:
> mips-linux-ld: Dwarf Error: found dwarf version '0', this reader only handles version 2 information.

When GNU ld prints an error message, it first looks to see if you
compiled with debug info, and if you did, it tries to read and parse the
debug info so it can pretty-print the error message with source file and
source line number info.  This makes it easier to figure out where the
problem is.  Unfortunately, this code sometimes fails.  The linker must
modify the debug info during the linking process by applying
relocations.  If we try to read the debug info at the wrong time, we may
get an inconsistent view of it, and may fail to read it correctly.  The
code is fail soft, so this is harmless, except that you get annoying
messages that make no sense to you.  Newer GNU ld versions handle this
much better than older GNU ld versions.  I suspect this is what is
happening in your case.

Just edit out the annoying and useless dwarf error messages, and you get

> arch/mips/mm/built-in.o: In function `mem_init':
> : multiple definition of `mem_init'
> arch/mips/sgi-ip27/built-in.o:: first defined here
> arch/mips/mm/built-in.o: In function `paging_init':
> : multiple definition of `paging_init'
> arch/mips/sgi-ip27/built-in.o:: first defined here

which is your real problem.  Looks like a problem with your mips kernel
configuration.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com

  reply	other threads:[~2007-05-10 19:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 15:02 Building a cross kernel for the IP27/Origin System Claus Herrmann
2007-05-10 19:00 ` Jim Wilson [this message]
2007-05-11  7:19   ` AW: " Claus Herrmann
2007-05-11  7:19     ` Claus Herrmann
2007-05-11 18:42     ` Jim Wilson

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=1178823635.2740.6.camel@localhost.localdomain \
    --to=wilson@specifix.com \
    --cc=claus.herrmann@cybits.de \
    --cc=linux-mips@linux-mips.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 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.