[FFmpeg-devel] [PATCH] h264: assembly version of get_cabac for x86_64 with PIC (v5)

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Apr 21 20:58:29 CEST 2012

On Sat, Apr 21, 2012 at 08:26:02PM +0200, Guillaume POIRIER wrote:
> Hello,
> On Sat, Apr 21, 2012 at 5:51 PM, Roland Scheidegger
> <rscheidegger_lists at hispeed.ch> wrote:
> > v5: based on suggestion by Reimar Döffinger add LABEL_MANGLE macros. Should
> > hopefully fix compilation on Darwin (untested).
> On my machine, an Lion x86_64 Darwin, it doesn't compile/link :-(
> Here's part of the compile log:
> CC	libavcodec/h264_cabac.o
> {standard input}:15085:non-relocatable subtraction expression,
> "_ff_h264_norm_shift" minus "_ff_h264_decode_mb_cabac"
> {standard input}:15085:symbol: "_ff_h264_norm_shift" can't be
> undefined in a subtraction expression

Could you make gcc show the asm code and quote the lines around there?
Also, which gcc version is that?

More information about the ffmpeg-devel mailing list