Opened 16 years ago

Closed 16 years ago

#3567 closed bug (fixed)

[libavcodec] Build broken since ffmpeg update

Reported by: andreasf Owned by: dlmcpaul
Priority: normal Milestone: R1
Component: Audio & Video/Codecs Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

The recent ffmpeg update seems to trigger a build failure with GCC4. The revision before the updates, hrev29533, builds okay.

Using hrev29546:

/home/andreas/Haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/cabac.h: In function 'get_cabac_noinline':
/home/andreas/Haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
/home/andreas/Haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/cabac.h: In function 'get_cabac':
/home/andreas/Haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
/home/andreas/Haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/h264_i386.h: In function 'decode_significance_x86':
/home/andreas/Haiku/haiku/src/add-ons/media/plugins/avcodec/libavcodec/x86/h264_i386.h:44: error: PIC register '%ebx' clobbered in 'asm'

Change History (2)

in reply to:  description comment:1 by dlmcpaul, 16 years ago

Owner: changed from marcusoverhagen to dlmcpaul

Replying to andreasf:

The recent ffmpeg update seems to trigger a build failure with GCC4. The revision before the updates, hrev29533, builds okay.

in libavcodec/config.h you could try changing HAVE_EBX_AVAILABLE to 0 and let me know what that does to the build.

comment:2 by stippi, 16 years ago

Resolution: fixed
Status: newclosed

Yes, this fixes it. Committed in hrev29557. Don't know if the produced avcodec plugin is fully functional, though. At least the GCC4 build is fixed. So I close this ticket.

Note: See TracTickets for help on using tickets.