Bug 476441 - change paths for ffmpeg and x264 libs textrel exceptions
Summary: change paths for ffmpeg and x264 libs textrel exceptions
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 11
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-14 18:42 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2009-11-18 13:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-18 13:09:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dominik 'Rathann' Mierzejewski 2008-12-14 18:42:17 UTC
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?

Comment 1 Daniel Walsh 2008-12-15 16:25:56 UTC
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.

Comment 2 Dominik 'Rathann' Mierzejewski 2008-12-15 18:41:35 UTC
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
[...]

and

/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
[...]

Comment 3 Daniel Walsh 2008-12-15 20:28:26 UTC
Fixed in selinux-policy-3.5.13-35.fc10

Comment 4 Bug Zapper 2009-06-09 10:16:12 UTC
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:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.