linux-mips
[Top] [All Lists]

Re: failed to compile glibc 2.1.2 - BFD_RELOC_16_PCREL_S2 problem

To: Jun Sun <jsun@mvista.com>
Subject: Re: failed to compile glibc 2.1.2 - BFD_RELOC_16_PCREL_S2 problem
From: Ulf Carlsson <ulfc@calypso.engr.sgi.com>
Date: Mon, 24 Apr 2000 18:46:33 -0700 (PDT)
Cc: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr
In-reply-to: <3904E464.4B779CB1@mvista.com>
Sender: owner-linuxmips@oss.sgi.com
On Mon, 24 Apr 2000, Jun Sun wrote:

> 
> I am having this problem while I am trying to build glibc v2.1.2.  Does
> anybody know about this problem?  Do I need some MIPS patch for building
> this?  Thanks.

You can't use glibc 2.1.2 on MIPS, try glibc 2.2 from the official cvs tree
instead.  Andreas Jaeger posted an announcement for glibc 2.2 on MIPS to this
list last Friday with build instructions.

> BFD_RELOC_16_PCREL_S2 relocation in this object file format
> make[2]: *** [/root/rpm/BUILD/glibc-obj/setjmp/setjmp.o] Error 1

This is because it's not compiling as PIC.

Ulf


<Prev in Thread] Current Thread [Next in Thread>