[Ffmpeg-devel] [PATCH] Intel Mac MMX/SSE2 support

Rich Felker dalias
Wed Jul 5 00:29:24 CEST 2006

On Tue, Jul 04, 2006 at 09:29:02PM +0200, Luca Barbato wrote:
> Rich Felker wrote:
> > On Sat, Jul 01, 2006 at 12:21:20PM +0100, M?ns Rullg?rd wrote:
> >> Rich Felker <dalias at aerifal.cx> writes:
> >>
> >>> On Fri, Jun 30, 2006 at 10:36:24AM +0100, M?ns Rullg?rd wrote:
> >>>> Michael Niedermayer said:
> >>>>
> >>>>> btw, how hard is it for mac-intel users to download and use non-apple gcc?
> >>>>> i mean does unmodified gcc work on mac-intel?
> >>>> This is an issue with gas, not gcc.  And no, stock binutils don't work on
> >>>> macintel.  Why, oh why, couldn't they just use ELF for their binaries?
> >>> Actually it's very good that they don't, since ELF sucks and the
> >> Would you care to elaborate a little on why ELF sucks so badly?
> > 
> > Here is a good starting point:
> > http://plan99.net/autopackage/Linux_Problems#elf
> [old issue now solved with --as-needed, the rest doesn't have basis shown]

Which issue is solved? IMO the one --as-needed addresses is the stupid
non-issue among all the issues presented there. The horrible big-O on
dynamic linking time is the primary issue. Using hidden symbols can
reduce the problem but it's just hiding the fact that the semantics
are fundamentally broken and that emulating static-link behavior at
runtime is an idiotic idea.

> > Other issues:
> > 
> [bitching about _old_ gnu implementations, sometimes pointing to
> interesting solutions, sometimes just flaming =)]
> I'd like to have something constructive out of it like your libc.
> Some of the issue you pointed are PAST, somebody tried to find a
> solution and it got implemented. Actually ELF is the best binary layout
> available, the implementation could be improved with little changes,
> isn't it? =)

No. The best binary layout available is Linux's version of a.out
(QMAGIC, which unlike some other versions is properly page aligned).
Surely a better one can be made however.


More information about the ffmpeg-devel mailing list