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)
comment:1 by , 16 years ago
Owner: | changed from | to
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
Replying to andreasf:
in libavcodec/config.h you could try changing HAVE_EBX_AVAILABLE to 0 and let me know what that does to the build.