All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geoffrey Espin <espin@idiom.com>
To: Gerald Champagne <gerald.champagne@esstech.com>
Cc: "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
Subject: Re: link error with ramdisk file
Date: Fri, 28 Sep 2001 18:50:29 -0700	[thread overview]
Message-ID: <20010928185029.A89942@idiom.com> (raw)
In-Reply-To: <3BB5237F.9080203@esstech.com>; from Gerald Champagne on Fri, Sep 28, 2001 at 08:27:27PM -0500

Gerald,

> I'm getting the following error when creating a ramdisk on a big endian system:
> $ mips-linux-ld -T ld.script -b binary -o ramdisk.o ramdisk.gz
> mips-linux-ld: ramdisk.gz: compiled for a little endian system and target is big 
> endian
> File in wrong format: failed to merge target specific data of file ramdisk.gz

I recently had this mini-nightmare, too.  I don't recall exactly
what I did to eliminate it.  I'm now using:

    linux/arch/mips/philips/nino/ld.script

and my home-built linker:            :-)

    % mipsel-linux-ld -v
    GNU ld version 2.11.90 (with BFD 2.11.90)

I can't recall whether it was a bad linker, or wrong script, or something else.

What linker and script are you using?

At one stage I used:

    EXTRA_LDFLAGS = --no-warn-mismatch

as a work-around.  But now I've successfully disabled this.

Geoff
-- 
Geoffrey Espin espin@idiom.com

      reply	other threads:[~2001-09-29  1:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-29  1:27 link error with ramdisk file Gerald Champagne
2001-09-29  1:50 ` Geoffrey Espin [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=20010928185029.A89942@idiom.com \
    --to=espin@idiom.com \
    --cc=gerald.champagne@esstech.com \
    --cc=linux-mips@oss.sgi.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.