Red Hat Bugzilla – Bug 476441
change paths for ffmpeg and x264 libs textrel exceptions
Last modified: 2009-11-18 08:09:32 EST
Sorry to bother you, but I made some changes to ffmpeg and x264 packages in RPMFusion devel branch and the fixes you made for these bugs: bug 469992, bug 470682, bug 471878 and bug 474402 are going to be obsolete, because I moved the libs from /usr/lib/sse2 to /usr/lib/i686. Could you please change the paths in selinux-policy accordingly?
Can't you just build the libraries correctly so they don't need text relocation then I don't have to make any SELinux changes.
Whether it's incorrect to have textrels or not is a subject for debate. ;)
Anyway, x264 has intentionally dropped support for PIC on x86_32, so no, I can't unless someone steps up and offers to maintain a patch adding it back. As for FFmpeg libs, patches are welcome and I can promise I'll work with upstream to get them accepted. Currently, if I force FFmpeg to build with -fPIC, it fails:
/builddir/build/BUILD/ffmpeg-20081214/libswscale/rgb2rgb_template.c: In function 'rgb24toyv12_MMX':
/builddir/build/BUILD/ffmpeg-20081214/libswscale/rgb2rgb_template.c:2221: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
/builddir/build/BUILD/ffmpeg-20081214/libswscale/rgb2rgb_template.c:2148: error: 'asm' operand has impossible constraints
/builddir/build/BUILD/ffmpeg-20081214/libswscale/swscale_template.c: In function 'hcscale_MMX2':
/builddir/build/BUILD/ffmpeg-20081214/libswscale/swscale_template.c:2023: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
/builddir/build/BUILD/ffmpeg-20081214/libswscale/swscale_template.c:1919: error: 'asm' operand has impossible constraints
Fixed in selinux-policy-3.5.13-35.fc10
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here: