[Top] [All Lists]

Re: glibc problem

Subject: Re: glibc problem
From: Ralf Baechle <>
Date: Thu, 26 Jul 2001 15:46:56 +0200
In-reply-to: <>; from on Thu, Jul 26, 2001 at 11:09:37AM +0200
References: <>
User-agent: Mutt/1.2.5i
On Thu, Jul 26, 2001 at 11:09:37AM +0200, 

> 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.


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