public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Shanti Katta <katta@csee.wvu.edu>
To: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Reg. sparc64 linker error
Date: 04 Jun 2002 16:14:26 -0400	[thread overview]
Message-ID: <1023221667.12878.68.camel@indus> (raw)

Hi,
I am trying to port user-mode-linux(uml) to Sparc64 arch. I am running a
custom built 2.4.18 kernel on debian (sid), Ultra 1 system. I have also
created static links sparc64-linux-ld and sparc64-linux-as. When I build
the uml sources, I am getting the following linker error:

gcc-3.0  -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -U__sparc64__
-Usparc64 -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow
-ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare
-Wa,--undeclared-regs -D__arch_um__ -DSUBARCH=\"sparc64\" -DNESTING=0
-D_LARGEFILE64_SOURCE  -I/home/shanti/UML/UMLSparc64/arch/um/include
-D_GNU_SOURCE -c -o unmap.o unmap.c
ld -r -o unmap_fin.o unmap.o -lc -L/usr/lib
ld: warning: sparc:v9 architecture of input file `unmap.o' is
incompatible with sparc output
ld: BFD 2.12.90.0.1 20020307 Debian/GNU Linux assertion fail
../../bfd/elflink.h:2817
ld: final link failed: Bad value

I am using gcc-3.0 with binuitls 2.12.90.0.0.1-5. When I tried using gcc
with egcs64, it gave me a bunch of parse errors. Hence, I switched to
gcc-3.0. But now, I have this linker error. Any pointers in this
direction would be appreciated.





             reply	other threads:[~2002-06-04 20:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-04 20:14 Shanti Katta [this message]
2002-06-04 23:54 ` Reg. sparc64 linker error Ben Collins
2002-06-05  0:18   ` Ben Collins

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=1023221667.12878.68.camel@indus \
    --to=katta@csee.wvu.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sparclinux@vger.kernel.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