[haiku-development] Re: avcodec gcc4 build broken

2009/3/16 Michael Weirauch <dev@xxxxxxxxxxx>:
> Hi all,
>
> is somebody able to get the gcc4 build of avcodec/libavcodec going or is
> it just my local setup?
>
> src/add-ons/media/plugins/avcodec/libavcodec/cabac.h: In function
> 'get_cabac_noinline':
> src/add-ons/media/plugins/avcodec/libavcodec/cabac.h:527: error: PIC
> register '%ebx' clobbered in 'asm'
> src/add-ons/media/plugins/avcodec/libavcodec/cabac.h: In function
> 'get_cabac':
> src/add-ons/media/plugins/avcodec/libavcodec/cabac.h:527: error: PIC
> register '%ebx' clobbered in 'asm'
> src/add-ons/media/plugins/avcodec/libavcodec/x86/h264_i386.h: In
> function 'decode_significance_x86':
> src/add-ons/media/plugins/avcodec/libavcodec/x86/h264_i386.h:44: error:
> PIC register '%ebx' clobbered in 'asm'

in libavcodec/config.h you could try changing HAVE_EBX_AVAILABLE to 0

-- 
Cheers
David

Other related posts: