[Ffmpeg-devel] build broken again...

Michael Niedermayer michaelni
Tue May 10 03:36:33 CEST 2005


Hi

On Tuesday 10 May 2005 02:56, M?ns Rullg?rd wrote:
> Daniel Serpell <daniel_serpell at yahoo.com> writes:
> > Hi!
> >
> > El Mon, May 09, 2005 at 11:46:39PM +0200, M?ns Rullg?rd escribio:
> >> A non-PIC library, as the name implies, must be loaded a specific
> >> address in memory.  The first time it is mapped, a text relocation
> >> might fix the problem, but if another application needs the same
> >> library, and already has mapped something else at that location, there
> >> is nothing to be done, except making a new copy.
> >
> > Ah, seems you don't remember the "a.out" times, when distributions had
> > to select non-overlaping address ranges to the libraries, so each copy
> > could be shared. Common libraries had their addresses universally
> > assigned.
>
> I've seen attempts at such schemes in several old Unix versions.  In
> addition to being inconvenient, it is bound to fail if the total size
> of all libraries (on one system) should exceed the address space size.

not on one system but loaded at the same time, and having more libs loaded 
then there is address space (which is probably more then physical ram) sounds 
like a bad idea to me
about being inconvenient, well IMHO the address decission can and should be 
done during load time not link/compile time

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list