Skip to content
Prev 21016 / 63424 Next

Link error with glibc-2.4 on linux/PPC (PR#8967)

Does this system need -fPIC?

R cannot be expected to know the settings needed in config.site for all 
possible systems, and as you will see from the notes in configure.ac, 
ppc32 does not appear to need -fPIC according to the gcc documentation. 
Indeed, the manual INSTALL asked you to read says:

   Variables such as @env{CPICFLAGS} are determined where possible by
   @command{configure}.  Some systems allows two types of PIC flags, for
   example @samp{-fpic} and @samp{-fPIC}, and if they differ the first
   allows only a limited number of symbols in a shared library.  Since @R{}
   as a shared library has about 6200 symbols, if in doubt use the larger
   version.

and an issue discussed in the installation manual is hardly a bug.
On Mon, 12 Jun 2006, lu_zero at gentoo.org wrote: