[Ffmpeg-devel] [PATCH] AIX assembler breakage in libavutil/common.h

Derek E. Lewis dlewis
Sun Jun 11 14:31:57 CEST 2006

On Sun, 2006-06-11 at 04:41, Diego Biurrun wrote:
> gas or any other assembler that supports local labels.  This is the
> desirable solution.  We can then #ifdef the code with something like
> ASSEMBLER_SUPPORTS_LOCAL_LABELS (preferrably a less ugly name, though)
> and check for this in configure instead of conditionally compiling based
> on the detected operating system, which may or may not support the
> desired feature in any particular custom configuration.

Yes, this would be preferable; however, testing to see whether or not
the user's compiler supports local labels would be difficult, as we'd
have to have machine-specific code for every architecture to test this. 
This is not acceptable IMO, so a general test for every platform is out
of the question.

I'm beginning to think that we should just tell users that they must
recompile their gcc to use 'gas'.  We already do this in the Solaris
documentation within the MPlayer 'ports' section (I'm fairly certain
this isn't needed anymore, though).

Derek E. Lewis
dlewis at solnetworks.net

More information about the ffmpeg-devel mailing list