[Ffmpeg-devel] build broken again...

Måns Rullgård mru
Mon May 9 19:53:51 CEST 2005


Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
>
> On Monday 09 May 2005 18:53, Fran?ois Revol wrote:
>> > Rich Felker <dalias at aerifal.cx> writes:
>> > > On Mon, May 09, 2005 at 02:32:11AM -0700, Jacob Meuser wrote:
>> > >> On Sun, May 08, 2005 at 12:35:09PM -0400, Rich Felker wrote:
>> > >> > On Sun, May 08, 2005 at 06:08:08PM +0200, Fran?ois Revol wrote:
>> > >> > > OPTFLAGS=-O3 -Wall -Wno-switch -DPIC -fomit-frame-pointer
>> > >> > >
>> > >> > > (with PIC of course)
>> > >> >
>> > >> > PIC does not work, afaik. Stop insisting on using it.
>> > >>
>> > >> PIC does work, and it is needed some places (ok, not if you don't
>> > >> use shared libraries, but that is another discussion/flame war).
>> > >
>> > > Exactly, not needed. Also, shared libraries work fine without PIC.
>> >
>> > Non-PIC shared libraries only work with some (dynamic) linkers.  I've
>> > seen quite a few that don't work.  Go ahead, tell me they suck.  I
>> > don't care.
>>
>> They would also force the loaders to use copies of text segments of
>> those instead of sharing the same if they are loaded twice or at
>> different locations.
>> Yes I know you have 2GB of RAM but not everyone has or can.
>
> -> they should be loaded at the same location in the virtual address
> space of every process

What if two libraries use the same address region?

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list