Subject: Re: -fPIC: any problems to be expected?
To: Todd Vierling <>
From: Ignatios Souvatzis <>
List: tech-toolchain
Date: 07/28/1998 21:59:49
On Tue, Jul 28, 1998 at 03:18:38PM -0400, Todd Vierling wrote:
> On Tue, 28 Jul 1998, Ignatios Souvatzis wrote:
> : Now, I think I remember some message that claims that mixing -fpic and -fPIC 
> : doesn't work on some architectures (was it sparc?), but I can't find it.
> That's correct.  sparc cannot mix -fPIC and -fpic /in the same shared
> object/, but it should be perfectly able to handle using a -fPIC-compiled
> library with a binary linked against a -fpic library.  It's the relocations
> used inside the library itself that matter.  Otherwise, losing your
> toolchain wouldn't be the problem - compatibility with old binaries (and
> losing your whole libc) would.

Doesn't the one imply the other? (gcc, ld, as, etc. are linked dynamically)
But as this isn't the case, this is no problem. You just have to make sure to 
not overwrite your libraries with a broken version.

Actually, to make sure we dont break people, we should bum the minor number