Opened 15 years ago
Closed 15 years ago
Last modified 14 years ago
#9916 closed Bug Report - Crash (fixed)
Mythtv segfaults on ppc when the internal ffmpeg is compiled with -fPIC (default)
| Reported by: | Owned by: | beirdo | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | MythTV - General | Version: | Unspecified |
| Severity: | medium | Keywords: | ppc |
| Cc: | Ticket locked: | no |
Description
mythfrontend will segfault when reading various streams (AAC, AC3 etc...) on linux/powerpc if compiled with a 'recent' version of gcc (>= 3.6). The reason is that the way global symbols are loaded in ffmpeg/libavcodec/ppc/fft_altivec_s.S and asm.S is not PIC compatible.
This affects all versions of mythtv on linux/ppc32 (tested with 0.23, 0.24, 0.24.1 and git head).
The following simple patch was applied to ffmpeg upstream and fixes the problem, please cherry pick it: http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d16394f972dca8cc5e5b5bf9ab0b343a6239b76
Change History (5)
comment:1 by , 15 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 15 years ago
| Milestone: | unknown → 0.25 |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
comment:3 by , 15 years ago
Hello, since this fix is really small could you also apply it to 0.24 please ? without it mythtv is unsable on powerpc32. Thanks.
comment:4 by , 15 years ago
| Milestone: | 0.25 → 0.24.2 |
|---|
Done. Commit 8bc2a66dd9e4927eb0931770f20ef56bbe792374.
It applied cleanly.

Fix PPC movrel issue in FFmpeg libs.
Fixes #9916
Cherry-picked from: http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d16394f972dca8cc5e5b5bf9ab0b343a6239b76
Signed-off-by: Michael Niedermayer <michaelni@…> Signed-off-by: Gavin Hurlbut <ghurlbut@…>