This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: 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


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