| Summary: | ffmpeg fails to build | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Bartłomiej Palmowski <rotwang> |
| Component: | Other | Assignee: | Gustavo Zacarias <gustavo> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | Fix ffmpeg build on low end x86 | ||
|
Description
Bartłomiej Palmowski
2011-02-24 11:55:33 UTC
(In reply to comment #0) > In file included from libavcodec/x86/dsputil_mmx.c:31:0: > libavcodec/x86/mmx.h:24:2: warning: #warning Everything in this header is > deprecated, use plain __asm__()! New code using this header will be rejected. > In file included from libavcodec/x86/dsputil_mmx.c:1772:0: > libavcodec/x86/h264dsp_mmx.c: In function 'put_h264_qpel4_h_lowpass_3dnow': > libavcodec/x86/h264dsp_mmx.c:2058:1: error: can't find a register in class > 'GENERAL_REGS' while reloading 'asm' > libavcodec/x86/h264dsp_mmx.c:2058:1: error: 'asm' operand has impossible > constraints > make[1]: *** [libavcodec/x86/dsputil_mmx.o] Error 1 > make[1]: Leaving directory `/mnt/usb/repos/buildroot/output/build/ffmpeg-0.5.3' > make: *** [/mnt/usb/repos/buildroot/output/build/ffmpeg-0.5.3/.stamp_built] > Error 2 this have similarities to https://bugs.busybox.net/show_bug.cgi?id=2839 So "try using gcc 4.3.x instead of the (experimental) 4.5.x, this will probably fix most of your constraint issues." I did as you suggested but it still doesn't work libavcodec/x86/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2': libavcodec/x86/dsputil_mmx.c:681: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' libavcodec/x86/dsputil_mmx.c:681: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' libavcodec/x86/dsputil_mmx.c:681: error: 'asm' operand has impossible constraints Created attachment 3031 [details]
Fix ffmpeg build on low end x86
Try the attached patch.
Committed Gustavo's fix, thanks |