[mythtv-commits] Ticket #9916: Mythtv segfaults on ppc when the internal ffmpeg is compiled with -fPIC (default)

MythTV noreply at mythtv.org
Tue Jul 12 06:56:36 UTC 2011


#9916: Mythtv segfaults on ppc when the internal ffmpeg is compiled with -fPIC
(default)
---------------------------+------------------------------------
 Reporter:  kim@…          |           Type:  Bug Report - Crash
   Status:  new            |       Priority:  minor
Milestone:  unknown        |      Component:  MythTV - General
  Version:  Unspecified    |       Severity:  medium
 Keywords:  ppc            |  Ticket locked:  0
---------------------------+------------------------------------
 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

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9916>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list