linux-mips
[Top] [All Lists]

Re: glibc problem

To: Andre.Messerschmidt@infineon.com
Subject: Re: glibc problem
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Thu, 26 Jul 2001 15:46:56 +0200
Cc: linux-mips@oss.sgi.com
In-reply-to: <86048F07C015D311864100902760F1DDFF0021@dlfw003a.dus.infineon.com>; from Andre.Messerschmidt@infineon.com on Thu, Jul 26, 2001 at 11:09:37AM +0200
References: <86048F07C015D311864100902760F1DDFF0021@dlfw003a.dus.infineon.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Thu, Jul 26, 2001 at 11:09:37AM +0200, Andre.Messerschmidt@infineon.com 
wrote:

> During compilation of glibc 2.2.3  I get the following error:
> Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file
> format
> 
> Someone in the archives meant that -D__PIC__ should be included to the
> CFLAGS to resolve this problem, but it seams that I am too dumb to do this. 
> I tried several locations to set the variable in the Makefiles and used the
> configparms file to set it, but nothing worked. Then I tried to define it in
> the file where the error occured, just to realize that there are more
> locations where this define is needed, so I reckon it would be the best to
> define it from the beginning.
> Can anybody tell me how to get it right? 

Adding -D__PIC__ is a kludge; the compiler should do it by default.  It
means you're using some non-Linux/MIPS compiler which you should replace.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • glibc problem, Andre . Messerschmidt
    • Re: glibc problem, Ralf Baechle <=