This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Patch to prepare for libtool update
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: pinskia at gmail dot com
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, bonzini at gnu dot org
- Date: Sun, 15 Apr 2007 09:21:42 -0700 (PDT)
- Subject: Re: Patch to prepare for libtool update
> Before we did not compile with -fPIC at all but now are trying to
> compile with -fPIC which fails when there are runtime relocations
> because right now spu-elf's loaders don't support runtime relocations.
>
> You can easy reproduce this bug with a cross to spu-elf.
>
> Thanks,
> Andrew Pinski
Do you configure with --disable-shared? I am trying to understand
if spu-elf supports shared libraries. If so, doesn't it need -fPIC?
If not, shouldn't --disable-shared be used and shouldn't that stop
the use of -fPIC?
Steve Ellcey
sje@cup.hp.com