[FFmpeg-devel] [PATCH 0/4] Some fixes for Sun Studio Express 11

Diego 'Flameeyes' Pettenò flameeyes
Fri Oct 3 11:13:41 CEST 2008

"Roman V. Shaposhnik" <rvs at sun.com> writes:

> On Thu, 2008-10-02 at 19:35 +0200, Diego 'Flameeyes' Petten? wrote:
> AFAIK, alignment of stack variables is only used in a couple of places
> throughout FFmpeg. And even that has a high chance of working
> (by accident) now.

I've seen quite a bit of warnings but they might as well be caused by
inline functions; I'll doublecheck.

>> I have a problem with the final linking of the ffmpeg binary though,
>> since Sun Studio Express has a very strange (and inconsistent)
>> behaviour (which I'm reporting through the Sun Bug Database as we
>> speak):
> Please CC me on the issues you're reporting. That might provide a
> quicker turn-around time.

If I had any idea how to CC you on the issue reported... for now I only
have internal review IDs...

>> it links in libdl when using dlopen() for a final executable (like
>> the one used for testing during configure), but it doesn't for
>> libraries (like libavformat).
> I wouldn't call inconsisten. That's actually expected. For shared
> libraries you generally want as little dependencies as possible
> or did I misinterpret what you are saying?

Yeah for shared libraries I'd be expecting not to have useless
dependencies (this is why --as-needed exists with GNU ld), but the point
here is that libraries are being built without linking to a (needed)
library but programs are not; it's not like I want to have pointless
dependencies in final executables.

Either it should be consistent (linking in libdl on both cases when
needed, or not) or it's going to be difficult to test whether libdl is
needed (since the linking test to dlopen with no extra library that is
present in FFmpeg will have false positive results), and shared
libraries will fail to build.

Diego "Flameeyes" Petten?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081003/8eefa683/attachment.pgp>

More information about the ffmpeg-devel mailing list