This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix libjava x86-64 multilib


On Wed, 2 Oct 2002, Jakub Jelinek wrote:
> On Wed, Oct 02, 2002 at 02:12:58AM -0300, Alexandre Oliva wrote:
> > On Oct  2, 2002, Andreas Jaeger <aj@suse.de> wrote:
> >
> > > And AFAIK ia64 needs -fPIC also for shared libs, so is the above
> > > really correct for these platforms?
> >
> > I'm not sufficiently familiar with ia64 to tell for sure.  The rule is
> > that, if the linker fails to link any form of non-PIC into a shared
> > library, then pass_all must not be used.
>
> powerpc needs -fPIC also for shared libs...

Also CRIS required a pic flag; ld emits errors for relocs in RO
sections in absence of it.  (-fPIC is ok, though -fpic is highly
recommended instead; max 8k symbols, glibc has ~2000.)  No
libjava yet, but I think this has drifted into a general libtool
issue.

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]